diff options
author | Marcin Deranek <marcin.deranek@slonko.net> | 2024-06-05 08:24:27 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@slonko.net> | 2024-06-05 08:24:27 +0200 |
commit | 9e9c21519f4bd389c0a008e9e3decc016e84e992 (patch) | |
tree | be495dad30437aa74c9194b745bef355b3e9ce67 /media-gfx/img2pdf/img2pdf-0.5.1.ebuild | |
parent | cd8764c69b9d91351d83fbdbb06afbeff899a791 (diff) | |
download | portage-9e9c21519f4bd389c0a008e9e3decc016e84e992.tar.gz portage-9e9c21519f4bd389c0a008e9e3decc016e84e992.tar.bz2 portage-9e9c21519f4bd389c0a008e9e3decc016e84e992.zip |
media-gfx/img2pdf Already upstream
Diffstat (limited to 'media-gfx/img2pdf/img2pdf-0.5.1.ebuild')
-rw-r--r-- | media-gfx/img2pdf/img2pdf-0.5.1.ebuild | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/media-gfx/img2pdf/img2pdf-0.5.1.ebuild b/media-gfx/img2pdf/img2pdf-0.5.1.ebuild deleted file mode 100644 index 623b63c..0000000 --- a/media-gfx/img2pdf/img2pdf-0.5.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Losslessly convert raster images to PDF" -HOMEPAGE=" - https://gitlab.mister-muffin.de/josch/img2pdf/ - https://pypi.org/project/img2pdf/ -" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gui" - -BDEPEND=" - test? ( - app-text/ghostscript-gpl - app-text/mupdf - app-text/poppler[cairo,png,tiff] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pdfrw[${PYTHON_USEDEP}] - dev-python/pillow[tiff,${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - media-gfx/imagemagick[jpeg,jpeg2k,lcms,png,-q8,-q32,tiff] - media-libs/exiftool - media-libs/netpbm[jpeg] - sys-libs/libfaketime - ) -" -RDEPEND=" - dev-python/pikepdf[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - media-libs/icc-profiles-openicc - gui? ( $(python_gen_impl_dep tk) ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_python_prepare_all - - # Remove gui executable if there's no demand/support for it. - if ! use gui; then - sed -i -e '/gui_scripts/d' setup.py || die - fi -} - -src_test() { - local EPYTEST_DESELECT=( - # https://gitlab.mister-muffin.de/josch/img2pdf/issues/187 - src/img2pdf_test.py::test_miff_cmyk8 - ) - - if has_version 'media-gfx/imagemagick[hdri]'; then - # https://gitlab.mister-muffin.de/josch/img2pdf/issues/178 - EPYTEST_DESELECT+=( - src/img2pdf_test.py::test_miff_cmyk16 - ) - fi - - distutils-r1_src_test -} |