[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 9f26c94466581a7c47bd6da6b228e628bce57daf Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 29 11:55:25 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 29 11:55:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f26c944 media-gfx/img2pdf: Stabilize 0.4.4-r1 ppc64, #904289 Signed-off-by: Arthur Zamarin gentoo.org> media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild index aa159a5d9b88..eb4877c3bc07 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://gitlab.mister-muffin.de/josch/img2pdf; LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="amd64 ~ppc64 x86" +KEYWORDS="amd64 ppc64 x86" IUSE="gui" # pytest-xdist isn't really required but it helps speed up tests
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: b965f62cd922647b007763643c619ef8dffa19b3 Author: Joonas Niilola gentoo org> AuthorDate: Fri Apr 14 06:49:09 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Apr 14 06:49:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b965f62c media-gfx/img2pdf: Stabilize 0.4.4-r1 x86, #904289 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild index 356a9c8b4aff..aa159a5d9b88 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://gitlab.mister-muffin.de/josch/img2pdf; LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="amd64 ~ppc64 ~x86" +KEYWORDS="amd64 ~ppc64 x86" IUSE="gui" # pytest-xdist isn't really required but it helps speed up tests
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 22cda42b3417fb7c86b096be4e18a81fee1c2751 Author: Joonas Niilola gentoo org> AuthorDate: Fri Apr 14 05:58:44 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Apr 14 05:58:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22cda42b media-gfx/img2pdf: Stabilize 0.4.4-r1 amd64, #904289 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild index c9aae044c372..356a9c8b4aff 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://gitlab.mister-muffin.de/josch/img2pdf; LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="amd64 ~ppc64 ~x86" IUSE="gui" # pytest-xdist isn't really required but it helps speed up tests
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 5128f011aebd2a68cbe490ab48350b545e191ca9 Author: Florian Schmaus gentoo org> AuthorDate: Thu Apr 13 21:14:41 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Thu Apr 13 21:14:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5128f011 media-gfx/img2pdf: revbump due to PEP517 Signed-off-by: Florian Schmaus gentoo.org> Reported-by: Sam James gentoo.org> media-gfx/img2pdf/{img2pdf-0.4.4.ebuild => img2pdf-0.4.4-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild similarity index 100% rename from media-gfx/img2pdf/img2pdf-0.4.4.ebuild rename to media-gfx/img2pdf/img2pdf-0.4.4-r1.ebuild
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/files/, media-gfx/img2pdf/
commit: 09eb1ca924df6b01fed6c6fe73b668b682ca60a0 Author: Florian Schmaus gentoo org> AuthorDate: Thu Apr 13 21:10:23 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Thu Apr 13 21:12:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09eb1ca9 media-gfx/img2pdf: fix tests Signed-off-by: Florian Schmaus gentoo.org> .../files/img2pdf-0.4.3-test-gif-animation.patch | 13 --- ...mg2pdf-0.4.4-Support-imagemagick-7.1.0-48.patch | 120 + media-gfx/img2pdf/img2pdf-0.4.4.ebuild | 12 +-- 3 files changed, 126 insertions(+), 19 deletions(-) diff --git a/media-gfx/img2pdf/files/img2pdf-0.4.3-test-gif-animation.patch b/media-gfx/img2pdf/files/img2pdf-0.4.3-test-gif-animation.patch deleted file mode 100644 index 459746455c9a.. --- a/media-gfx/img2pdf/files/img2pdf-0.4.3-test-gif-animation.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -r -U2 img2pdf-0.4.3.orig/src/img2pdf_test.py img2pdf-0.4.3/src/img2pdf_test.py img2pdf-0.4.3.orig/src/img2pdf_test.py 2021-10-24 20:46:53.0 +0700 -+++ img2pdf-0.4.3/src/img2pdf_test.py 2022-02-08 23:20:27.584463297 +0700 -@@ -5613,8 +5613,5 @@ - - --@pytest.mark.skipif( --sys.platform in ["win32"], --reason="test utilities not available on Windows and MacOS", --) -+@pytest.mark.skip(reason="gif animation test fails") - def test_gif_animation(tmp_path_factory, gif_animation_img, gif_animation_pdf): - tmpdir = tmp_path_factory.mktemp("gif_animation") diff --git a/media-gfx/img2pdf/files/img2pdf-0.4.4-Support-imagemagick-7.1.0-48.patch b/media-gfx/img2pdf/files/img2pdf-0.4.4-Support-imagemagick-7.1.0-48.patch new file mode 100644 index ..9ad23732e229 --- /dev/null +++ b/media-gfx/img2pdf/files/img2pdf-0.4.4-Support-imagemagick-7.1.0-48.patch @@ -0,0 +1,120 @@ +From 57d7e07e6badb252c12015388b58fcb5285d3158 Mon Sep 17 00:00:00 2001 +From: Johannes Schauer Marin Rodrigues +Date: Thu, 15 Sep 2022 04:36:16 +0200 +Subject: [PATCH] Support imagemagick 7.1.0-48 + + - the output of -metric PSNR changed + - CMYK output can now be exactly compared + +closes: #148 +--- a/src/img2pdf_test.py b/src/img2pdf_test.py +@@ -75,6 +75,7 @@ for prog in ["convert", "compare", "identify"]: + globals()[prog.upper()] = ["magick", prog] + + HAVE_IMAGEMAGICK_MODERN = True ++HAVE_EXACT_CMYK8 = True + try: + ver = subprocess.check_output(CONVERT + ["-version"], stderr=subprocess.STDOUT) + m = re.fullmatch( +@@ -82,13 +83,18 @@ try: + ) + if m is None: + HAVE_IMAGEMAGICK_MODERN = False ++HAVE_EXACT_CMYK8 = False + else: + if parse_version(m.group(1)) < parse_version("6.9.10-12"): + HAVE_IMAGEMAGICK_MODERN = False ++if parse_version(m.group(1)) < parse_version("7.1.0-48"): ++HAVE_EXACT_CMYK8 = False + except FileNotFoundError: + HAVE_IMAGEMAGICK_MODERN = False ++HAVE_EXACT_CMYK8 = False + except subprocess.CalledProcessError: + HAVE_IMAGEMAGICK_MODERN = False ++HAVE_EXACT_CMYK8 = False + + if not HAVE_IMAGEMAGICK_MODERN: + warnings.warn("imagemagick >= 6.9.10-12 not available, skipping certain checks...") +@@ -113,6 +119,12 @@ except subprocess.CalledProcessError: + if not HAVE_JP2: + warnings.warn("imagemagick has no jpeg 2000 support, skipping certain checks...") + ++# the result of compare -metric PSNR is either just a floating point value or a ++# floating point value following by the same value multiplied by 0.01, ++# surrounded in parenthesis since ImagemMagick 7.1.0-48: ++# https://github.com/ImageMagick/ImageMagick/commit/751829cd4c911d7a42953a47c1f73068d9e7da2f ++psnr_re = re.compile(rb"((?:inf|(?:0|[1-9][0-9]*)(?:\.[0-9]+)?))(?: \([0-9.]+\))?") ++ + ### + # HELPER FUNCTIONS # + ### +@@ -310,8 +322,8 @@ def write_png(data, path, bitdepth, colortype, palette=None, iccp=None): + + def compare(im1, im2, exact, icc, cmyk): + if exact: +-if cmyk: +-raise Exception("cmyk cannot be exact") ++if cmyk and not HAVE_EXACT_CMYK8: ++raise Exception("cmyk cannot be exact before ImageMagick 7.1.0-48") + elif icc: + raise Exception("icc cannot be exact") + else: +@@ -345,7 +357,10 @@ def compare(im1, im2, exact, icc, cmyk): + stderr=subprocess.PIPE, + ).stderr + assert psnr != b"0" +-psnr = float(psnr.strip(b"0")) ++assert psnr != b"0 (0)" ++assert psnr_re.fullmatch(psnr) is not None, psnr ++psnr = psnr_re.fullmatch(psnr).group(1) ++psnr = float(psnr) + assert psnr != 0 # or otherwise we would use the exact variant + assert psnr > 50 + +@@ -501,7 +516,9 @@ def compare_pdfimages_png(tmpdir,
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 6fa9285f04c43d4f528fbc2eb13045def613891e Author: Florian Schmaus gentoo org> AuthorDate: Thu Apr 13 20:39:42 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Thu Apr 13 20:56:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa9285f media-gfx/img2pdf: set DISTUTILS_USE_PEP517=setuptools Signed-off-by: Florian Schmaus gentoo.org> media-gfx/img2pdf/img2pdf-0.4.4.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild index bd99534ab490..693849783a82 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 111537527bdd2d6be57fac0307f918886aff683d Author: Florian Schmaus gentoo org> AuthorDate: Thu Apr 13 20:28:08 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Thu Apr 13 20:56:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11153752 media-gfx/img2pdf: enable py3.11 Closes: https://bugs.gentoo.org/896988 Signed-off-by: Florian Schmaus gentoo.org> media-gfx/img2pdf/img2pdf-0.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild index 1b42b2bc863c..bd99534ab490 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 8969da69d891b1a80607cfaa5c763ac7c3c49e40 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 16 16:04:03 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 16 18:50:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8969da69 media-gfx/img2pdf: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> media-gfx/img2pdf/img2pdf-0.4.4.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild index 980ab7f308e5..1b42b2bc863c 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild @@ -5,11 +5,10 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..10} ) -inherit distutils-r1 +inherit distutils-r1 pypi 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"
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 071f3f285ef7c82f18372fbb89668a474d0c1ef1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Dec 7 14:26:43 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Dec 16 08:08:17 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=071f3f28 media-gfx/img2pdf: drop 0.4.3 Signed-off-by: Andreas Sturmlechner gentoo.org> media-gfx/img2pdf/Manifest | 1 - media-gfx/img2pdf/img2pdf-0.4.3.ebuild | 60 -- 2 files changed, 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.. --- 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 -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 3ecf13ef7bab25e8c457f6a89e30bd2b40a348bd Author: Arthur Zamarin gentoo org> AuthorDate: Sun Nov 20 19:35:36 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Nov 20 19:35:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ecf13ef media-gfx/img2pdf: Keyword 0.4.4 ppc64, #865969 Signed-off-by: Arthur Zamarin gentoo.org> media-gfx/img2pdf/img2pdf-0.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild index 8787b8ffc761..660c7a1e5801 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~ppc64 ~x86" IUSE="gui" # pytest-xdist isn't really required but it helps speed up tests
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 02a51e2c04304d181889eb241509507e4ea4400f Author: Sam James gentoo org> AuthorDate: Fri Aug 26 12:03:15 2022 + Commit: Sam James gentoo org> CommitDate: Fri Aug 26 12:04:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02a51e2c media-gfx/img2pdf: reassign inactive proxied maintainer's packages Signed-off-by: Sam James gentoo.org> media-gfx/img2pdf/metadata.xml | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/media-gfx/img2pdf/metadata.xml b/media-gfx/img2pdf/metadata.xml index f6852412a419..ab909682d5c4 100644 --- a/media-gfx/img2pdf/metadata.xml +++ b/media-gfx/img2pdf/metadata.xml @@ -1,14 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - Thamognya Kodi - cont...@thamognya.com - - - proxy-ma...@gentoo.org - Proxy Maintainers - + Losslessly convert raster images to PDF. The file size will not
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 1c11b7ae6514df81caa03f4d72a5733da4deb6e7 Author: Joonas Niilola gentoo org> AuthorDate: Fri Jul 15 08:37:37 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Jul 15 08:38:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c11b7ae media-gfx/img2pdf: apply the correct patch for 0.4.4 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/img2pdf/img2pdf-0.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild index 7900354a9775..8787b8ffc761 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.4.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild @@ -39,7 +39,7 @@ RDEPEND=" " # gif animation test fails -PATCHES=( "${FILESDIR}"/${P}-test-gif-animation.patch ) +PATCHES=( "${FILESDIR}"/img2pdf-0.4.3-test-gif-animation.patch ) distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 328d1184cac7362bb0da22930f16cfbd7cb25ccc Author: Thamognya Kodi thamognya com> AuthorDate: Fri Jul 1 13:02:41 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Jul 15 08:38:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=328d1184 media-gfx/img2pdf: Bump to 0.4.4 Signed-off-by: Thamognya Kodi thamognya.com> Closes: https://github.com/gentoo/gentoo/pull/26188 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/img2pdf/Manifest | 1 + media-gfx/img2pdf/img2pdf-0.4.4.ebuild | 60 ++ media-gfx/img2pdf/metadata.xml | 9 - 3 files changed, 69 insertions(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index 39a137e9bdb8..217dbc167e68 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1 +1,2 @@ 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.4.ebuild b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild new file mode 100644 index ..7900354a9775 --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.4.4.ebuild @@ -0,0 +1,60 @@ +# 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 +} diff --git a/media-gfx/img2pdf/metadata.xml b/media-gfx/img2pdf/metadata.xml index ab909682d5c4..f6852412a419 100644 --- a/media-gfx/img2pdf/metadata.xml +++ b/media-gfx/img2pdf/metadata.xml @@ -1,7 +1,14 @@ https://www.gentoo.org/dtd/metadata.dtd;> - + + Thamognya Kodi + cont...@thamognya.com + + + proxy-ma...@gentoo.org + Proxy Maintainers + Losslessly convert raster images to PDF. The file size will not
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 01ae9d85049189db9c179f22d768a5ad5c94d25d Author: Sam James gentoo org> AuthorDate: Sun Apr 17 18:57:31 2022 + Commit: Sam James gentoo org> CommitDate: Sun Apr 17 19:00:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ae9d85 media-gfx/img2pdf: drop 0.4.1-r1 Signed-off-by: Sam James gentoo.org> media-gfx/img2pdf/Manifest| 2 - media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild | 63 --- 2 files changed, 65 deletions(-) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index 508fb8f29dc7..39a137e9bdb8 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,3 +1 @@ -DIST img2pdf-0.4.1-imagemagick-7-tests.patch.gz 2586 BLAKE2B 3d905b22c02fadf69e6329001cf7d6562d5809ba27842a5e630d87054979d953b641afb0b461f37bc9e379af808d0dc9e95478bdd5143047ea19d13d38e04593 SHA512 c9c5e88aea344a17bb57ff6b4540d7010537df0987cd3884e36220236753a42a71377468b556c17090ba22497a50c7d9365373aaeb007b75240ad55d21e9032a -DIST img2pdf-0.4.1.tar.gz 96699 BLAKE2B f5a41a3a3d1b1ae7caadab4f37df644ad28a3ef4bd7a56a339253f0aead4d2427f05373dcfd16b10d82a6167243b3b03906e9f95b7ae0dcdbea6a666905c45a2 SHA512 e71833250509d52b8782a8bc9e12a8de6ab7ae06d5e6e235c0b3787bfad1070b5ed90934b21e4decc9b2c7008eeb0424f9df27e44ec66259916d3a2fdb73d1f1 DIST img2pdf-0.4.3.tar.gz 98656 BLAKE2B ec7be83fa7fc38f94c7770a2566a49a39e5fd0abb715de74fc3f65d59087cecdd009f4284e647facaf6ae019a118b4bedf7ce8d4a09b8479a299c8404a8940d5 SHA512 00755788c7380e44733c5a309428894b6689e93d4d7cca8f84681d12977848971a6b1a7c92c7203258a529894e7a0debb5beaeb6b375de769a0d600ea8d65423 diff --git a/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild deleted file mode 100644 index 8568129c5e2e.. --- a/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 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 - https://dev.gentoo.org/~sbraz/${P}-imagemagick-7-tests.patch.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) ) -" - -distutils_enable_tests pytest - -PATCHES=( - # Backport: commits from 853a1ec3634961ec1ebd5a06771d2770037ea802 - # up to 152f6fb629581ab2f45a3b520f9468e99b0bc6b8 - "${WORKDIR}/${P}-imagemagick-7-tests.patch" -) - -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 -} - -python_test() { - epytest -n auto -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 6889753ccbc964be748f2f87dcfdb273dde1a09b Author: Andrey Grozin gentoo org> AuthorDate: Tue Feb 8 16:46:43 2022 + Commit: Andrey Grozin gentoo org> CommitDate: Tue Feb 8 16:46:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6889753c media-gfx/img2pdf: remove old ebuild Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrey Grozin gentoo.org> media-gfx/img2pdf/img2pdf-0.4.1.ebuild | 50 -- 1 file changed, 50 deletions(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.1.ebuild deleted file mode 100644 index b4b9173611f3.. --- a/media-gfx/img2pdf/img2pdf-0.4.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -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" - -# missing dev-python/pdfrw dependency and -# require old version of imagemagick -# waiting new version -RESTRICT="test" - -#BDEPEND="test? ( -# dev-python/numpy[${PYTHON_USEDEP}] -# dev-python/pdfrw[${PYTHON_USEDEP}] -# dev-python/pikepdf[${PYTHON_USEDEP}] -# dev-python/pytest[${PYTHON_USEDEP}] -# dev-python/scipy[${PYTHON_USEDEP}] -#
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/, media-gfx/img2pdf/files/
commit: 0d106d18853c1f4b26ab99b4419aa8280cb3efb1 Author: Andrey Grozin gentoo org> AuthorDate: Tue Feb 8 16:44:47 2022 + Commit: Andrey Grozin gentoo org> CommitDate: Tue Feb 8 16:44:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d106d18 media-gfx/img2pdf: bump to 0.4.3 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrey Grozin gentoo.org> media-gfx/img2pdf/Manifest | 1 + .../files/img2pdf-0.4.3-test-gif-animation.patch | 13 + media-gfx/img2pdf/img2pdf-0.4.3.ebuild | 60 ++ 3 files changed, 74 insertions(+) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index bc68121b7381..508fb8f29dc7 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,2 +1,3 @@ DIST img2pdf-0.4.1-imagemagick-7-tests.patch.gz 2586 BLAKE2B 3d905b22c02fadf69e6329001cf7d6562d5809ba27842a5e630d87054979d953b641afb0b461f37bc9e379af808d0dc9e95478bdd5143047ea19d13d38e04593 SHA512 c9c5e88aea344a17bb57ff6b4540d7010537df0987cd3884e36220236753a42a71377468b556c17090ba22497a50c7d9365373aaeb007b75240ad55d21e9032a DIST img2pdf-0.4.1.tar.gz 96699 BLAKE2B f5a41a3a3d1b1ae7caadab4f37df644ad28a3ef4bd7a56a339253f0aead4d2427f05373dcfd16b10d82a6167243b3b03906e9f95b7ae0dcdbea6a666905c45a2 SHA512 e71833250509d52b8782a8bc9e12a8de6ab7ae06d5e6e235c0b3787bfad1070b5ed90934b21e4decc9b2c7008eeb0424f9df27e44ec66259916d3a2fdb73d1f1 +DIST img2pdf-0.4.3.tar.gz 98656 BLAKE2B ec7be83fa7fc38f94c7770a2566a49a39e5fd0abb715de74fc3f65d59087cecdd009f4284e647facaf6ae019a118b4bedf7ce8d4a09b8479a299c8404a8940d5 SHA512 00755788c7380e44733c5a309428894b6689e93d4d7cca8f84681d12977848971a6b1a7c92c7203258a529894e7a0debb5beaeb6b375de769a0d600ea8d65423 diff --git a/media-gfx/img2pdf/files/img2pdf-0.4.3-test-gif-animation.patch b/media-gfx/img2pdf/files/img2pdf-0.4.3-test-gif-animation.patch new file mode 100644 index ..459746455c9a --- /dev/null +++ b/media-gfx/img2pdf/files/img2pdf-0.4.3-test-gif-animation.patch @@ -0,0 +1,13 @@ +diff -r -U2 img2pdf-0.4.3.orig/src/img2pdf_test.py img2pdf-0.4.3/src/img2pdf_test.py +--- img2pdf-0.4.3.orig/src/img2pdf_test.py 2021-10-24 20:46:53.0 +0700 img2pdf-0.4.3/src/img2pdf_test.py 2022-02-08 23:20:27.584463297 +0700 +@@ -5613,8 +5613,5 @@ + + +-@pytest.mark.skipif( +-sys.platform in ["win32"], +-reason="test utilities not available on Windows and MacOS", +-) ++@pytest.mark.skip(reason="gif animation test fails") + def test_gif_animation(tmp_path_factory, gif_animation_img, gif_animation_pdf): + tmpdir = tmp_path_factory.mktemp("gif_animation") diff --git a/media-gfx/img2pdf/img2pdf-0.4.3.ebuild b/media-gfx/img2pdf/img2pdf-0.4.3.ebuild new file mode 100644 index ..7900354a9775 --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.4.3.ebuild @@ -0,0 +1,60 @@ +# 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 +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: de2b98511fd601cd2ae6610c6000ae8a2134db14 Author: Jonas Stein gentoo org> AuthorDate: Sun Feb 6 11:15:31 2022 + Commit: Jonas Stein gentoo org> CommitDate: Sun Feb 6 11:18:31 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de2b9851 media-gfx/img2pdf: Maintainer retired Proxied maintainer retired due to inactivity. Bug: https://bugs.gentoo.org/633102 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jonas Stein gentoo.org> media-gfx/img2pdf/metadata.xml | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/media-gfx/img2pdf/metadata.xml b/media-gfx/img2pdf/metadata.xml index dae701da00f8..ab909682d5c4 100644 --- a/media-gfx/img2pdf/metadata.xml +++ b/media-gfx/img2pdf/metadata.xml @@ -1,14 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - sir.su...@gmail.com - Diogo Pereira - - - proxy-ma...@gentoo.org - Proxy Maintainers - + Losslessly convert raster images to PDF. The file size will not
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 49391271d94b4c526a1a613439672421f7c07628 Author: Louis Sautier gentoo org> AuthorDate: Sun Aug 22 16:36:09 2021 + Commit: Louis Sautier gentoo org> CommitDate: Sun Aug 22 16:43:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49391271 media-gfx/img2pdf: hopefully the final attempt at fixing test deps * Bit depth tests failures happen when ImageMagick is built with a quantum depth of 8 or 32 instead of 16. * ICC profile tests (test_png_icc) fail when ImageMagick lacks lcms support. * Some tests (test_general and test_tiff_gray1) need Pillow with tiff support. Closes: https://bugs.gentoo.org/809593 Signed-off-by: Louis Sautier gentoo.org> media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild index 1b3da90848e..8568129c5e2 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild @@ -27,9 +27,10 @@ BDEPEND=" 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,png,q8,q32,tiff] + media-gfx/imagemagick[jpeg,jpeg2k,lcms,png,-q8,-q32,tiff] media-libs/exiftool media-libs/netpbm[jpeg] )
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 0a8af8295615e0835cad01ec26f93f950c0dfd04 Author: Louis Sautier gentoo org> AuthorDate: Sun Aug 22 12:21:24 2021 + Commit: Louis Sautier gentoo org> CommitDate: Sun Aug 22 12:22:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8af829 media-gfx/img2pdf: try to fix test dependencies once again Closes: https://bugs.gentoo.org/809573 Signed-off-by: Louis Sautier gentoo.org> media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild index 3afdd5cf053..1b3da90848e 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild @@ -23,7 +23,8 @@ IUSE="gui" BDEPEND=" test? ( app-text/ghostscript-gpl - app-text/poppler[cairo] + app-text/mupdf + app-text/poppler[cairo,png,tiff] dev-python/numpy[${PYTHON_USEDEP}] dev-python/pdfrw[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: d01c56d292cf719e279b7fd0865a36637c42e31a Author: Louis Sautier gentoo org> AuthorDate: Sun Aug 22 10:57:15 2021 + Commit: Louis Sautier gentoo org> CommitDate: Sun Aug 22 11:03:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d01c56d2 media-gfx/img2pdf: try to fix test deps USE flags So that the commands which the tests need are actually present. Closes: https://bugs.gentoo.org/809506 Signed-off-by: Louis Sautier gentoo.org> media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild index 443efdfa6bd..3afdd5cf053 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild @@ -23,14 +23,14 @@ IUSE="gui" BDEPEND=" test? ( app-text/ghostscript-gpl - app-text/poppler + app-text/poppler[cairo] dev-python/numpy[${PYTHON_USEDEP}] dev-python/pdfrw[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] media-gfx/imagemagick[jpeg,jpeg2k,png,q8,q32,tiff] media-libs/exiftool - media-libs/netpbm + media-libs/netpbm[jpeg] ) " RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: ee9d36f9f57d7337972a5c61c37683d33e5b66d5 Author: Louis Sautier gentoo org> AuthorDate: Sun Aug 22 00:57:48 2021 + Commit: Louis Sautier gentoo org> CommitDate: Sun Aug 22 01:12:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9d36f9 media-gfx/img2pdf: enable py3.10, re-enable tests, fix deps Closes: https://bugs.gentoo.org/807969 Signed-off-by: Louis Sautier gentoo.org> media-gfx/img2pdf/Manifest| 1 + media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild | 61 +++ 2 files changed, 62 insertions(+) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index a3408876def..ec668cd8f7f 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,3 +1,4 @@ DIST img2pdf-0.3.6.tar.gz 91006 BLAKE2B ad89b42be4613c30383770f336b07773bf13e87061fca61eb7d5e25d6489662fc2bae94d9a6d61d531a77f41b9e94492d0db1f32570f6d471fa9f8cb0816630d SHA512 2a9d31b9de52123941fd650123a483f4dc0757edda304da994353b5f3167bddbb25fa1ed8fededcf859c5d07b65b9c2d5185000949002a68dcae1e7bf0f1547d DIST img2pdf-0.4.0.tar.gz 107027 BLAKE2B 0bf13e2d4a5aff68779130bc14100a5c6d1ac4eaca9da28ceb50104550b6e4331f6a2202514bcdac0480c0148794d18e9f2dd46ded68bbaa301a207460f91c85 SHA512 bab9ee6ef5273a686cb10e52bdeb62b6df3c0da99d0f0558677e07dc7ad776c2d62829a2f5e9c5639acfb9fc6e9c5e3a81aed42dc288c2a39d245775f1d4391b +DIST img2pdf-0.4.1-imagemagick-7-tests.patch.gz 2586 BLAKE2B 3d905b22c02fadf69e6329001cf7d6562d5809ba27842a5e630d87054979d953b641afb0b461f37bc9e379af808d0dc9e95478bdd5143047ea19d13d38e04593 SHA512 c9c5e88aea344a17bb57ff6b4540d7010537df0987cd3884e36220236753a42a71377468b556c17090ba22497a50c7d9365373aaeb007b75240ad55d21e9032a DIST img2pdf-0.4.1.tar.gz 96699 BLAKE2B f5a41a3a3d1b1ae7caadab4f37df644ad28a3ef4bd7a56a339253f0aead4d2427f05373dcfd16b10d82a6167243b3b03906e9f95b7ae0dcdbea6a666905c45a2 SHA512 e71833250509d52b8782a8bc9e12a8de6ab7ae06d5e6e235c0b3787bfad1070b5ed90934b21e4decc9b2c7008eeb0424f9df27e44ec66259916d3a2fdb73d1f1 diff --git a/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild new file mode 100644 index 000..443efdfa6bd --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.4.1-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 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 + https://dev.gentoo.org/~sbraz/${P}-imagemagick-7-tests.patch.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/poppler + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pdfrw[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + media-gfx/imagemagick[jpeg,jpeg2k,png,q8,q32,tiff] + media-libs/exiftool + media-libs/netpbm + ) +" +RDEPEND=" + dev-python/pikepdf[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + gui? ( $(python_gen_impl_dep tk) ) +" + +distutils_enable_tests pytest + +PATCHES=( + # Backport: commits from 853a1ec3634961ec1ebd5a06771d2770037ea802 + # up to 152f6fb629581ab2f45a3b520f9468e99b0bc6b8 + "${WORKDIR}/${P}-imagemagick-7-tests.patch" +) + +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 +} + +python_test() { + epytest -n auto +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: c9a86de486ed4cfecfa9020c0186aa33a4bd0d99 Author: Louis Sautier gentoo org> AuthorDate: Sun Aug 22 01:09:33 2021 + Commit: Louis Sautier gentoo org> CommitDate: Sun Aug 22 01:12:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a86de4 media-gfx/img2pdf: drop 0.3.6, 0.4.0 Signed-off-by: Louis Sautier gentoo.org> media-gfx/img2pdf/Manifest | 2 -- media-gfx/img2pdf/img2pdf-0.3.6.ebuild | 22 --- media-gfx/img2pdf/img2pdf-0.4.0.ebuild | 50 -- 3 files changed, 74 deletions(-) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index ec668cd8f7f..bc68121b738 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,4 +1,2 @@ -DIST img2pdf-0.3.6.tar.gz 91006 BLAKE2B ad89b42be4613c30383770f336b07773bf13e87061fca61eb7d5e25d6489662fc2bae94d9a6d61d531a77f41b9e94492d0db1f32570f6d471fa9f8cb0816630d SHA512 2a9d31b9de52123941fd650123a483f4dc0757edda304da994353b5f3167bddbb25fa1ed8fededcf859c5d07b65b9c2d5185000949002a68dcae1e7bf0f1547d -DIST img2pdf-0.4.0.tar.gz 107027 BLAKE2B 0bf13e2d4a5aff68779130bc14100a5c6d1ac4eaca9da28ceb50104550b6e4331f6a2202514bcdac0480c0148794d18e9f2dd46ded68bbaa301a207460f91c85 SHA512 bab9ee6ef5273a686cb10e52bdeb62b6df3c0da99d0f0558677e07dc7ad776c2d62829a2f5e9c5639acfb9fc6e9c5e3a81aed42dc288c2a39d245775f1d4391b DIST img2pdf-0.4.1-imagemagick-7-tests.patch.gz 2586 BLAKE2B 3d905b22c02fadf69e6329001cf7d6562d5809ba27842a5e630d87054979d953b641afb0b461f37bc9e379af808d0dc9e95478bdd5143047ea19d13d38e04593 SHA512 c9c5e88aea344a17bb57ff6b4540d7010537df0987cd3884e36220236753a42a71377468b556c17090ba22497a50c7d9365373aaeb007b75240ad55d21e9032a DIST img2pdf-0.4.1.tar.gz 96699 BLAKE2B f5a41a3a3d1b1ae7caadab4f37df644ad28a3ef4bd7a56a339253f0aead4d2427f05373dcfd16b10d82a6167243b3b03906e9f95b7ae0dcdbea6a666905c45a2 SHA512 e71833250509d52b8782a8bc9e12a8de6ab7ae06d5e6e235c0b3787bfad1070b5ed90934b21e4decc9b2c7008eeb0424f9df27e44ec66259916d3a2fdb73d1f1 diff --git a/media-gfx/img2pdf/img2pdf-0.3.6.ebuild b/media-gfx/img2pdf/img2pdf-0.3.6.ebuild deleted file mode 100644 index b706261bef3..000 --- a/media-gfx/img2pdf/img2pdf-0.3.6.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -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" - -BDEPEND="test? ( dev-python/pillow[${PYTHON_USEDEP},tiff,zlib] )" -RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" - -distutils_enable_tests setup.py diff --git a/media-gfx/img2pdf/img2pdf-0.4.0.ebuild b/media-gfx/img2pdf/img2pdf-0.4.0.ebuild deleted file mode 100644 index 03f64a2071d..000 --- a/media-gfx/img2pdf/img2pdf-0.4.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -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" - -# missing dev-python/pdfrw dependency and -# require old version of imagemagick -# waiting new version -RESTRICT="test" - -#BDEPEND="test? ( -# dev-python/numpy[${PYTHON_USEDEP}] -# dev-python/pdfrw[${PYTHON_USEDEP}] -# dev-python/pikepdf[${PYTHON_USEDEP}] -# dev-python/pytest[${PYTHON_USEDEP}] -# dev-python/scipy[${PYTHON_USEDEP}] -#
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: c595b712b14b98397c9bf159e0f232e682283f0f Author: Zamarin Arthur gmail com> AuthorDate: Sun May 23 10:17:50 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun May 23 16:34:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c595b712 media-gfx/img2pdf: add 0.4.1, bump python 3.9 Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> media-gfx/img2pdf/Manifest | 1 + media-gfx/img2pdf/img2pdf-0.4.1.ebuild | 50 ++ 2 files changed, 51 insertions(+) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index cd9d747f458..a3408876def 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,2 +1,3 @@ DIST img2pdf-0.3.6.tar.gz 91006 BLAKE2B ad89b42be4613c30383770f336b07773bf13e87061fca61eb7d5e25d6489662fc2bae94d9a6d61d531a77f41b9e94492d0db1f32570f6d471fa9f8cb0816630d SHA512 2a9d31b9de52123941fd650123a483f4dc0757edda304da994353b5f3167bddbb25fa1ed8fededcf859c5d07b65b9c2d5185000949002a68dcae1e7bf0f1547d DIST img2pdf-0.4.0.tar.gz 107027 BLAKE2B 0bf13e2d4a5aff68779130bc14100a5c6d1ac4eaca9da28ceb50104550b6e4331f6a2202514bcdac0480c0148794d18e9f2dd46ded68bbaa301a207460f91c85 SHA512 bab9ee6ef5273a686cb10e52bdeb62b6df3c0da99d0f0558677e07dc7ad776c2d62829a2f5e9c5639acfb9fc6e9c5e3a81aed42dc288c2a39d245775f1d4391b +DIST img2pdf-0.4.1.tar.gz 96699 BLAKE2B f5a41a3a3d1b1ae7caadab4f37df644ad28a3ef4bd7a56a339253f0aead4d2427f05373dcfd16b10d82a6167243b3b03906e9f95b7ae0dcdbea6a666905c45a2 SHA512 e71833250509d52b8782a8bc9e12a8de6ab7ae06d5e6e235c0b3787bfad1070b5ed90934b21e4decc9b2c7008eeb0424f9df27e44ec66259916d3a2fdb73d1f1 diff --git a/media-gfx/img2pdf/img2pdf-0.4.1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.1.ebuild new file mode 100644 index 000..b4b9173611f --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.4.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +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" + +# missing dev-python/pdfrw dependency and +# require old version of imagemagick +# waiting new version +RESTRICT="test" + +#BDEPEND="test? ( +# dev-python/numpy[${PYTHON_USEDEP}] +# dev-python/pdfrw[${PYTHON_USEDEP}] +# dev-python/pikepdf[${PYTHON_USEDEP}] +# dev-python/pytest[${PYTHON_USEDEP}] +# dev-python/scipy[${PYTHON_USEDEP}] +#
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 07fc0e228de3101f4caa8568bad7218c70c14cf9 Author: Sam James gentoo org> AuthorDate: Wed Feb 10 14:55:12 2021 + Commit: Sam James gentoo org> CommitDate: Wed Feb 10 14:55:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fc0e22 media-gfx/img2pdf: Keyword 0.4.0 x86, #767733 Signed-off-by: Sam James gentoo.org> media-gfx/img2pdf/img2pdf-0.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.0.ebuild b/media-gfx/img2pdf/img2pdf-0.4.0.ebuild index aeda8aad1be..03f64a2071d 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.0.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="gui" # missing dev-python/pdfrw dependency and
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 4c50583af170c51dd23102b9d83a3196776289a3 Author: Marco Genasci gmail com> AuthorDate: Wed Jan 27 13:11:46 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Jan 28 06:41:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c50583a media-gfx/img2pdf: version bump to 0.4.0 Closes: https://bugs.gentoo.org/759184 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Marco Genasci gmail.com> Closes: https://github.com/gentoo/gentoo/pull/18577 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/img2pdf/Manifest | 1 + media-gfx/img2pdf/img2pdf-0.4.0.ebuild | 46 ++ 2 files changed, 47 insertions(+) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index acbe9c1cbde..cd9d747f458 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1 +1,2 @@ DIST img2pdf-0.3.6.tar.gz 91006 BLAKE2B ad89b42be4613c30383770f336b07773bf13e87061fca61eb7d5e25d6489662fc2bae94d9a6d61d531a77f41b9e94492d0db1f32570f6d471fa9f8cb0816630d SHA512 2a9d31b9de52123941fd650123a483f4dc0757edda304da994353b5f3167bddbb25fa1ed8fededcf859c5d07b65b9c2d5185000949002a68dcae1e7bf0f1547d +DIST img2pdf-0.4.0.tar.gz 107027 BLAKE2B 0bf13e2d4a5aff68779130bc14100a5c6d1ac4eaca9da28ceb50104550b6e4331f6a2202514bcdac0480c0148794d18e9f2dd46ded68bbaa301a207460f91c85 SHA512 bab9ee6ef5273a686cb10e52bdeb62b6df3c0da99d0f0558677e07dc7ad776c2d62829a2f5e9c5639acfb9fc6e9c5e3a81aed42dc288c2a39d245775f1d4391b diff --git a/media-gfx/img2pdf/img2pdf-0.4.0.ebuild b/media-gfx/img2pdf/img2pdf-0.4.0.ebuild new file mode 100644 index 000..eb01f7ad312 --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.4.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +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" +IUSE="gui" + +# missing dev-python/pdfrw dependency and +# require old version of imagemagick +# waiting new version +RESTRICT="test" + +#BDEPEND="test? ( +# dev-python/numpy[${PYTHON_USEDEP}] +# dev-python/pdfrw[${PYTHON_USEDEP}] +# dev-python/pikepdf[${PYTHON_USEDEP}] +# dev-python/pytest[${PYTHON_USEDEP}] +# dev-python/scipy[${PYTHON_USEDEP}] +#
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: c333500a4cf85d5fca7b03428beafc180bd3bc04 Author: Joonas Niilola gentoo org> AuthorDate: Thu Jan 28 06:42:25 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Jan 28 06:42:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c333500a media-gfx/img2pdf: add missing die to 0.4.0 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/img2pdf/img2pdf-0.4.0.ebuild | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/media-gfx/img2pdf/img2pdf-0.4.0.ebuild b/media-gfx/img2pdf/img2pdf-0.4.0.ebuild index eb01f7ad312..aeda8aad1be 100644 --- a/media-gfx/img2pdf/img2pdf-0.4.0.ebuild +++ b/media-gfx/img2pdf/img2pdf-0.4.0.ebuild @@ -37,8 +37,12 @@ RDEPEND="dev-python/pikepdf[${PYTHON_USEDEP}] distutils_enable_tests pytest src_prepare() { - default - use !gui && sed -i '/gui_scripts/d' setup.py + 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 } python_test() {
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: e14d85862703b3489db72fc6035713891481da05 Author: Diogo Pereira gmail com> AuthorDate: Fri Oct 2 08:28:13 2020 + Commit: Sam James gentoo org> CommitDate: Wed Oct 7 00:31:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14d8586 media-gfx/img2pdf: drop old Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Diogo Pereira gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17746 Signed-off-by: Sam James gentoo.org> media-gfx/img2pdf/Manifest | 2 -- media-gfx/img2pdf/img2pdf-0.3.3.ebuild | 29 - media-gfx/img2pdf/img2pdf-0.3.4.ebuild | 25 - 3 files changed, 56 deletions(-) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index c0670a09f7a..acbe9c1cbde 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,3 +1 @@ -DIST img2pdf-0.3.3.tar.gz 80523 BLAKE2B 39e372f1ab82d9f521cf2c512b173680afe6463dd041283b336af49c41b12d12261fe5947ad9f03d489b7898d3c8d161faedb2b3366cb75bd1bc0666f905f60c SHA512 234e0031d75727d2f5d2b82603bb447d9101ace81e604b6d5eb358d0b4681e209dbd737775b90b44096cf84239aac9e87e2369e0c6112a17f24ccbf10a20cdd5 -DIST img2pdf-0.3.4.tar.gz 83729 BLAKE2B c595ca7eebfcb91cfe076822836ce07ec0036a510645aae54e495798765df91cddf5de292245c623b2e23918d7862271cdca5d7b8dd76573dc40d8ba7807865a SHA512 0e81e3ee06c62f0ee732b87776f6bc2d066ebce6c23dbcb85b2497518ba43fa3813b3e15f0c476c1203ae6d2b1f4f3e2f1b70215033dddb889fafd75b3671420 DIST img2pdf-0.3.6.tar.gz 91006 BLAKE2B ad89b42be4613c30383770f336b07773bf13e87061fca61eb7d5e25d6489662fc2bae94d9a6d61d531a77f41b9e94492d0db1f32570f6d471fa9f8cb0816630d SHA512 2a9d31b9de52123941fd650123a483f4dc0757edda304da994353b5f3167bddbb25fa1ed8fededcf859c5d07b65b9c2d5185000949002a68dcae1e7bf0f1547d diff --git a/media-gfx/img2pdf/img2pdf-0.3.3.ebuild b/media-gfx/img2pdf/img2pdf-0.3.3.ebuild deleted file mode 100644 index a7efeb64650..000 --- a/media-gfx/img2pdf/img2pdf-0.3.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -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="test" -RESTRICT="!test? ( test )" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/pdfrw[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff,zlib] - )" -RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" - -python_test() { - esetup.py test -} diff --git a/media-gfx/img2pdf/img2pdf-0.3.4.ebuild b/media-gfx/img2pdf/img2pdf-0.3.4.ebuild deleted file mode 100644 index d6e18fd6a2f..000 --- a/media-gfx/img2pdf/img2pdf-0.3.4.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -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" - -BDEPEND="test? ( - dev-python/pdfrw[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff,zlib] - )" -RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" - -distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 1cd0e93b33c417e6dd69847c15dad8741fd82952 Author: Diogo Pereira gmail com> AuthorDate: Sun May 24 15:44:02 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Jun 17 17:00:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd0e93b media-gfx/img2pdf: version bump to 0.3.6 - Remove dependency on dev-python/pdfrw Closes: https://bugs.gentoo.org/718690 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Diogo Pereira gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15955 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/img2pdf/Manifest | 1 + media-gfx/img2pdf/img2pdf-0.3.6.ebuild | 22 ++ 2 files changed, 23 insertions(+) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index a13f819f5f2..c0670a09f7a 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,2 +1,3 @@ DIST img2pdf-0.3.3.tar.gz 80523 BLAKE2B 39e372f1ab82d9f521cf2c512b173680afe6463dd041283b336af49c41b12d12261fe5947ad9f03d489b7898d3c8d161faedb2b3366cb75bd1bc0666f905f60c SHA512 234e0031d75727d2f5d2b82603bb447d9101ace81e604b6d5eb358d0b4681e209dbd737775b90b44096cf84239aac9e87e2369e0c6112a17f24ccbf10a20cdd5 DIST img2pdf-0.3.4.tar.gz 83729 BLAKE2B c595ca7eebfcb91cfe076822836ce07ec0036a510645aae54e495798765df91cddf5de292245c623b2e23918d7862271cdca5d7b8dd76573dc40d8ba7807865a SHA512 0e81e3ee06c62f0ee732b87776f6bc2d066ebce6c23dbcb85b2497518ba43fa3813b3e15f0c476c1203ae6d2b1f4f3e2f1b70215033dddb889fafd75b3671420 +DIST img2pdf-0.3.6.tar.gz 91006 BLAKE2B ad89b42be4613c30383770f336b07773bf13e87061fca61eb7d5e25d6489662fc2bae94d9a6d61d531a77f41b9e94492d0db1f32570f6d471fa9f8cb0816630d SHA512 2a9d31b9de52123941fd650123a483f4dc0757edda304da994353b5f3167bddbb25fa1ed8fededcf859c5d07b65b9c2d5185000949002a68dcae1e7bf0f1547d diff --git a/media-gfx/img2pdf/img2pdf-0.3.6.ebuild b/media-gfx/img2pdf/img2pdf-0.3.6.ebuild new file mode 100644 index 000..612d1425962 --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.3.6.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +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" + +BDEPEND="test? ( dev-python/pillow[${PYTHON_USEDEP},tiff,zlib] )" +RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 3eaae3a768cbe49e018aa61ef4148a0251d0c8ca Author: Diogo Pereira gmail com> AuthorDate: Tue Apr 21 23:21:21 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 23 06:00:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eaae3a7 media-gfx/img2pdf: bump to 0.3.4 - Support Python 3.7 and 3.8 - Fix DISTUTILS_USE_SETUPTOOLS QA notice - Use distutils_enable_tests Closes: https://bugs.gentoo.org/711596 Closes: https://bugs.gentoo.org/718332 Signed-off-by: Diogo Pereira gmail.com> Package-Manager: Portage-2.3.89, Repoman-2.3.20 Closes: https://github.com/gentoo/gentoo/pull/15459 Signed-off-by: Michał Górny gentoo.org> media-gfx/img2pdf/Manifest | 1 + media-gfx/img2pdf/img2pdf-0.3.4.ebuild | 25 + 2 files changed, 26 insertions(+) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index 094f67e0c2d..a13f819f5f2 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1 +1,2 @@ DIST img2pdf-0.3.3.tar.gz 80523 BLAKE2B 39e372f1ab82d9f521cf2c512b173680afe6463dd041283b336af49c41b12d12261fe5947ad9f03d489b7898d3c8d161faedb2b3366cb75bd1bc0666f905f60c SHA512 234e0031d75727d2f5d2b82603bb447d9101ace81e604b6d5eb358d0b4681e209dbd737775b90b44096cf84239aac9e87e2369e0c6112a17f24ccbf10a20cdd5 +DIST img2pdf-0.3.4.tar.gz 83729 BLAKE2B c595ca7eebfcb91cfe076822836ce07ec0036a510645aae54e495798765df91cddf5de292245c623b2e23918d7862271cdca5d7b8dd76573dc40d8ba7807865a SHA512 0e81e3ee06c62f0ee732b87776f6bc2d066ebce6c23dbcb85b2497518ba43fa3813b3e15f0c476c1203ae6d2b1f4f3e2f1b70215033dddb889fafd75b3671420 diff --git a/media-gfx/img2pdf/img2pdf-0.3.4.ebuild b/media-gfx/img2pdf/img2pdf-0.3.4.ebuild new file mode 100644 index 000..d6e18fd6a2f --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.3.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +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" + +BDEPEND="test? ( + dev-python/pdfrw[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff,zlib] + )" +RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 77f680a87ea53fb4c5b7746c89f59e0ae1f29951 Author: Diogo Pereira gmail com> AuthorDate: Sun Apr 19 23:47:29 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 23 06:00:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f680a8 media-gfx/img2pdf: drop 0.3.1 Signed-off-by: Diogo Pereira gmail.com> Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michał Górny gentoo.org> media-gfx/img2pdf/Manifest | 1 - media-gfx/img2pdf/img2pdf-0.3.1.ebuild | 26 -- 2 files changed, 27 deletions(-) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index 84eb6ab0054..094f67e0c2d 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,2 +1 @@ -DIST img2pdf-0.3.1.tar.gz 67954 BLAKE2B d0d6a9927e9b3e7087e562a108157677a46a17a896beddcc424dd2c234fd7c4f1376b824dbf814b42d9a314a8495b149bc9df65ab2864405b9dde0054e7bafdf SHA512 25f788f78e93ed336ed8e31e88350d89263b82477c8d9c36103dfa522a5e661922fc09b59e1d5104161fe1be15114f843172555efa942722d8b093900d38bae1 DIST img2pdf-0.3.3.tar.gz 80523 BLAKE2B 39e372f1ab82d9f521cf2c512b173680afe6463dd041283b336af49c41b12d12261fe5947ad9f03d489b7898d3c8d161faedb2b3366cb75bd1bc0666f905f60c SHA512 234e0031d75727d2f5d2b82603bb447d9101ace81e604b6d5eb358d0b4681e209dbd737775b90b44096cf84239aac9e87e2369e0c6112a17f24ccbf10a20cdd5 diff --git a/media-gfx/img2pdf/img2pdf-0.3.1.ebuild b/media-gfx/img2pdf/img2pdf-0.3.1.ebuild deleted file mode 100644 index 364ece521a9..000 --- a/media-gfx/img2pdf/img2pdf-0.3.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -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="test" -RESTRICT="!test? ( test )" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pdfrw[${PYTHON_USEDEP}] )" -RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" - -python_test() { - esetup.py test -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: a8f917fec244eb0485bd5537fbd31bf9b8664e2c Author: Diogo Pereira gmail com> AuthorDate: Sun Apr 19 23:46:20 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 23 06:00:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f917fe media-gfx/img2pdf: mark ALLARCHES Signed-off-by: Diogo Pereira gmail.com> Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michał Górny gentoo.org> media-gfx/img2pdf/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/media-gfx/img2pdf/metadata.xml b/media-gfx/img2pdf/metadata.xml index e2dc940bfb6..ca964c7924b 100644 --- a/media-gfx/img2pdf/metadata.xml +++ b/media-gfx/img2pdf/metadata.xml @@ -9,6 +9,7 @@ proxy-ma...@gentoo.org Proxy Maintainers + Losslessly convert raster images to PDF. The file size will not unnecessarily increase. It can for example be used to create a PDF
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: f47abe773d4a432e19357b92129d584dd66f7e60 Author: Diogo Pereira gmail com> AuthorDate: Mon Jan 28 00:41:03 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 3 14:07:54 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47abe77 media-gfx/img2pdf: version bump to 0.3.3 Closes: https://bugs.gentoo.org/675834 Closes: https://bugs.gentoo.org/676100 Signed-off-by: Diogo Pereira gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Andreas Sturmlechner gentoo.org> media-gfx/img2pdf/Manifest | 1 + media-gfx/img2pdf/img2pdf-0.3.3.ebuild | 28 2 files changed, 29 insertions(+) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index fe7314c8992..84eb6ab0054 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1 +1,2 @@ DIST img2pdf-0.3.1.tar.gz 67954 BLAKE2B d0d6a9927e9b3e7087e562a108157677a46a17a896beddcc424dd2c234fd7c4f1376b824dbf814b42d9a314a8495b149bc9df65ab2864405b9dde0054e7bafdf SHA512 25f788f78e93ed336ed8e31e88350d89263b82477c8d9c36103dfa522a5e661922fc09b59e1d5104161fe1be15114f843172555efa942722d8b093900d38bae1 +DIST img2pdf-0.3.3.tar.gz 80523 BLAKE2B 39e372f1ab82d9f521cf2c512b173680afe6463dd041283b336af49c41b12d12261fe5947ad9f03d489b7898d3c8d161faedb2b3366cb75bd1bc0666f905f60c SHA512 234e0031d75727d2f5d2b82603bb447d9101ace81e604b6d5eb358d0b4681e209dbd737775b90b44096cf84239aac9e87e2369e0c6112a17f24ccbf10a20cdd5 diff --git a/media-gfx/img2pdf/img2pdf-0.3.3.ebuild b/media-gfx/img2pdf/img2pdf-0.3.3.ebuild new file mode 100644 index 000..9436b9466cc --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.3.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +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="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pdfrw[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff,zlib] + )" +RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 36a19a310b70cc28e1acb58d50ead392f04f1bdd Author: Diogo Pereira gmail com> AuthorDate: Mon Jan 28 00:40:24 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 3 14:07:53 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36a19a31 media-gfx/img2pdf: drop 0.2.4 Signed-off-by: Diogo Pereira gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10921 Signed-off-by: Andreas Sturmlechner gentoo.org> media-gfx/img2pdf/Manifest | 1 - media-gfx/img2pdf/img2pdf-0.2.4.ebuild | 25 - 2 files changed, 26 deletions(-) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index 7993869d21f..fe7314c8992 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1,2 +1 @@ -DIST img2pdf-0.2.4.tar.gz 54426 BLAKE2B c645d61ee8eb950bfb15337a2d2be724efe9fdf40ba7b211c9882ea14ec34aa977358e0550a732bf770d9539e7b8f8f0dfe045fa7fe8ce0cd0c1311be570cc23 SHA512 c2d99da7076411cf4acabe8929fc8af4005ef1f3e3d9edc953f2731b8d41159c9e4637a803765e1405c595daebfb3d519d4c7903003ce0118d8b0c6e88f11860 DIST img2pdf-0.3.1.tar.gz 67954 BLAKE2B d0d6a9927e9b3e7087e562a108157677a46a17a896beddcc424dd2c234fd7c4f1376b824dbf814b42d9a314a8495b149bc9df65ab2864405b9dde0054e7bafdf SHA512 25f788f78e93ed336ed8e31e88350d89263b82477c8d9c36103dfa522a5e661922fc09b59e1d5104161fe1be15114f843172555efa942722d8b093900d38bae1 diff --git a/media-gfx/img2pdf/img2pdf-0.2.4.ebuild b/media-gfx/img2pdf/img2pdf-0.2.4.ebuild deleted file mode 100644 index c392f9e3c04..000 --- a/media-gfx/img2pdf/img2pdf-0.2.4.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{4,5,6} ) - -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="test" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pdfrw[${PYTHON_USEDEP}] )" -RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" - -python_test() { - esetup.py test -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: 9d70a99fd62de058f9f62aa4aa5acfdef505f6f5 Author: Diogo Pereira gmail com> AuthorDate: Sat Oct 6 12:51:17 2018 + Commit: Michał Górny gentoo org> CommitDate: Sat Oct 6 21:23:02 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d70a99f media-gfx/img2pdf: version bump to 0.3.1 Signed-off-by: Diogo Pereira gmail.com> Package-Manager: Portage-2.3.49, Repoman-2.3.11 Signed-off-by: Michał Górny gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/9941 media-gfx/img2pdf/Manifest | 1 + media-gfx/img2pdf/img2pdf-0.3.1.ebuild | 25 + 2 files changed, 26 insertions(+) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest index 6da4aa1c4e7..7993869d21f 100644 --- a/media-gfx/img2pdf/Manifest +++ b/media-gfx/img2pdf/Manifest @@ -1 +1,2 @@ DIST img2pdf-0.2.4.tar.gz 54426 BLAKE2B c645d61ee8eb950bfb15337a2d2be724efe9fdf40ba7b211c9882ea14ec34aa977358e0550a732bf770d9539e7b8f8f0dfe045fa7fe8ce0cd0c1311be570cc23 SHA512 c2d99da7076411cf4acabe8929fc8af4005ef1f3e3d9edc953f2731b8d41159c9e4637a803765e1405c595daebfb3d519d4c7903003ce0118d8b0c6e88f11860 +DIST img2pdf-0.3.1.tar.gz 67954 BLAKE2B d0d6a9927e9b3e7087e562a108157677a46a17a896beddcc424dd2c234fd7c4f1376b824dbf814b42d9a314a8495b149bc9df65ab2864405b9dde0054e7bafdf SHA512 25f788f78e93ed336ed8e31e88350d89263b82477c8d9c36103dfa522a5e661922fc09b59e1d5104161fe1be15114f843172555efa942722d8b093900d38bae1 diff --git a/media-gfx/img2pdf/img2pdf-0.3.1.ebuild b/media-gfx/img2pdf/img2pdf-0.3.1.ebuild new file mode 100644 index 000..9e0dd786423 --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.3.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +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="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pdfrw[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
commit: be277ac12f75698e95c63c1251c2cb2cf91ae57c Author: Diogo Pereira gmail com> AuthorDate: Sun Jul 30 17:06:03 2017 + Commit: David Seifert gentoo org> CommitDate: Sun Jul 30 18:20:55 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be277ac1 media-gfx/img2pdf: new package img2pdf losslessly converts raster images to PDF. Package-Manager: Portage-2.3.6, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/5244 media-gfx/img2pdf/Manifest | 1 + media-gfx/img2pdf/img2pdf-0.2.4.ebuild | 25 + media-gfx/img2pdf/metadata.xml | 28 3 files changed, 54 insertions(+) diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest new file mode 100644 index 000..d712230fa67 --- /dev/null +++ b/media-gfx/img2pdf/Manifest @@ -0,0 +1 @@ +DIST img2pdf-0.2.4.tar.gz 54426 SHA256 140b70fa3a3bfb54e92947818cee01483a4f1492b5d1d02b0f649257f5ffc9ae SHA512 c2d99da7076411cf4acabe8929fc8af4005ef1f3e3d9edc953f2731b8d41159c9e4637a803765e1405c595daebfb3d519d4c7903003ce0118d8b0c6e88f11860 WHIRLPOOL 12ab900d9758aadc79195dd81dc82c5193df0dbc1041083ddf50a7786f555c8c82d2fb622bc4a6c477e9cf500527fa448587192f244c53fec6db4891c52d8f47 diff --git a/media-gfx/img2pdf/img2pdf-0.2.4.ebuild b/media-gfx/img2pdf/img2pdf-0.2.4.ebuild new file mode 100644 index 000..c392f9e3c04 --- /dev/null +++ b/media-gfx/img2pdf/img2pdf-0.2.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +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="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pdfrw[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test +} diff --git a/media-gfx/img2pdf/metadata.xml b/media-gfx/img2pdf/metadata.xml new file mode 100644 index 000..e2dc940bfb6 --- /dev/null +++ b/media-gfx/img2pdf/metadata.xml @@ -0,0 +1,28 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + sir.su...@gmail.com + Diogo Pereira + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + Losslessly convert raster images to PDF. The file size will not + unnecessarily increase. It can for example be used to create a PDF + document from a number of scans that are only available in JPEG format. + Existing solutions would either re-encode the input JPEG files (leading + to quality loss) or store them in the zip/flate format which results in + the PDF becoming unnecessarily large in terms of its file size. + + + + jo...@mister-muffin.de + Johannes Schauer + + img2pdf + https://gitlab.mister-muffin.de/josch/img2pdf/issues + +