diff options
-rw-r--r-- | media-gfx/img2pdf/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/img2pdf/img2pdf-0.4.3.ebuild | 60 |
2 files changed, 0 insertions, 61 deletions
diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index 217dbc167e68..35ac654c914e 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,2 +1 @@ -DIST img2pdf-0.4.3.tar.gz 98656 BLAKE2B ec7be83fa7fc38f94c7770a2566a49a39e5fd0abb715de74fc3f65d59087cecdd009f4284e647facaf6ae019a118b4bedf7ce8d4a09b8479a299c8404a8940d5 SHA512 00755788c7380e44733c5a309428894b6689e93d4d7cca8f84681d12977848971a6b1a7c92c7203258a529894e7a0debb5beaeb6b375de769a0d600ea8d65423 DIST img2pdf-0.4.4.tar.gz 97796 BLAKE2B d04eae8c02490e4e73339dade92b2521ad410ed741ccc2987961543790589b14a5c8939cb9bbadcc795f5edcbb59a1a43bd522c75948f42dde1acffafb6266e0 SHA512 56943cd965b3e6b0680b7696ca4b5a2ba779474f945dd0d2648fb6f18ab18aab6d74640f9bd8e9c8683e3e641b0657cb84c691054910d84f0c9e8ad733f179e9 diff --git a/media-gfx/img2pdf/img2pdf-0.4.3.ebuild b/media-gfx/img2pdf/img2pdf-0.4.3.ebuild deleted file mode 100644 index 7900354a9775..000000000000 --- a/media-gfx/img2pdf/img2pdf-0.4.3.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Losslessly convert raster images to PDF" -HOMEPAGE="https://gitlab.mister-muffin.de/josch/img2pdf" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gui" - -# pytest-xdist isn't really required but it helps speed up tests -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/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - media-gfx/imagemagick[jpeg,jpeg2k,lcms,png,-q8,-q32,tiff] - media-libs/exiftool - media-libs/netpbm[jpeg] - ) -" -RDEPEND=" - dev-python/pikepdf[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - gui? ( $(python_gen_impl_dep tk) ) -" - -# gif animation test fails -PATCHES=( "${FILESDIR}"/${P}-test-gif-animation.patch ) - -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 '/gui_scripts/d' setup.py || die - fi - - # gif animation test fails - rm src/tests/input/animation.gif src/tests/output/animation.gif.pdf || die "rm animation gif failes" -} - -python_test() { - epytest -n auto -} |