[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: df8306c5cfd3a0a4edd65067dbbf0ad372f146e8 Author: Michał Górny gentoo org> AuthorDate: Sat May 18 07:54:21 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat May 18 08:09:14 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df8306c5 dev-python/pypdf: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/pypdf-4.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.2.0.ebuild b/dev-python/pypdf/pypdf-4.2.0.ebuild index c9bd81008f5f..60a8803f35ac 100644 --- a/dev-python/pypdf/pypdf-4.2.0.ebuild +++ b/dev-python/pypdf/pypdf-4.2.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 1eb37f909e0c63da2b62178d0cff18f1956c4486 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 25 03:35:19 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 25 03:35:19 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb37f90 dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 - dev-python/pypdf/pypdf-4.1.0.ebuild | 62 - 2 files changed, 63 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 9b0dd8cd2fab..553a63109660 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,2 @@ -DIST pypdf-4.1.0.gh.tar.gz 8005929 BLAKE2B 3bec62a86dc8503a8738ea14941db6f66181784288d51f345f6d0a973e80c984c676814820ee68d7d5372931272747a22def10928f935ea7bdef2f2a5cdffd28 SHA512 1dac8f45d24406b17a6c0872fdac928b2aa8e434d64b5f8bd3359ca58f51e7a936d0990d3a7d4b4bbd433ca1497e343838ab0dbd3d22f2db32575472f1a660c9 DIST pypdf-4.2.0.gh.tar.gz 8009612 BLAKE2B a21108679a6dd5d9bc16aaf4a9c1beaaab875f0a8f974722d6d318635eecee82bc37c7c4c175816079ce9604f8b88f07f31458b08994833a25ee18bc46cbc294 SHA512 99fe599a81ae7e115ee6fca82ffabaff613ee49756a7e937de32a4d59b5731effe5cc3a076d92423b2299896a6ecab41ab5096aea6836fec79ba637e2c7b7620 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-4.1.0.ebuild b/dev-python/pypdf/pypdf-4.1.0.ebuild deleted file mode 100644 index 709812e904b3.. --- a/dev-python/pypdf/pypdf-4.1.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - tests/test_reader.py::test_decode_permissions - tests/test_workflows.py::test_text_extraction_layout_mode - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - tests/test_writer.py::test_remove_image_per_type - tests/test_generic.py::test_name_object - # Internet - tests/test_generic.py::test_calling_indirect_objects - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -m "not enable_socket" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 7d57678d9f0b92167d029ed527431fd9103f8e5b Author: Sam James gentoo org> AuthorDate: Wed Apr 24 17:12:40 2024 + Commit: Sam James gentoo org> CommitDate: Wed Apr 24 17:15:50 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d57678d dev-python/pypdf: Stabilize 4.2.0 x86, #930594 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-4.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.2.0.ebuild b/dev-python/pypdf/pypdf-4.2.0.ebuild index 5ef04fd78c8c..c9bd81008f5f 100644 --- a/dev-python/pypdf/pypdf-4.2.0.ebuild +++ b/dev-python/pypdf/pypdf-4.2.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 ~x86" +KEYWORDS="amd64 arm64 ~ppc64 x86" RDEPEND=" $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 8261a03afb26c7ff4c6b9cfafcbd6bc1719ade23 Author: Sam James gentoo org> AuthorDate: Wed Apr 24 16:15:03 2024 + Commit: Sam James gentoo org> CommitDate: Wed Apr 24 16:15:03 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8261a03a dev-python/pypdf: Stabilize 4.2.0 arm64, #930594 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-4.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.2.0.ebuild b/dev-python/pypdf/pypdf-4.2.0.ebuild index 3ce5df55fed2..5ef04fd78c8c 100644 --- a/dev-python/pypdf/pypdf-4.2.0.ebuild +++ b/dev-python/pypdf/pypdf-4.2.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 arm64 ~ppc64 ~x86" RDEPEND=" $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 58f9f48811d39d8ed4cde8e688b8473c185058dc Author: Sam James gentoo org> AuthorDate: Wed Apr 24 15:30:39 2024 + Commit: Sam James gentoo org> CommitDate: Wed Apr 24 15:30:39 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58f9f488 dev-python/pypdf: Stabilize 4.2.0 amd64, #930594 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-4.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.2.0.ebuild b/dev-python/pypdf/pypdf-4.2.0.ebuild index 50fccfce8014..3ce5df55fed2 100644 --- a/dev-python/pypdf/pypdf-4.2.0.ebuild +++ b/dev-python/pypdf/pypdf-4.2.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" RDEPEND=" $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: ccbe911d3156caccfd9238b81fc8ce7ac1f33c99 Author: Michał Górny gentoo org> AuthorDate: Mon Apr 8 02:55:00 2024 + Commit: Michał Górny gentoo org> CommitDate: Mon Apr 8 02:55:00 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccbe911d dev-python/pypdf: Bump to 4.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-4.2.0.ebuild | 67 + 2 files changed, 68 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 1feaa712cf8c..9b0dd8cd2fab 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-4.1.0.gh.tar.gz 8005929 BLAKE2B 3bec62a86dc8503a8738ea14941db6f66181784288d51f345f6d0a973e80c984c676814820ee68d7d5372931272747a22def10928f935ea7bdef2f2a5cdffd28 SHA512 1dac8f45d24406b17a6c0872fdac928b2aa8e434d64b5f8bd3359ca58f51e7a936d0990d3a7d4b4bbd433ca1497e343838ab0dbd3d22f2db32575472f1a660c9 +DIST pypdf-4.2.0.gh.tar.gz 8009612 BLAKE2B a21108679a6dd5d9bc16aaf4a9c1beaaab875f0a8f974722d6d318635eecee82bc37c7c4c175816079ce9604f8b88f07f31458b08994833a25ee18bc46cbc294 SHA512 99fe599a81ae7e115ee6fca82ffabaff613ee49756a7e937de32a4d59b5731effe5cc3a076d92423b2299896a6ecab41ab5096aea6836fec79ba637e2c7b7620 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-4.2.0.ebuild b/dev-python/pypdf/pypdf-4.2.0.ebuild new file mode 100644 index ..50fccfce8014 --- /dev/null +++ b/dev-python/pypdf/pypdf-4.2.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + tests/test_reader.py::test_decode_permissions + tests/test_workflows.py::test_text_extraction_layout_mode + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + tests/test_generic.py::test_name_object + # Internet + tests/test_generic.py::test_calling_indirect_objects + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: c171abf1c38535cf3c7393fc20d1d055756c41ce Author: Michał Górny gentoo org> AuthorDate: Fri Mar 22 12:33:36 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 22 12:37:26 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c171abf1 dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 2 -- dev-python/pypdf/pypdf-4.0.2.ebuild | 59 - 2 files changed, 61 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index e0577570adf9..1feaa712cf8c 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,2 @@ -DIST pypdf-4.0.2.gh.tar.gz 7992844 BLAKE2B ddd38e8c27230c6425de2677c1f2bd6f521c87e4b10e4791ed8d2b961c7c9e210b49b6d684780f16fb1620db7c123aed9ee548b381d54ae881a6e64305b26379 SHA512 4539f2c1c4b98e27dd3f43c7aa44efe03e80c8089f655130dd80dceee85afae235bc819b9309bc36653c953741ec3b998ccbb1274c28abf144792ae44147efd9 DIST pypdf-4.1.0.gh.tar.gz 8005929 BLAKE2B 3bec62a86dc8503a8738ea14941db6f66181784288d51f345f6d0a973e80c984c676814820ee68d7d5372931272747a22def10928f935ea7bdef2f2a5cdffd28 SHA512 1dac8f45d24406b17a6c0872fdac928b2aa8e434d64b5f8bd3359ca58f51e7a936d0990d3a7d4b4bbd433ca1497e343838ab0dbd3d22f2db32575472f1a660c9 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 -DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-4.0.2.ebuild b/dev-python/pypdf/pypdf-4.0.2.ebuild deleted file mode 100644 index 9d19f62fea7c.. --- a/dev-python/pypdf/pypdf-4.0.2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - tests/test_reader.py::test_decode_permissions - tests/test_workflows.py::test_text_extraction_layout_mode - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - tests/test_writer.py::test_remove_image_per_type - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -m "not enable_socket" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: d29b0a64da99becd41c8e361a400244d1e80f09c Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 22 06:13:59 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 22 06:13:59 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d29b0a64 dev-python/pypdf: Stabilize 4.1.0 x86, #927425 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-4.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.1.0.ebuild b/dev-python/pypdf/pypdf-4.1.0.ebuild index 2d0ebcf5d697..9c1c67c31c40 100644 --- a/dev-python/pypdf/pypdf-4.1.0.ebuild +++ b/dev-python/pypdf/pypdf-4.1.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 68e176e94a82f692431911f9eaab4adf590e04f2 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 22 06:14:00 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 22 06:14:00 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68e176e9 dev-python/pypdf: Stabilize 4.1.0 amd64, #927425 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-4.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.1.0.ebuild b/dev-python/pypdf/pypdf-4.1.0.ebuild index 9c1c67c31c40..709812e904b3 100644 --- a/dev-python/pypdf/pypdf-4.1.0.ebuild +++ b/dev-python/pypdf/pypdf-4.1.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 arm64 ~ppc64 x86" +KEYWORDS="amd64 arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 865b19dbd351dcba5998ea3ada542664936ffdb5 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Mar 21 18:13:14 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Mar 21 18:13:14 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=865b19db dev-python/pypdf: Stabilize 4.1.0 arm64, #927425 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-4.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.1.0.ebuild b/dev-python/pypdf/pypdf-4.1.0.ebuild index 6e78af9cd6a3..2d0ebcf5d697 100644 --- a/dev-python/pypdf/pypdf-4.1.0.ebuild +++ b/dev-python/pypdf/pypdf-4.1.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 arm64 ~ppc64 ~x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/, dev-python/pypdf/files/
commit: 56c4be7f33e1067fdae407560175085906fdb81f Author: Michał Górny gentoo org> AuthorDate: Thu Mar 7 19:29:01 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 7 19:48:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c4be7f dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 - dev-python/pypdf/files/pypdf-4.0.1-pytest-8.patch | 80 --- dev-python/pypdf/pypdf-4.0.1.ebuild | 64 -- 3 files changed, 145 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index aa8a933a9bfa..e0577570adf9 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,3 @@ -DIST pypdf-4.0.1.gh.tar.gz 7992979 BLAKE2B a072b50d177a89133bd5c7a74cae1d4f4ed5d6bcb1d78c68573c98f792a28a8ded26b5a82743a70ec2cd41651db8a19580cc48b0376c0dfe2f422826311914c3 SHA512 e9170b75ab00ce86580194bfa64ff3a31eb6fca62adc006478fcee3a78a99df269c75857672838c2b752b78b19174883cecb2eea5586878f81eb75474fabee6d DIST pypdf-4.0.2.gh.tar.gz 7992844 BLAKE2B ddd38e8c27230c6425de2677c1f2bd6f521c87e4b10e4791ed8d2b961c7c9e210b49b6d684780f16fb1620db7c123aed9ee548b381d54ae881a6e64305b26379 SHA512 4539f2c1c4b98e27dd3f43c7aa44efe03e80c8089f655130dd80dceee85afae235bc819b9309bc36653c953741ec3b998ccbb1274c28abf144792ae44147efd9 DIST pypdf-4.1.0.gh.tar.gz 8005929 BLAKE2B 3bec62a86dc8503a8738ea14941db6f66181784288d51f345f6d0a973e80c984c676814820ee68d7d5372931272747a22def10928f935ea7bdef2f2a5cdffd28 SHA512 1dac8f45d24406b17a6c0872fdac928b2aa8e434d64b5f8bd3359ca58f51e7a936d0990d3a7d4b4bbd433ca1497e343838ab0dbd3d22f2db32575472f1a660c9 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/files/pypdf-4.0.1-pytest-8.patch b/dev-python/pypdf/files/pypdf-4.0.1-pytest-8.patch deleted file mode 100644 index 16b685970b55.. --- a/dev-python/pypdf/files/pypdf-4.0.1-pytest-8.patch +++ /dev/null @@ -1,80 +0,0 @@ -From 7fd67692faf502663c001b38e48083c68876085b Mon Sep 17 00:00:00 2001 -From: Stefan <96178532+stefan6419...@users.noreply.github.com> -Date: Mon, 29 Jan 2024 15:43:52 +0100 -Subject: [PATCH 1/2] TST: Avoid catching not emitted warnings - - tests/test_reader.py | 10 +- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/tests/test_reader.py b/tests/test_reader.py -index 98f73a01c..ad289c296 100644 a/tests/test_reader.py -+++ b/tests/test_reader.py -@@ -335,7 +335,7 @@ def test_get_images_raw( - ) - pdf_stream = io.BytesIO(pdf_data) - if should_fail: --with pytest.raises(PdfReadError) as exc, pytest.warns(PdfReadWarning): -+with pytest.raises(PdfReadError) as exc: - PdfReader(pdf_stream, strict=strict) - assert exc.type == PdfReadError - if startx_correction == -1: -@@ -530,7 +530,7 @@ def test_read_prev_0_trailer(): - pdf_data.find(b"xref") - 1, - ) - pdf_stream = io.BytesIO(pdf_data) --with pytest.raises(PdfReadError) as exc, pytest.warns(PdfReadWarning): -+with pytest.raises(PdfReadError) as exc: - PdfReader(pdf_stream, strict=True) - assert exc.value.args[0] == "/Prev=0 in the trailer (try opening with strict=False)" - -@@ -607,7 +607,7 @@ def test_read_unknown_zero_pages(caplog): - "Xref table not zero-indexed. ID numbers for objects will be corrected.", - ] - assert normalize_warnings(caplog.text) == warnings --with pytest.raises(PdfReadError) as exc, pytest.warns(PdfReadWarning): -+with pytest.raises(PdfReadError) as exc: - len(reader.pages) - - assert exc.value.args[0] == "Could not find object." -@@ -617,7 +617,7 @@ def test_read_unknown_zero_pages(caplog): - "startxref on same line as offset", - ] - assert normalize_warnings(caplog.text) == warnings --with pytest.raises(AttributeError) as exc, pytest.warns(PdfReadWarning): -+with pytest.raises(AttributeError) as exc: - len(reader.pages) - assert exc.value.args[0] == "'NoneType' object has no attribute 'get_object'" - -@@ -687,7 +687,7 @@ def test_issue604(caplog, strict): - outline = None - if strict: - pdf = PdfReader(f, strict=strict) --with pytest.raises(PdfReadError) as exc, pytest.warns(PdfReadWarning): -+with pytest.raises(PdfReadError) as exc: - outline = pdf.outline - if "Unknown Destination" not in exc.value.args[0]: - raise Exception("Expected exception not raised") - -From 259128c25e25e23f284267d0abb9d7f1bd932de5 Mon Sep 17
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: e14d48dd740eed7e50a916607cb372d445fbab43 Author: Sam James gentoo org> AuthorDate: Thu Mar 7 18:44:30 2024 + Commit: Sam James gentoo org> CommitDate: Thu Mar 7 18:44:30 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14d48dd dev-python/pypdf: Stabilize 4.0.2 amd64, #926384 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-4.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.0.2.ebuild b/dev-python/pypdf/pypdf-4.0.2.ebuild index 719fb3c59a78..9d19f62fea7c 100644 --- a/dev-python/pypdf/pypdf-4.0.2.ebuild +++ b/dev-python/pypdf/pypdf-4.0.2.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 arm64 ~ppc64 x86" +KEYWORDS="amd64 arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: cb3cdc34ae5a0cb4586607f883f9d038a39881ae Author: Michał Górny gentoo org> AuthorDate: Thu Mar 7 17:08:59 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 7 17:08:59 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb3cdc34 dev-python/pypdf: Stabilize 4.0.2 arm64, #926384 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/pypdf-4.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.0.2.ebuild b/dev-python/pypdf/pypdf-4.0.2.ebuild index e166505c88ed..719fb3c59a78 100644 --- a/dev-python/pypdf/pypdf-4.0.2.ebuild +++ b/dev-python/pypdf/pypdf-4.0.2.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86" +KEYWORDS="~amd64 arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 1aa9051534ea282a7b9a0c60830b2aa9fff364d0 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 7 16:22:20 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 7 16:22:20 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aa90515 dev-python/pypdf: Stabilize 4.0.2 x86, #926384 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/pypdf-4.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.0.2.ebuild b/dev-python/pypdf/pypdf-4.0.2.ebuild index f0cc9485cc72..e166505c88ed 100644 --- a/dev-python/pypdf/pypdf-4.0.2.ebuild +++ b/dev-python/pypdf/pypdf-4.0.2.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 1fa9a586071af6dfcf78e2485d2d629040dd6828 Author: Michał Górny gentoo org> AuthorDate: Mon Mar 4 06:26:30 2024 + Commit: Michał Górny gentoo org> CommitDate: Mon Mar 4 06:31:24 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fa9a586 dev-python/pypdf: Bump to 4.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 2 ++ dev-python/pypdf/pypdf-4.1.0.ebuild | 62 + 2 files changed, 64 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 4a73efbf83c1..aa8a933a9bfa 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,5 @@ DIST pypdf-4.0.1.gh.tar.gz 7992979 BLAKE2B a072b50d177a89133bd5c7a74cae1d4f4ed5d6bcb1d78c68573c98f792a28a8ded26b5a82743a70ec2cd41651db8a19580cc48b0376c0dfe2f422826311914c3 SHA512 e9170b75ab00ce86580194bfa64ff3a31eb6fca62adc006478fcee3a78a99df269c75857672838c2b752b78b19174883cecb2eea5586878f81eb75474fabee6d DIST pypdf-4.0.2.gh.tar.gz 7992844 BLAKE2B ddd38e8c27230c6425de2677c1f2bd6f521c87e4b10e4791ed8d2b961c7c9e210b49b6d684780f16fb1620db7c123aed9ee548b381d54ae881a6e64305b26379 SHA512 4539f2c1c4b98e27dd3f43c7aa44efe03e80c8089f655130dd80dceee85afae235bc819b9309bc36653c953741ec3b998ccbb1274c28abf144792ae44147efd9 +DIST pypdf-4.1.0.gh.tar.gz 8005929 BLAKE2B 3bec62a86dc8503a8738ea14941db6f66181784288d51f345f6d0a973e80c984c676814820ee68d7d5372931272747a22def10928f935ea7bdef2f2a5cdffd28 SHA512 1dac8f45d24406b17a6c0872fdac928b2aa8e434d64b5f8bd3359ca58f51e7a936d0990d3a7d4b4bbd433ca1497e343838ab0dbd3d22f2db32575472f1a660c9 +DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-4.1.0.ebuild b/dev-python/pypdf/pypdf-4.1.0.ebuild new file mode 100644 index ..6e78af9cd6a3 --- /dev/null +++ b/dev-python/pypdf/pypdf-4.1.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + tests/test_reader.py::test_decode_permissions + tests/test_workflows.py::test_text_extraction_layout_mode + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + tests/test_generic.py::test_name_object + # Internet + tests/test_generic.py::test_calling_indirect_objects + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: e952c0a79d98ddfb18479cd46b38d8805922caf0 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 19 03:59:37 2024 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 19 04:10:34 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e952c0a7 dev-python/pypdf: Bump to 4.0.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-4.0.2.ebuild | 59 + 2 files changed, 60 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 0777a3d24696..4a73efbf83c1 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-4.0.1.gh.tar.gz 7992979 BLAKE2B a072b50d177a89133bd5c7a74cae1d4f4ed5d6bcb1d78c68573c98f792a28a8ded26b5a82743a70ec2cd41651db8a19580cc48b0376c0dfe2f422826311914c3 SHA512 e9170b75ab00ce86580194bfa64ff3a31eb6fca62adc006478fcee3a78a99df269c75857672838c2b752b78b19174883cecb2eea5586878f81eb75474fabee6d +DIST pypdf-4.0.2.gh.tar.gz 7992844 BLAKE2B ddd38e8c27230c6425de2677c1f2bd6f521c87e4b10e4791ed8d2b961c7c9e210b49b6d684780f16fb1620db7c123aed9ee548b381d54ae881a6e64305b26379 SHA512 4539f2c1c4b98e27dd3f43c7aa44efe03e80c8089f655130dd80dceee85afae235bc819b9309bc36653c953741ec3b998ccbb1274c28abf144792ae44147efd9 DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-4.0.2.ebuild b/dev-python/pypdf/pypdf-4.0.2.ebuild new file mode 100644 index ..f0cc9485cc72 --- /dev/null +++ b/dev-python/pypdf/pypdf-4.0.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + tests/test_reader.py::test_decode_permissions + tests/test_workflows.py::test_text_extraction_layout_mode + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 3335f8d3e0c00d19c568bb98b7f1421af7b56f8c Author: Michał Górny gentoo org> AuthorDate: Wed Feb 14 16:58:50 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Feb 14 17:25:29 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3335f8d3 dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 2 -- dev-python/pypdf/pypdf-3.17.4.ebuild | 59 -- dev-python/pypdf/pypdf-4.0.0.ebuild | 62 3 files changed, 123 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 691e95ae815b..0777a3d24696 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,2 @@ -DIST pypdf-3.17.4.gh.tar.gz 7976829 BLAKE2B c2b7aef937186aecf525729f336ad6d00a8bf40850be17cb450daba5d0100acc0b0c3f51ef242e3cf7ef710d5c40c9f334db94a372b6d6eb4f2270dc00dde156 SHA512 f687a2032f085dac9b920f881f2df9f96e4da2a8dcdd5f971d3601ab05ae4f9b5528d0155adcb5ef01c6d8ffdc4f3d79077706915851bad7868bf761d28c513a -DIST pypdf-4.0.0.gh.tar.gz 7992828 BLAKE2B 97ab3783ab91ebc638b625fe39c3008516de82f1ac384a45ef27a06bb0b91a86a5fdc24efbb92644a4355743b24e86f68822858eef2df39a3b6415795276c7c4 SHA512 488adffc330bb372df245d2dfdaee357bcd4303cc33d7ee31fd7abc393ce366c78715ca4a6516795ada6b5517ca32fec5f24cdad15e0d2c109fa90ebd2f9b05c DIST pypdf-4.0.1.gh.tar.gz 7992979 BLAKE2B a072b50d177a89133bd5c7a74cae1d4f4ed5d6bcb1d78c68573c98f792a28a8ded26b5a82743a70ec2cd41651db8a19580cc48b0376c0dfe2f422826311914c3 SHA512 e9170b75ab00ce86580194bfa64ff3a31eb6fca62adc006478fcee3a78a99df269c75857672838c2b752b78b19174883cecb2eea5586878f81eb75474fabee6d DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-3.17.4.ebuild b/dev-python/pypdf/pypdf-3.17.4.ebuild deleted file mode 100644 index 202f6fc746fa.. --- a/dev-python/pypdf/pypdf-3.17.4.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - tests/test_writer.py::test_remove_image_per_type - # TODO: requires fpdf - tests/test_page.py::test_compression - tests/test_writer.py::test_merging_many_temporary_files -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-4.0.0.ebuild b/dev-python/pypdf/pypdf-4.0.0.ebuild deleted file mode 100644 index 6626238ceb3f.. --- a/dev-python/pypdf/pypdf-4.0.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -BDEPEND=" - test? ( -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 3746cff0f06fa1d55c635b8b21f4ab39b32df744 Author: Sam James gentoo org> AuthorDate: Wed Feb 14 16:42:56 2024 + Commit: Sam James gentoo org> CommitDate: Wed Feb 14 16:42:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3746cff0 dev-python/pypdf: Stabilize 4.0.1 amd64, #924518 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-4.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.0.1.ebuild b/dev-python/pypdf/pypdf-4.0.1.ebuild index 47582559e9ff..9392995da2d7 100644 --- a/dev-python/pypdf/pypdf-4.0.1.ebuild +++ b/dev-python/pypdf/pypdf-4.0.1.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 arm64 ~ppc64 x86" +KEYWORDS="amd64 arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/, dev-python/pypdf/files/
commit: bb8693a45074c0e4b72b9b3f9b697299e855f071 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 30 15:07:24 2024 + Commit: Michał Górny gentoo org> CommitDate: Tue Jan 30 16:35:57 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb8693a4 dev-python/pypdf: Backport pytest-8 test fixes Closes: https://bugs.gentoo.org/923251 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/files/pypdf-4.0.1-pytest-8.patch | 80 +++ dev-python/pypdf/pypdf-4.0.1.ebuild | 19 -- 2 files changed, 92 insertions(+), 7 deletions(-) diff --git a/dev-python/pypdf/files/pypdf-4.0.1-pytest-8.patch b/dev-python/pypdf/files/pypdf-4.0.1-pytest-8.patch new file mode 100644 index ..16b685970b55 --- /dev/null +++ b/dev-python/pypdf/files/pypdf-4.0.1-pytest-8.patch @@ -0,0 +1,80 @@ +From 7fd67692faf502663c001b38e48083c68876085b Mon Sep 17 00:00:00 2001 +From: Stefan <96178532+stefan6419...@users.noreply.github.com> +Date: Mon, 29 Jan 2024 15:43:52 +0100 +Subject: [PATCH 1/2] TST: Avoid catching not emitted warnings + +--- + tests/test_reader.py | 10 +- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/tests/test_reader.py b/tests/test_reader.py +index 98f73a01c..ad289c296 100644 +--- a/tests/test_reader.py b/tests/test_reader.py +@@ -335,7 +335,7 @@ def test_get_images_raw( + ) + pdf_stream = io.BytesIO(pdf_data) + if should_fail: +-with pytest.raises(PdfReadError) as exc, pytest.warns(PdfReadWarning): ++with pytest.raises(PdfReadError) as exc: + PdfReader(pdf_stream, strict=strict) + assert exc.type == PdfReadError + if startx_correction == -1: +@@ -530,7 +530,7 @@ def test_read_prev_0_trailer(): + pdf_data.find(b"xref") - 1, + ) + pdf_stream = io.BytesIO(pdf_data) +-with pytest.raises(PdfReadError) as exc, pytest.warns(PdfReadWarning): ++with pytest.raises(PdfReadError) as exc: + PdfReader(pdf_stream, strict=True) + assert exc.value.args[0] == "/Prev=0 in the trailer (try opening with strict=False)" + +@@ -607,7 +607,7 @@ def test_read_unknown_zero_pages(caplog): + "Xref table not zero-indexed. ID numbers for objects will be corrected.", + ] + assert normalize_warnings(caplog.text) == warnings +-with pytest.raises(PdfReadError) as exc, pytest.warns(PdfReadWarning): ++with pytest.raises(PdfReadError) as exc: + len(reader.pages) + + assert exc.value.args[0] == "Could not find object." +@@ -617,7 +617,7 @@ def test_read_unknown_zero_pages(caplog): + "startxref on same line as offset", + ] + assert normalize_warnings(caplog.text) == warnings +-with pytest.raises(AttributeError) as exc, pytest.warns(PdfReadWarning): ++with pytest.raises(AttributeError) as exc: + len(reader.pages) + assert exc.value.args[0] == "'NoneType' object has no attribute 'get_object'" + +@@ -687,7 +687,7 @@ def test_issue604(caplog, strict): + outline = None + if strict: + pdf = PdfReader(f, strict=strict) +-with pytest.raises(PdfReadError) as exc, pytest.warns(PdfReadWarning): ++with pytest.raises(PdfReadError) as exc: + outline = pdf.outline + if "Unknown Destination" not in exc.value.args[0]: + raise Exception("Expected exception not raised") + +From 259128c25e25e23f284267d0abb9d7f1bd932de5 Mon Sep 17 00:00:00 2001 +From: Stefan <96178532+stefan6419...@users.noreply.github.com> +Date: Mon, 29 Jan 2024 15:46:34 +0100 +Subject: [PATCH 2/2] remove now unused import + +--- + tests/test_reader.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/tests/test_reader.py b/tests/test_reader.py +index ad289c296..c9c6be9b3 100644 +--- a/tests/test_reader.py b/tests/test_reader.py +@@ -17,7 +17,6 @@ + EmptyFileError, + FileNotDecryptedError, + PdfReadError, +-PdfReadWarning, + WrongPasswordError, + ) + from pypdf.generic import ( diff --git a/dev-python/pypdf/pypdf-4.0.1.ebuild b/dev-python/pypdf/pypdf-4.0.1.ebuild index 3035c819ee29..766a25f1da60 100644 --- a/dev-python/pypdf/pypdf-4.0.1.ebuild +++ b/dev-python/pypdf/pypdf-4.0.1.ebuild @@ -37,13 +37,9 @@ BDEPEND=" distutils_enable_tests pytest -EPYTEST_DESELECT=( - tests/test_reader.py::test_decode_permissions - tests/test_workflows.py::test_text_extraction_layout_mode - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - tests/test_writer.py::test_remove_image_per_type +PATCHES=( + # https://github.com/py-pdf/pypdf/pull/2429 + "${FILESDIR}/${P}-pytest-8.patch" ) src_unpack() { @@ -54,6 +50,15 @@ src_unpack() { } python_test() { + local EPYTEST_DESELECT=( + tests/test_reader.py::test_decode_permissions +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 25472a00801da3505804d4f8c2ca8d0dd08d1a67 Author: Michał Górny gentoo org> AuthorDate: Mon Jan 29 10:09:35 2024 + Commit: Michał Górny gentoo org> CommitDate: Mon Jan 29 10:09:35 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25472a00 dev-python/pypdf: Require dev-python/pillow[zlib] for tests Closes: https://bugs.gentoo.org/923221 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/pypdf-4.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-4.0.1.ebuild b/dev-python/pypdf/pypdf-4.0.1.ebuild index 4385d0858b72..3035c819ee29 100644 --- a/dev-python/pypdf/pypdf-4.0.1.ebuild +++ b/dev-python/pypdf/pypdf-4.0.1.ebuild @@ -30,7 +30,7 @@ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" BDEPEND=" test? ( dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] ) "
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: ec74b7d4c268498454b86b133fe525409e858209 Author: Michał Górny gentoo org> AuthorDate: Mon Jan 29 04:58:29 2024 + Commit: Michał Górny gentoo org> CommitDate: Mon Jan 29 04:58:29 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec74b7d4 dev-python/pypdf: Bump to 4.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-4.0.1.ebuild | 59 + 2 files changed, 60 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 86b402ab63b5..691e95ae815b 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,4 @@ DIST pypdf-3.17.4.gh.tar.gz 7976829 BLAKE2B c2b7aef937186aecf525729f336ad6d00a8bf40850be17cb450daba5d0100acc0b0c3f51ef242e3cf7ef710d5c40c9f334db94a372b6d6eb4f2270dc00dde156 SHA512 f687a2032f085dac9b920f881f2df9f96e4da2a8dcdd5f971d3601ab05ae4f9b5528d0155adcb5ef01c6d8ffdc4f3d79077706915851bad7868bf761d28c513a DIST pypdf-4.0.0.gh.tar.gz 7992828 BLAKE2B 97ab3783ab91ebc638b625fe39c3008516de82f1ac384a45ef27a06bb0b91a86a5fdc24efbb92644a4355743b24e86f68822858eef2df39a3b6415795276c7c4 SHA512 488adffc330bb372df245d2dfdaee357bcd4303cc33d7ee31fd7abc393ce366c78715ca4a6516795ada6b5517ca32fec5f24cdad15e0d2c109fa90ebd2f9b05c +DIST pypdf-4.0.1.gh.tar.gz 7992979 BLAKE2B a072b50d177a89133bd5c7a74cae1d4f4ed5d6bcb1d78c68573c98f792a28a8ded26b5a82743a70ec2cd41651db8a19580cc48b0376c0dfe2f422826311914c3 SHA512 e9170b75ab00ce86580194bfa64ff3a31eb6fca62adc006478fcee3a78a99df269c75857672838c2b752b78b19174883cecb2eea5586878f81eb75474fabee6d DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-4.0.1.ebuild b/dev-python/pypdf/pypdf-4.0.1.ebuild new file mode 100644 index ..4385d0858b72 --- /dev/null +++ b/dev-python/pypdf/pypdf-4.0.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_reader.py::test_decode_permissions + tests/test_workflows.py::test_text_extraction_layout_mode + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: e86940ab2e32892f76fa5542e21c27d09f28f336 Author: Michał Górny gentoo org> AuthorDate: Sun Jan 28 17:36:22 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Jan 28 19:36:54 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e86940ab dev-python/pypdf: Add dev-python/pyyaml test dep Closes: https://bugs.gentoo.org/923137 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/pypdf-4.0.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pypdf/pypdf-4.0.0.ebuild b/dev-python/pypdf/pypdf-4.0.0.ebuild index e314f1fdfa84..6626238ceb3f 100644 --- a/dev-python/pypdf/pypdf-4.0.0.ebuild +++ b/dev-python/pypdf/pypdf-4.0.0.ebuild @@ -31,6 +31,7 @@ BDEPEND=" test? ( dev-python/cryptography[${PYTHON_USEDEP}] >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] ) "
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 5940874894a329b65f9a82b1f87b8097ec93d6d6 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 19 17:46:48 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 19 18:27:51 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59408748 dev-python/pypdf: add 4.0.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-4.0.0.ebuild | 61 + 2 files changed, 62 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 8a36b64c5569..86b402ab63b5 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-3.17.4.gh.tar.gz 7976829 BLAKE2B c2b7aef937186aecf525729f336ad6d00a8bf40850be17cb450daba5d0100acc0b0c3f51ef242e3cf7ef710d5c40c9f334db94a372b6d6eb4f2270dc00dde156 SHA512 f687a2032f085dac9b920f881f2df9f96e4da2a8dcdd5f971d3601ab05ae4f9b5528d0155adcb5ef01c6d8ffdc4f3d79077706915851bad7868bf761d28c513a +DIST pypdf-4.0.0.gh.tar.gz 7992828 BLAKE2B 97ab3783ab91ebc638b625fe39c3008516de82f1ac384a45ef27a06bb0b91a86a5fdc24efbb92644a4355743b24e86f68822858eef2df39a3b6415795276c7c4 SHA512 488adffc330bb372df245d2dfdaee357bcd4303cc33d7ee31fd7abc393ce366c78715ca4a6516795ada6b5517ca32fec5f24cdad15e0d2c109fa90ebd2f9b05c DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-4.0.0.ebuild b/dev-python/pypdf/pypdf-4.0.0.ebuild new file mode 100644 index ..e314f1fdfa84 --- /dev/null +++ b/dev-python/pypdf/pypdf-4.0.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_reader.py::test_decode_permissions + tests/test_workflows.py::test_text_extraction_layout_mode + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 1046750e956fe542811dc7440435e07498a5afdc Author: Michał Górny gentoo org> AuthorDate: Sat Jan 13 12:45:09 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 13 12:45:09 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1046750e dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 3 -- dev-python/pypdf/pypdf-3.17.1.ebuild | 59 dev-python/pypdf/pypdf-3.17.2.ebuild | 59 dev-python/pypdf/pypdf-3.17.3.ebuild | 59 4 files changed, 180 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index b4b866a7cd20..8a36b64c5569 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,5 +1,2 @@ -DIST pypdf-3.17.1.gh.tar.gz 7975263 BLAKE2B 27b413dd5f127e22cc0116baeee62115f4b02b2ff39f27b8a7884af2389423c332114cfa826a090683c2ab6583b1a549ee1de775869eaaa0a09237aa52a65ebd SHA512 c23294a67bee6ef4e673c02b045c9ec2d3471f93bfc8530959a02289f94b0aa47e79b24bddd0603731c39ddc5197fc6fc10e668bbd1077a32ecdfc1d33740397 -DIST pypdf-3.17.2.gh.tar.gz 7977562 BLAKE2B d33413b1efe38bc147156e199851a2afb712960a377c675ec2197a720d00ef18d143a1176312c8b9b7681839024fb26544b6c09a482e3e24c9041c3d2d191cd1 SHA512 430bae4aeb1ffb8c75fd95daf04622d082725cdcf01637e2e42234bbc867360d9c5e6ebd3782608c1299f9fa1ec7598c49b0195750f58d0d16c3d744895606d8 -DIST pypdf-3.17.3.gh.tar.gz 7977650 BLAKE2B eee1e5d86fcd32faa0919f2e9bb8c1cd2630d75f6030f9db05a2b71993038452fbed05bbb5dc63d3562038da19c784170e24682054ad669a35b8027f47cc2d45 SHA512 fe91b4f1d6ad9394e41bcdaa99adb5a6fe15df70a1db0858f560f63352aa279446ad802738306d5d7bd58c699069872a777997621b62429137da5c53b4595ca6 DIST pypdf-3.17.4.gh.tar.gz 7976829 BLAKE2B c2b7aef937186aecf525729f336ad6d00a8bf40850be17cb450daba5d0100acc0b0c3f51ef242e3cf7ef710d5c40c9f334db94a372b6d6eb4f2270dc00dde156 SHA512 f687a2032f085dac9b920f881f2df9f96e4da2a8dcdd5f971d3601ab05ae4f9b5528d0155adcb5ef01c6d8ffdc4f3d79077706915851bad7868bf761d28c513a DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-3.17.1.ebuild b/dev-python/pypdf/pypdf-3.17.1.ebuild deleted file mode 100644 index 25bd394754bc.. --- a/dev-python/pypdf/pypdf-3.17.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - tests/test_writer.py::test_remove_image_per_type - # TODO: requires fpdf - tests/test_page.py::test_compression - tests/test_writer.py::test_merging_many_temporary_files -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.17.2.ebuild b/dev-python/pypdf/pypdf-3.17.2.ebuild deleted file mode 100644 index c3de6265ee0d.. --- a/dev-python/pypdf/pypdf-3.17.2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: e1cd308f87d21796df251b9a697c3eb7ac52a426 Author: Sam James gentoo org> AuthorDate: Sat Jan 13 12:01:36 2024 + Commit: Sam James gentoo org> CommitDate: Sat Jan 13 12:01:36 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1cd308f dev-python/pypdf: Stabilize 3.17.4 arm64, #922013 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.17.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.17.4.ebuild b/dev-python/pypdf/pypdf-3.17.4.ebuild index c9a9247bdfba..202f6fc746fa 100644 --- a/dev-python/pypdf/pypdf-3.17.4.ebuild +++ b/dev-python/pypdf/pypdf-3.17.4.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 64eb742f9cec5b463e926f9bfd7fb67b251e8332 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 13 10:00:38 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 13 10:00:38 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64eb742f dev-python/pypdf: Stabilize 3.17.4 amd64, #922013 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-3.17.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.17.4.ebuild b/dev-python/pypdf/pypdf-3.17.4.ebuild index fd293682f79a..c9a9247bdfba 100644 --- a/dev-python/pypdf/pypdf-3.17.4.ebuild +++ b/dev-python/pypdf/pypdf-3.17.4.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 4b7bb6ebe491360ab9f8b7a18829ee062e598791 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 13 09:22:31 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 13 09:22:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7bb6eb dev-python/pypdf: Stabilize 3.17.4 x86, #922013 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-3.17.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pypdf/pypdf-3.17.4.ebuild b/dev-python/pypdf/pypdf-3.17.4.ebuild index c3de6265ee0d..fd293682f79a 100644 --- a/dev-python/pypdf/pypdf-3.17.4.ebuild +++ b/dev-python/pypdf/pypdf-3.17.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 5611d4210213bb22e1220e109015207061a21063 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 25 06:48:53 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Dec 25 07:06:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5611d421 dev-python/pypdf: Bump to 3.17.4 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.17.4.ebuild | 59 2 files changed, 60 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 46ff1aa4af8b..b4b866a7cd20 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,5 @@ DIST pypdf-3.17.1.gh.tar.gz 7975263 BLAKE2B 27b413dd5f127e22cc0116baeee62115f4b02b2ff39f27b8a7884af2389423c332114cfa826a090683c2ab6583b1a549ee1de775869eaaa0a09237aa52a65ebd SHA512 c23294a67bee6ef4e673c02b045c9ec2d3471f93bfc8530959a02289f94b0aa47e79b24bddd0603731c39ddc5197fc6fc10e668bbd1077a32ecdfc1d33740397 DIST pypdf-3.17.2.gh.tar.gz 7977562 BLAKE2B d33413b1efe38bc147156e199851a2afb712960a377c675ec2197a720d00ef18d143a1176312c8b9b7681839024fb26544b6c09a482e3e24c9041c3d2d191cd1 SHA512 430bae4aeb1ffb8c75fd95daf04622d082725cdcf01637e2e42234bbc867360d9c5e6ebd3782608c1299f9fa1ec7598c49b0195750f58d0d16c3d744895606d8 DIST pypdf-3.17.3.gh.tar.gz 7977650 BLAKE2B eee1e5d86fcd32faa0919f2e9bb8c1cd2630d75f6030f9db05a2b71993038452fbed05bbb5dc63d3562038da19c784170e24682054ad669a35b8027f47cc2d45 SHA512 fe91b4f1d6ad9394e41bcdaa99adb5a6fe15df70a1db0858f560f63352aa279446ad802738306d5d7bd58c699069872a777997621b62429137da5c53b4595ca6 +DIST pypdf-3.17.4.gh.tar.gz 7976829 BLAKE2B c2b7aef937186aecf525729f336ad6d00a8bf40850be17cb450daba5d0100acc0b0c3f51ef242e3cf7ef710d5c40c9f334db94a372b6d6eb4f2270dc00dde156 SHA512 f687a2032f085dac9b920f881f2df9f96e4da2a8dcdd5f971d3601ab05ae4f9b5528d0155adcb5ef01c6d8ffdc4f3d79077706915851bad7868bf761d28c513a DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-3.17.4.ebuild b/dev-python/pypdf/pypdf-3.17.4.ebuild new file mode 100644 index ..c3de6265ee0d --- /dev/null +++ b/dev-python/pypdf/pypdf-3.17.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 34c1b9512bcf4e3d6acdae66ab48c081d29d700e Author: Michał Górny gentoo org> AuthorDate: Mon Dec 18 04:49:11 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Dec 18 05:18:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c1b951 dev-python/pypdf: Bump to 3.17.3 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.17.3.ebuild | 59 2 files changed, 60 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 60622c7aa62e..46ff1aa4af8b 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,4 @@ DIST pypdf-3.17.1.gh.tar.gz 7975263 BLAKE2B 27b413dd5f127e22cc0116baeee62115f4b02b2ff39f27b8a7884af2389423c332114cfa826a090683c2ab6583b1a549ee1de775869eaaa0a09237aa52a65ebd SHA512 c23294a67bee6ef4e673c02b045c9ec2d3471f93bfc8530959a02289f94b0aa47e79b24bddd0603731c39ddc5197fc6fc10e668bbd1077a32ecdfc1d33740397 DIST pypdf-3.17.2.gh.tar.gz 7977562 BLAKE2B d33413b1efe38bc147156e199851a2afb712960a377c675ec2197a720d00ef18d143a1176312c8b9b7681839024fb26544b6c09a482e3e24c9041c3d2d191cd1 SHA512 430bae4aeb1ffb8c75fd95daf04622d082725cdcf01637e2e42234bbc867360d9c5e6ebd3782608c1299f9fa1ec7598c49b0195750f58d0d16c3d744895606d8 +DIST pypdf-3.17.3.gh.tar.gz 7977650 BLAKE2B eee1e5d86fcd32faa0919f2e9bb8c1cd2630d75f6030f9db05a2b71993038452fbed05bbb5dc63d3562038da19c784170e24682054ad669a35b8027f47cc2d45 SHA512 fe91b4f1d6ad9394e41bcdaa99adb5a6fe15df70a1db0858f560f63352aa279446ad802738306d5d7bd58c699069872a777997621b62429137da5c53b4595ca6 DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-3.17.3.ebuild b/dev-python/pypdf/pypdf-3.17.3.ebuild new file mode 100644 index ..c3de6265ee0d --- /dev/null +++ b/dev-python/pypdf/pypdf-3.17.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 96ef0ae5565ad6f6ed7e23293581435387682b2e Author: Michał Górny gentoo org> AuthorDate: Mon Dec 11 03:11:18 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Dec 11 04:14:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ef0ae5 dev-python/pypdf: Bump to 3.17.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.17.2.ebuild | 59 2 files changed, 60 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index d126bfae49c6..60622c7aa62e 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-3.17.1.gh.tar.gz 7975263 BLAKE2B 27b413dd5f127e22cc0116baeee62115f4b02b2ff39f27b8a7884af2389423c332114cfa826a090683c2ab6583b1a549ee1de775869eaaa0a09237aa52a65ebd SHA512 c23294a67bee6ef4e673c02b045c9ec2d3471f93bfc8530959a02289f94b0aa47e79b24bddd0603731c39ddc5197fc6fc10e668bbd1077a32ecdfc1d33740397 +DIST pypdf-3.17.2.gh.tar.gz 7977562 BLAKE2B d33413b1efe38bc147156e199851a2afb712960a377c675ec2197a720d00ef18d143a1176312c8b9b7681839024fb26544b6c09a482e3e24c9041c3d2d191cd1 SHA512 430bae4aeb1ffb8c75fd95daf04622d082725cdcf01637e2e42234bbc867360d9c5e6ebd3782608c1299f9fa1ec7598c49b0195750f58d0d16c3d744895606d8 DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-3.17.2.ebuild b/dev-python/pypdf/pypdf-3.17.2.ebuild new file mode 100644 index ..c3de6265ee0d --- /dev/null +++ b/dev-python/pypdf/pypdf-3.17.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: f30094e51d43a9a8726a8aabe0edb12834ef0c82 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 25 06:58:05 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 25 06:58:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30094e5 dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 3 -- dev-python/pypdf/pypdf-3.16.4.ebuild | 57 -- dev-python/pypdf/pypdf-3.17.0.ebuild | 59 3 files changed, 119 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index ee6338d230b2..d126bfae49c6 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,5 +1,2 @@ -DIST pypdf-3.16.4.gh.tar.gz 7970008 BLAKE2B 86f622cf1ff6632a4645d564336fd8948970579f6bae241437701f333c2f336feab55f7e32a35b4f480577fe609958f492e73c1c9c5f1471af08e34c157f06b0 SHA512 7e7eb9759dfb3984b384a721e7d90ab5c30bd3c56d936260e5ad93cfdc9a2d6fff8a7354764125923ab8f029ac5366a2750cc1151676fb40be1eba1bb2a4 -DIST pypdf-3.17.0.gh.tar.gz 7974585 BLAKE2B e09840119845cf6b14887081f367b2a7ff9a88e4713cd1a940276ca0f83b6497ee07336ff02e7c43571cb39782e72f4f0b206fb3f692476e98d5c291b0193a25 SHA512 31b0298c26c117764494906ef940cb8f111d5b57b91849fbffb6a63682089e5bc0c59a4c068c90810f5d21ce67c8d71fb0c42d996f441bc287ad73e0c4710d97 DIST pypdf-3.17.1.gh.tar.gz 7975263 BLAKE2B 27b413dd5f127e22cc0116baeee62115f4b02b2ff39f27b8a7884af2389423c332114cfa826a090683c2ab6583b1a549ee1de775869eaaa0a09237aa52a65ebd SHA512 c23294a67bee6ef4e673c02b045c9ec2d3471f93bfc8530959a02289f94b0aa47e79b24bddd0603731c39ddc5197fc6fc10e668bbd1077a32ecdfc1d33740397 DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 -DIST pypdf-sample-files-d87c33efc0f98225132dfe9c47980208b8130aa4.gh.tar.gz 11645535 BLAKE2B 3f96adaf4abc50a4390d9432878571a0ef9dd43dd34f307bb4bb6fd110d5ecdde988578860f110a6c8578cef96eac5410ded3204989fd20e6a6f1a84fac2fe83 SHA512 cb68a2eb06ef6738bef979f3b20c66fb925fbcb029cb22dfa5ea9b23b71ba07cb8e364e14eca34ebeb3b11e367c94738e32c9067b56b4da505bf77ab402abd06 diff --git a/dev-python/pypdf/pypdf-3.16.4.ebuild b/dev-python/pypdf/pypdf-3.16.4.ebuild deleted file mode 100644 index 917739ffd61e.. --- a/dev-python/pypdf/pypdf-3.16.4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=d87c33efc0f98225132dfe9c47980208b8130aa4 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # TODO: requires fpdf - tests/test_page.py::test_compression - tests/test_writer.py::test_merging_many_temporary_files -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.17.0.ebuild b/dev-python/pypdf/pypdf-3.17.0.ebuild deleted file mode 100644 index aea5f7f1d1bd.. --- a/dev-python/pypdf/pypdf-3.17.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=d87c33efc0f98225132dfe9c47980208b8130aa4 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 0bceec66fe5f91b296c2c6f65e983a092d7e978e Author: Sam James gentoo org> AuthorDate: Sat Nov 25 06:36:25 2023 + Commit: Sam James gentoo org> CommitDate: Sat Nov 25 06:36:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bceec66 dev-python/pypdf: Stabilize 3.17.1 amd64, #918456 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.17.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.17.1.ebuild b/dev-python/pypdf/pypdf-3.17.1.ebuild index 7cadd62903dd..25bd394754bc 100644 --- a/dev-python/pypdf/pypdf-3.17.1.ebuild +++ b/dev-python/pypdf/pypdf-3.17.1.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: d7aea4bb39f95c692acdc5a3bc7fa3ec1b110e17 Author: Sam James gentoo org> AuthorDate: Sat Nov 25 06:36:24 2023 + Commit: Sam James gentoo org> CommitDate: Sat Nov 25 06:36:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7aea4bb dev-python/pypdf: Stabilize 3.17.1 x86, #918456 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.17.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.17.1.ebuild b/dev-python/pypdf/pypdf-3.17.1.ebuild index c3de6265ee0d..7cadd62903dd 100644 --- a/dev-python/pypdf/pypdf-3.17.1.ebuild +++ b/dev-python/pypdf/pypdf-3.17.1.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 21311cfba361e235562a3be06dfec423c38ed86b Author: Michał Górny gentoo org> AuthorDate: Tue Nov 14 19:59:52 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Nov 14 20:05:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21311cfb dev-python/pypdf: Bump to 3.17.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 2 ++ dev-python/pypdf/pypdf-3.17.1.ebuild | 59 2 files changed, 61 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index b472b6e1f8fa..ee6338d230b2 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,5 @@ DIST pypdf-3.16.4.gh.tar.gz 7970008 BLAKE2B 86f622cf1ff6632a4645d564336fd8948970579f6bae241437701f333c2f336feab55f7e32a35b4f480577fe609958f492e73c1c9c5f1471af08e34c157f06b0 SHA512 7e7eb9759dfb3984b384a721e7d90ab5c30bd3c56d936260e5ad93cfdc9a2d6fff8a7354764125923ab8f029ac5366a2750cc1151676fb40be1eba1bb2a4 DIST pypdf-3.17.0.gh.tar.gz 7974585 BLAKE2B e09840119845cf6b14887081f367b2a7ff9a88e4713cd1a940276ca0f83b6497ee07336ff02e7c43571cb39782e72f4f0b206fb3f692476e98d5c291b0193a25 SHA512 31b0298c26c117764494906ef940cb8f111d5b57b91849fbffb6a63682089e5bc0c59a4c068c90810f5d21ce67c8d71fb0c42d996f441bc287ad73e0c4710d97 +DIST pypdf-3.17.1.gh.tar.gz 7975263 BLAKE2B 27b413dd5f127e22cc0116baeee62115f4b02b2ff39f27b8a7884af2389423c332114cfa826a090683c2ab6583b1a549ee1de775869eaaa0a09237aa52a65ebd SHA512 c23294a67bee6ef4e673c02b045c9ec2d3471f93bfc8530959a02289f94b0aa47e79b24bddd0603731c39ddc5197fc6fc10e668bbd1077a32ecdfc1d33740397 +DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 DIST pypdf-sample-files-d87c33efc0f98225132dfe9c47980208b8130aa4.gh.tar.gz 11645535 BLAKE2B 3f96adaf4abc50a4390d9432878571a0ef9dd43dd34f307bb4bb6fd110d5ecdde988578860f110a6c8578cef96eac5410ded3204989fd20e6a6f1a84fac2fe83 SHA512 cb68a2eb06ef6738bef979f3b20c66fb925fbcb029cb22dfa5ea9b23b71ba07cb8e364e14eca34ebeb3b11e367c94738e32c9067b56b4da505bf77ab402abd06 diff --git a/dev-python/pypdf/pypdf-3.17.1.ebuild b/dev-python/pypdf/pypdf-3.17.1.ebuild new file mode 100644 index ..c3de6265ee0d --- /dev/null +++ b/dev-python/pypdf/pypdf-3.17.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: f2a331b3a89d33f6f56c520b98ad10d2201c5936 Author: Michał Górny gentoo org> AuthorDate: Mon Oct 30 17:51:59 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Oct 30 18:04:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a331b3 dev-python/pypdf: Bump to 3.17.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.17.0.ebuild | 59 2 files changed, 60 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index d39dff6e24b4..b472b6e1f8fa 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-3.16.4.gh.tar.gz 7970008 BLAKE2B 86f622cf1ff6632a4645d564336fd8948970579f6bae241437701f333c2f336feab55f7e32a35b4f480577fe609958f492e73c1c9c5f1471af08e34c157f06b0 SHA512 7e7eb9759dfb3984b384a721e7d90ab5c30bd3c56d936260e5ad93cfdc9a2d6fff8a7354764125923ab8f029ac5366a2750cc1151676fb40be1eba1bb2a4 +DIST pypdf-3.17.0.gh.tar.gz 7974585 BLAKE2B e09840119845cf6b14887081f367b2a7ff9a88e4713cd1a940276ca0f83b6497ee07336ff02e7c43571cb39782e72f4f0b206fb3f692476e98d5c291b0193a25 SHA512 31b0298c26c117764494906ef940cb8f111d5b57b91849fbffb6a63682089e5bc0c59a4c068c90810f5d21ce67c8d71fb0c42d996f441bc287ad73e0c4710d97 DIST pypdf-sample-files-d87c33efc0f98225132dfe9c47980208b8130aa4.gh.tar.gz 11645535 BLAKE2B 3f96adaf4abc50a4390d9432878571a0ef9dd43dd34f307bb4bb6fd110d5ecdde988578860f110a6c8578cef96eac5410ded3204989fd20e6a6f1a84fac2fe83 SHA512 cb68a2eb06ef6738bef979f3b20c66fb925fbcb029cb22dfa5ea9b23b71ba07cb8e364e14eca34ebeb3b11e367c94738e32c9067b56b4da505bf77ab402abd06 diff --git a/dev-python/pypdf/pypdf-3.17.0.ebuild b/dev-python/pypdf/pypdf-3.17.0.ebuild new file mode 100644 index ..aea5f7f1d1bd --- /dev/null +++ b/dev-python/pypdf/pypdf-3.17.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=d87c33efc0f98225132dfe9c47980208b8130aa4 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 961decd18d453eff7d314326070035b30786fad1 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 28 15:15:08 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Oct 28 15:23:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=961decd1 dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 5 dev-python/pypdf/pypdf-3.15.5.ebuild | 56 --- dev-python/pypdf/pypdf-3.16.2.ebuild | 56 --- dev-python/pypdf/pypdf-3.16.3.ebuild | 57 4 files changed, 174 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 14bb27747705..d39dff6e24b4 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,7 +1,2 @@ -DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 -DIST pypdf-3.16.2.gh.tar.gz 7968803 BLAKE2B 7bca0cf5baefb79d9c3a76445fd5cf77478a2f076f5c3e6c891d9f107cbb2ee08535388ae1ba84b0aeaf63ebebfe54966603cbeb7a5a2c0b0327e7506893d893 SHA512 01dfdcf5038820dd0d922e57cfa3eae472a406eca4d24a46596028aa23d0bb88a805204faa3576e3ed4e49ba552619002b2be305498b31e9b96afa19a2575f7d -DIST pypdf-3.16.3.gh.tar.gz 7969623 BLAKE2B f7e09af12483500c47d88395b52d00315e6e4943631223aa89111f79d6e0ac6714450895ef48086c79ff4e325c8e79b937deea3c06e76848349e379a70d3e8dd SHA512 54db6f2e7946b3785379949f54f9e11c00f4e8cc210923b1007e02820d0e87951146e684751c67e5d66058b5600f83c00371bafae2f0c6068ade966c36623d0f DIST pypdf-3.16.4.gh.tar.gz 7970008 BLAKE2B 86f622cf1ff6632a4645d564336fd8948970579f6bae241437701f333c2f336feab55f7e32a35b4f480577fe609958f492e73c1c9c5f1471af08e34c157f06b0 SHA512 7e7eb9759dfb3984b384a721e7d90ab5c30bd3c56d936260e5ad93cfdc9a2d6fff8a7354764125923ab8f029ac5366a2750cc1151676fb40be1eba1bb2a4 -DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 -DIST pypdf-sample-files-b60ca63512466d1bafc587a2b223961b23a8e48a.gh.tar.gz 11199764 BLAKE2B e68bfb587c26a7a0ba9bb687e2b44d607cf890454dc2e5380db4037cb9a0be571e72b178d5ac86a0556f09fc344fc6ea76ee87bf9c6dee63799853acaba714b0 SHA512 20ff1d623a67fd0b08e1dfefc47d29ed28b5c62f1e0ef5a32699876e265541d97c10067ec954a387ba4952319d6903fb3d4db97e686200f9142329db06a11a7b DIST pypdf-sample-files-d87c33efc0f98225132dfe9c47980208b8130aa4.gh.tar.gz 11645535 BLAKE2B 3f96adaf4abc50a4390d9432878571a0ef9dd43dd34f307bb4bb6fd110d5ecdde988578860f110a6c8578cef96eac5410ded3204989fd20e6a6f1a84fac2fe83 SHA512 cb68a2eb06ef6738bef979f3b20c66fb925fbcb029cb22dfa5ea9b23b71ba07cb8e364e14eca34ebeb3b11e367c94738e32c9067b56b4da505bf77ab402abd06 diff --git a/dev-python/pypdf/pypdf-3.15.5.ebuild b/dev-python/pypdf/pypdf-3.15.5.ebuild deleted file mode 100644 index c5f404e416a3.. --- a/dev-python/pypdf/pypdf-3.15.5.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # TODO: requires fpdf - tests/test_page.py::test_compression -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.16.2.ebuild b/dev-python/pypdf/pypdf-3.16.2.ebuild deleted file mode 100644
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 79f04372c747094dd9705ed2807c5fcb5f202898 Author: Sam James gentoo org> AuthorDate: Fri Oct 27 19:31:10 2023 + Commit: Sam James gentoo org> CommitDate: Fri Oct 27 19:31:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79f04372 dev-python/pypdf: Stabilize 3.16.4 amd64, #916362 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.16.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.16.4.ebuild b/dev-python/pypdf/pypdf-3.16.4.ebuild index 036ff7bc421d..bd97fe0a6201 100644 --- a/dev-python/pypdf/pypdf-3.16.4.ebuild +++ b/dev-python/pypdf/pypdf-3.16.4.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 43d27d8ccaf6828ee25485df18abeb8581e14f95 Author: Sam James gentoo org> AuthorDate: Fri Oct 27 19:31:12 2023 + Commit: Sam James gentoo org> CommitDate: Fri Oct 27 19:31:12 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d27d8c dev-python/pypdf: Stabilize 3.16.4 x86, #916362 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.16.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.16.4.ebuild b/dev-python/pypdf/pypdf-3.16.4.ebuild index bd97fe0a6201..917739ffd61e 100644 --- a/dev-python/pypdf/pypdf-3.16.4.ebuild +++ b/dev-python/pypdf/pypdf-3.16.4.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 2c6f68bd60c06dc968315a0cd97d8a1dde71888f Author: Michał Górny gentoo org> AuthorDate: Wed Oct 11 03:16:31 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed Oct 11 03:22:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6f68bd dev-python/pypdf: Bump to 3.16.4 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.16.4.ebuild | 57 2 files changed, 58 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index f15f3220257b..14bb27747705 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,6 +1,7 @@ DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 DIST pypdf-3.16.2.gh.tar.gz 7968803 BLAKE2B 7bca0cf5baefb79d9c3a76445fd5cf77478a2f076f5c3e6c891d9f107cbb2ee08535388ae1ba84b0aeaf63ebebfe54966603cbeb7a5a2c0b0327e7506893d893 SHA512 01dfdcf5038820dd0d922e57cfa3eae472a406eca4d24a46596028aa23d0bb88a805204faa3576e3ed4e49ba552619002b2be305498b31e9b96afa19a2575f7d DIST pypdf-3.16.3.gh.tar.gz 7969623 BLAKE2B f7e09af12483500c47d88395b52d00315e6e4943631223aa89111f79d6e0ac6714450895ef48086c79ff4e325c8e79b937deea3c06e76848349e379a70d3e8dd SHA512 54db6f2e7946b3785379949f54f9e11c00f4e8cc210923b1007e02820d0e87951146e684751c67e5d66058b5600f83c00371bafae2f0c6068ade966c36623d0f +DIST pypdf-3.16.4.gh.tar.gz 7970008 BLAKE2B 86f622cf1ff6632a4645d564336fd8948970579f6bae241437701f333c2f336feab55f7e32a35b4f480577fe609958f492e73c1c9c5f1471af08e34c157f06b0 SHA512 7e7eb9759dfb3984b384a721e7d90ab5c30bd3c56d936260e5ad93cfdc9a2d6fff8a7354764125923ab8f029ac5366a2750cc1151676fb40be1eba1bb2a4 DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 DIST pypdf-sample-files-b60ca63512466d1bafc587a2b223961b23a8e48a.gh.tar.gz 11199764 BLAKE2B e68bfb587c26a7a0ba9bb687e2b44d607cf890454dc2e5380db4037cb9a0be571e72b178d5ac86a0556f09fc344fc6ea76ee87bf9c6dee63799853acaba714b0 SHA512 20ff1d623a67fd0b08e1dfefc47d29ed28b5c62f1e0ef5a32699876e265541d97c10067ec954a387ba4952319d6903fb3d4db97e686200f9142329db06a11a7b DIST pypdf-sample-files-d87c33efc0f98225132dfe9c47980208b8130aa4.gh.tar.gz 11645535 BLAKE2B 3f96adaf4abc50a4390d9432878571a0ef9dd43dd34f307bb4bb6fd110d5ecdde988578860f110a6c8578cef96eac5410ded3204989fd20e6a6f1a84fac2fe83 SHA512 cb68a2eb06ef6738bef979f3b20c66fb925fbcb029cb22dfa5ea9b23b71ba07cb8e364e14eca34ebeb3b11e367c94738e32c9067b56b4da505bf77ab402abd06 diff --git a/dev-python/pypdf/pypdf-3.16.4.ebuild b/dev-python/pypdf/pypdf-3.16.4.ebuild new file mode 100644 index ..036ff7bc421d --- /dev/null +++ b/dev-python/pypdf/pypdf-3.16.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=d87c33efc0f98225132dfe9c47980208b8130aa4 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 6a9d5258193eb571fed75437cdec796e0bc7121f Author: Michał Górny gentoo org> AuthorDate: Sun Oct 8 17:02:15 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Oct 8 17:47:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a9d5258 dev-python/pypdf: Bump to 3.16.3 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 2 ++ dev-python/pypdf/pypdf-3.16.3.ebuild | 57 2 files changed, 59 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 06f7f703576d..f15f3220257b 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,6 @@ DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 DIST pypdf-3.16.2.gh.tar.gz 7968803 BLAKE2B 7bca0cf5baefb79d9c3a76445fd5cf77478a2f076f5c3e6c891d9f107cbb2ee08535388ae1ba84b0aeaf63ebebfe54966603cbeb7a5a2c0b0327e7506893d893 SHA512 01dfdcf5038820dd0d922e57cfa3eae472a406eca4d24a46596028aa23d0bb88a805204faa3576e3ed4e49ba552619002b2be305498b31e9b96afa19a2575f7d +DIST pypdf-3.16.3.gh.tar.gz 7969623 BLAKE2B f7e09af12483500c47d88395b52d00315e6e4943631223aa89111f79d6e0ac6714450895ef48086c79ff4e325c8e79b937deea3c06e76848349e379a70d3e8dd SHA512 54db6f2e7946b3785379949f54f9e11c00f4e8cc210923b1007e02820d0e87951146e684751c67e5d66058b5600f83c00371bafae2f0c6068ade966c36623d0f DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 DIST pypdf-sample-files-b60ca63512466d1bafc587a2b223961b23a8e48a.gh.tar.gz 11199764 BLAKE2B e68bfb587c26a7a0ba9bb687e2b44d607cf890454dc2e5380db4037cb9a0be571e72b178d5ac86a0556f09fc344fc6ea76ee87bf9c6dee63799853acaba714b0 SHA512 20ff1d623a67fd0b08e1dfefc47d29ed28b5c62f1e0ef5a32699876e265541d97c10067ec954a387ba4952319d6903fb3d4db97e686200f9142329db06a11a7b +DIST pypdf-sample-files-d87c33efc0f98225132dfe9c47980208b8130aa4.gh.tar.gz 11645535 BLAKE2B 3f96adaf4abc50a4390d9432878571a0ef9dd43dd34f307bb4bb6fd110d5ecdde988578860f110a6c8578cef96eac5410ded3204989fd20e6a6f1a84fac2fe83 SHA512 cb68a2eb06ef6738bef979f3b20c66fb925fbcb029cb22dfa5ea9b23b71ba07cb8e364e14eca34ebeb3b11e367c94738e32c9067b56b4da505bf77ab402abd06 diff --git a/dev-python/pypdf/pypdf-3.16.3.ebuild b/dev-python/pypdf/pypdf-3.16.3.ebuild new file mode 100644 index ..036ff7bc421d --- /dev/null +++ b/dev-python/pypdf/pypdf-3.16.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=d87c33efc0f98225132dfe9c47980208b8130aa4 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 9154baed08f2616469d08941d04fe5e4849f21c5 Author: Michał Górny gentoo org> AuthorDate: Tue Sep 26 04:43:56 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Sep 26 04:43:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9154baed dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 6 dev-python/pypdf/pypdf-3.15.1.ebuild | 56 dev-python/pypdf/pypdf-3.15.2.ebuild | 56 dev-python/pypdf/pypdf-3.15.3.ebuild | 56 dev-python/pypdf/pypdf-3.15.4.ebuild | 56 dev-python/pypdf/pypdf-3.16.0.ebuild | 56 dev-python/pypdf/pypdf-3.16.1.ebuild | 56 7 files changed, 342 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index cbdcec91b17c..06f7f703576d 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,10 +1,4 @@ -DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 -DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 -DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47cf958464f2e4c6507dd089810ad61ccbbf0922d592d190f3effc88ed0c0cf3331e634616e985aedc4a026d5e4f52 SHA512 8fc82cc204a807ab308b21c8665162710fd9a3fb58fd8177fe559b801247ad8a8c949ce58d2879b6b64c040d137eb6731a76b533308b30e556a59bd33ae6b12e -DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e576f52327a53e0d02eef38dcbe8d3524a3a33bc6b9103920fdc6322d75e5e82e76ad88c4166b5d13cb4bcda3ed0f SHA512 8d7db1c52700a2c9ec37c1756d04555708f4c859394c4866316d94470742a8d7900e5ec5d8fb2124ad285efc4848071d373347353226959b21dff84425b46513 DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 -DIST pypdf-3.16.0.gh.tar.gz 7936276 BLAKE2B 9b20c57f3bd5ccce0bd5bf71c7e084117a37450ddd7e126b03d58920bfb5896151a3a42253a96cd2e316696a19fab4c1c1743988ba85585867dff45ae98c254a SHA512 23dbb67b1a4455326133f1621e763752994baba55cd85191bcb61691bfd43f2e29f7ee11eb5d65415897e7f7af3367d1dc830a0d0e2f6ff0e3103ccb3b60d0c7 -DIST pypdf-3.16.1.gh.tar.gz 7948024 BLAKE2B f35399af13418c4136d7f20763e875f5572759db0da25cada1bb076645db651a77c1e6cf244087cc2d3d6c9b786dfdbf887aa46ed8b48f9d0103618e60b0e8ad SHA512 d81b15c097c2eaa41ec421bc9fda47bd05f3cd3726834baff7024201c0a0f70d8cc5df5aae8471fe361be765b7874b4a93779eb3fdb1c266f8bdb4f1f3835ebd DIST pypdf-3.16.2.gh.tar.gz 7968803 BLAKE2B 7bca0cf5baefb79d9c3a76445fd5cf77478a2f076f5c3e6c891d9f107cbb2ee08535388ae1ba84b0aeaf63ebebfe54966603cbeb7a5a2c0b0327e7506893d893 SHA512 01dfdcf5038820dd0d922e57cfa3eae472a406eca4d24a46596028aa23d0bb88a805204faa3576e3ed4e49ba552619002b2be305498b31e9b96afa19a2575f7d DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 DIST pypdf-sample-files-b60ca63512466d1bafc587a2b223961b23a8e48a.gh.tar.gz 11199764 BLAKE2B e68bfb587c26a7a0ba9bb687e2b44d607cf890454dc2e5380db4037cb9a0be571e72b178d5ac86a0556f09fc344fc6ea76ee87bf9c6dee63799853acaba714b0 SHA512 20ff1d623a67fd0b08e1dfefc47d29ed28b5c62f1e0ef5a32699876e265541d97c10067ec954a387ba4952319d6903fb3d4db97e686200f9142329db06a11a7b diff --git a/dev-python/pypdf/pypdf-3.15.1.ebuild b/dev-python/pypdf/pypdf-3.15.1.ebuild deleted file mode 100644 index c5f404e416a3.. --- a/dev-python/pypdf/pypdf-3.15.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: b3f87c2429b1311845d3390ba2ef5335687dc43c Author: Sam James gentoo org> AuthorDate: Mon Sep 25 19:25:55 2023 + Commit: Sam James gentoo org> CommitDate: Mon Sep 25 19:25:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f87c24 dev-python/pypdf: Stabilize 3.15.5 amd64, #914683 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.15.5.ebuild b/dev-python/pypdf/pypdf-3.15.5.ebuild index d19a96830d57..c5f404e416a3 100644 --- a/dev-python/pypdf/pypdf-3.15.5.ebuild +++ b/dev-python/pypdf/pypdf-3.15.5.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 53885b6f18ff48f999d13245d8d62f1d960368d9 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Sep 25 18:27:27 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Sep 25 18:27:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53885b6f dev-python/pypdf: Stabilize 3.15.5 x86, #914683 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-3.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.15.5.ebuild b/dev-python/pypdf/pypdf-3.15.5.ebuild index bd9de5c7eff6..d19a96830d57 100644 --- a/dev-python/pypdf/pypdf-3.15.5.ebuild +++ b/dev-python/pypdf/pypdf-3.15.5.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 564f87b7a6b4ec9aa843252e4df5d39859ec328a Author: Michał Górny gentoo org> AuthorDate: Mon Sep 25 02:26:24 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Sep 25 02:55:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=564f87b7 dev-python/pypdf: Bump to 3.16.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.16.2.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 64f7a46450e4..cbdcec91b17c 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -5,5 +5,6 @@ DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 DIST pypdf-3.16.0.gh.tar.gz 7936276 BLAKE2B 9b20c57f3bd5ccce0bd5bf71c7e084117a37450ddd7e126b03d58920bfb5896151a3a42253a96cd2e316696a19fab4c1c1743988ba85585867dff45ae98c254a SHA512 23dbb67b1a4455326133f1621e763752994baba55cd85191bcb61691bfd43f2e29f7ee11eb5d65415897e7f7af3367d1dc830a0d0e2f6ff0e3103ccb3b60d0c7 DIST pypdf-3.16.1.gh.tar.gz 7948024 BLAKE2B f35399af13418c4136d7f20763e875f5572759db0da25cada1bb076645db651a77c1e6cf244087cc2d3d6c9b786dfdbf887aa46ed8b48f9d0103618e60b0e8ad SHA512 d81b15c097c2eaa41ec421bc9fda47bd05f3cd3726834baff7024201c0a0f70d8cc5df5aae8471fe361be765b7874b4a93779eb3fdb1c266f8bdb4f1f3835ebd +DIST pypdf-3.16.2.gh.tar.gz 7968803 BLAKE2B 7bca0cf5baefb79d9c3a76445fd5cf77478a2f076f5c3e6c891d9f107cbb2ee08535388ae1ba84b0aeaf63ebebfe54966603cbeb7a5a2c0b0327e7506893d893 SHA512 01dfdcf5038820dd0d922e57cfa3eae472a406eca4d24a46596028aa23d0bb88a805204faa3576e3ed4e49ba552619002b2be305498b31e9b96afa19a2575f7d DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 DIST pypdf-sample-files-b60ca63512466d1bafc587a2b223961b23a8e48a.gh.tar.gz 11199764 BLAKE2B e68bfb587c26a7a0ba9bb687e2b44d607cf890454dc2e5380db4037cb9a0be571e72b178d5ac86a0556f09fc344fc6ea76ee87bf9c6dee63799853acaba714b0 SHA512 20ff1d623a67fd0b08e1dfefc47d29ed28b5c62f1e0ef5a32699876e265541d97c10067ec954a387ba4952319d6903fb3d4db97e686200f9142329db06a11a7b diff --git a/dev-python/pypdf/pypdf-3.16.2.ebuild b/dev-python/pypdf/pypdf-3.16.2.ebuild new file mode 100644 index ..870063ae2143 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.16.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=b60ca63512466d1bafc587a2b223961b23a8e48a +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: e7da35b1ae4c63fd2fec2d7f9d7a6cea43cc2d11 Author: Michał Górny gentoo org> AuthorDate: Mon Sep 18 02:26:43 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Sep 18 02:37:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7da35b1 dev-python/pypdf: Bump to 3.16.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 2 ++ dev-python/pypdf/pypdf-3.16.1.ebuild | 56 2 files changed, 58 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 2c53282aea6c..64f7a46450e4 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -4,4 +4,6 @@ DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47 DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e576f52327a53e0d02eef38dcbe8d3524a3a33bc6b9103920fdc6322d75e5e82e76ad88c4166b5d13cb4bcda3ed0f SHA512 8d7db1c52700a2c9ec37c1756d04555708f4c859394c4866316d94470742a8d7900e5ec5d8fb2124ad285efc4848071d373347353226959b21dff84425b46513 DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 DIST pypdf-3.16.0.gh.tar.gz 7936276 BLAKE2B 9b20c57f3bd5ccce0bd5bf71c7e084117a37450ddd7e126b03d58920bfb5896151a3a42253a96cd2e316696a19fab4c1c1743988ba85585867dff45ae98c254a SHA512 23dbb67b1a4455326133f1621e763752994baba55cd85191bcb61691bfd43f2e29f7ee11eb5d65415897e7f7af3367d1dc830a0d0e2f6ff0e3103ccb3b60d0c7 +DIST pypdf-3.16.1.gh.tar.gz 7948024 BLAKE2B f35399af13418c4136d7f20763e875f5572759db0da25cada1bb076645db651a77c1e6cf244087cc2d3d6c9b786dfdbf887aa46ed8b48f9d0103618e60b0e8ad SHA512 d81b15c097c2eaa41ec421bc9fda47bd05f3cd3726834baff7024201c0a0f70d8cc5df5aae8471fe361be765b7874b4a93779eb3fdb1c266f8bdb4f1f3835ebd DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 +DIST pypdf-sample-files-b60ca63512466d1bafc587a2b223961b23a8e48a.gh.tar.gz 11199764 BLAKE2B e68bfb587c26a7a0ba9bb687e2b44d607cf890454dc2e5380db4037cb9a0be571e72b178d5ac86a0556f09fc344fc6ea76ee87bf9c6dee63799853acaba714b0 SHA512 20ff1d623a67fd0b08e1dfefc47d29ed28b5c62f1e0ef5a32699876e265541d97c10067ec954a387ba4952319d6903fb3d4db97e686200f9142329db06a11a7b diff --git a/dev-python/pypdf/pypdf-3.16.1.ebuild b/dev-python/pypdf/pypdf-3.16.1.ebuild new file mode 100644 index ..870063ae2143 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.16.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=b60ca63512466d1bafc587a2b223961b23a8e48a +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: f740213b45fa647512692788438dc14b00dbe59f Author: Michał Górny gentoo org> AuthorDate: Sun Sep 10 14:47:14 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 10 14:47:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f740213b dev-python/pypdf: Bump to 3.16.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.16.0.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 2088d3abb8c0..2c53282aea6c 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -3,4 +3,5 @@ DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91 DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47cf958464f2e4c6507dd089810ad61ccbbf0922d592d190f3effc88ed0c0cf3331e634616e985aedc4a026d5e4f52 SHA512 8fc82cc204a807ab308b21c8665162710fd9a3fb58fd8177fe559b801247ad8a8c949ce58d2879b6b64c040d137eb6731a76b533308b30e556a59bd33ae6b12e DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e576f52327a53e0d02eef38dcbe8d3524a3a33bc6b9103920fdc6322d75e5e82e76ad88c4166b5d13cb4bcda3ed0f SHA512 8d7db1c52700a2c9ec37c1756d04555708f4c859394c4866316d94470742a8d7900e5ec5d8fb2124ad285efc4848071d373347353226959b21dff84425b46513 DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 +DIST pypdf-3.16.0.gh.tar.gz 7936276 BLAKE2B 9b20c57f3bd5ccce0bd5bf71c7e084117a37450ddd7e126b03d58920bfb5896151a3a42253a96cd2e316696a19fab4c1c1743988ba85585867dff45ae98c254a SHA512 23dbb67b1a4455326133f1621e763752994baba55cd85191bcb61691bfd43f2e29f7ee11eb5d65415897e7f7af3367d1dc830a0d0e2f6ff0e3103ccb3b60d0c7 DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 diff --git a/dev-python/pypdf/pypdf-3.16.0.ebuild b/dev-python/pypdf/pypdf-3.16.0.ebuild new file mode 100644 index ..bd9de5c7eff6 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.16.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 3c5efc798c6ccdea35d80950a96928d34c3d5be4 Author: Michał Górny gentoo org> AuthorDate: Mon Sep 4 02:27:40 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Sep 4 02:45:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c5efc79 dev-python/pypdf: Bump to 3.15.5 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.15.5.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 14908aa4ce33..2088d3abb8c0 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,4 +2,5 @@ DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47cf958464f2e4c6507dd089810ad61ccbbf0922d592d190f3effc88ed0c0cf3331e634616e985aedc4a026d5e4f52 SHA512 8fc82cc204a807ab308b21c8665162710fd9a3fb58fd8177fe559b801247ad8a8c949ce58d2879b6b64c040d137eb6731a76b533308b30e556a59bd33ae6b12e DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e576f52327a53e0d02eef38dcbe8d3524a3a33bc6b9103920fdc6322d75e5e82e76ad88c4166b5d13cb4bcda3ed0f SHA512 8d7db1c52700a2c9ec37c1756d04555708f4c859394c4866316d94470742a8d7900e5ec5d8fb2124ad285efc4848071d373347353226959b21dff84425b46513 +DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 diff --git a/dev-python/pypdf/pypdf-3.15.5.ebuild b/dev-python/pypdf/pypdf-3.15.5.ebuild new file mode 100644 index ..bd9de5c7eff6 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 7b435cc58d0e23c4be55d28cdf11af6dbcd216ff Author: Michał Górny gentoo org> AuthorDate: Sun Aug 27 15:50:32 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 27 15:59:50 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b435cc5 dev-python/pypdf: Bump to 3.15.4 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.15.4.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index e54d3d61d2d9..14908aa4ce33 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,5 @@ DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47cf958464f2e4c6507dd089810ad61ccbbf0922d592d190f3effc88ed0c0cf3331e634616e985aedc4a026d5e4f52 SHA512 8fc82cc204a807ab308b21c8665162710fd9a3fb58fd8177fe559b801247ad8a8c949ce58d2879b6b64c040d137eb6731a76b533308b30e556a59bd33ae6b12e +DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e576f52327a53e0d02eef38dcbe8d3524a3a33bc6b9103920fdc6322d75e5e82e76ad88c4166b5d13cb4bcda3ed0f SHA512 8d7db1c52700a2c9ec37c1756d04555708f4c859394c4866316d94470742a8d7900e5ec5d8fb2124ad285efc4848071d373347353226959b21dff84425b46513 DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 diff --git a/dev-python/pypdf/pypdf-3.15.4.ebuild b/dev-python/pypdf/pypdf-3.15.4.ebuild new file mode 100644 index ..bd9de5c7eff6 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: a40070e1aa2131209d8aa236929c12a54e48ebfa Author: Michał Górny gentoo org> AuthorDate: Sat Aug 26 09:40:56 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Aug 26 09:46:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a40070e1 dev-python/pypdf: Bump to 3.15.3 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.15.3.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index b1d84d2c6d0f..e54d3d61d2d9 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,4 @@ DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 +DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47cf958464f2e4c6507dd089810ad61ccbbf0922d592d190f3effc88ed0c0cf3331e634616e985aedc4a026d5e4f52 SHA512 8fc82cc204a807ab308b21c8665162710fd9a3fb58fd8177fe559b801247ad8a8c949ce58d2879b6b64c040d137eb6731a76b533308b30e556a59bd33ae6b12e DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 diff --git a/dev-python/pypdf/pypdf-3.15.3.ebuild b/dev-python/pypdf/pypdf-3.15.3.ebuild new file mode 100644 index ..bd9de5c7eff6 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 27e3a159067656ea3d9c0e061b0df9bc1c259783 Author: Michał Górny gentoo org> AuthorDate: Thu Aug 24 12:45:28 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Aug 24 12:45:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27e3a159 dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 6 dev-python/pypdf/pypdf-3.12.2.ebuild | 56 dev-python/pypdf/pypdf-3.13.0.ebuild | 56 dev-python/pypdf/pypdf-3.14.0.ebuild | 56 dev-python/pypdf/pypdf-3.15.0.ebuild | 56 5 files changed, 230 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 9e33b7d80fa3..b1d84d2c6d0f 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,9 +1,3 @@ -DIST pypdf-3.12.2.gh.tar.gz 7560560 BLAKE2B f00047287619e49829d516f06020119f2ff19e0d4e67ccf4e45c05b1bff66ca3e69a03da99113accb818b8873ae5e637d23991925633ac01a20dcd35a15d1609 SHA512 b888c81cc3cb331f7b5709c4fa29c9f2f0790fc67679112de9e48f31cb20047b7622bcb8e555d5113e6dea96ec5d1c2759ac84696278123eb5a7faeea727b192 -DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36dbecd14d26f9268b44891939fb3dac3a2bf2e298efd927e8fe97869f43d39f2890008858d42255c31f6496e2003a SHA512 6259b242aaba8e0b63b988749850aa2138b802eaf52d146793635ff723956f19b1989c3c76278ed4240acbc88f8dd4b7e64fcf777508e98dee81093d794b2945 -DIST pypdf-3.14.0.gh.tar.gz 7572714 BLAKE2B 5a706eb9f9965de9ec3e3b03e243b629700b0c43b0549d49c33cc0a4d5ab570c75aa03695ccb8b08dac99032e9c4c170f2511c0dc644fed90d14da4a3fd18dbd SHA512 f7fc45a10249d3a86e60ed73f8e9a226a8bbb3fe181efdc8102128b7005a39f2479386801d18e8d6be56e8a12b5d3c8769a9c5504df27bec981ebe9cf22da205 -DIST pypdf-3.15.0.gh.tar.gz 7673228 BLAKE2B 9516d5e7865fa5c3bed90461d2e12ad1a400b755d8254330837e8b5f313f985bd199da9a19b2a189623b392c6ae76fd757e68c1454d09a7b5ec70bc28bff3485 SHA512 a9dc59141918fe47d1b2ec0fc282e31c05ef3df137cc67e85d965172929b3b1bbc38f8827a82a576f02c18b72cdca297364f58814f960b7783a36228a7e29125 DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 -DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 -DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 diff --git a/dev-python/pypdf/pypdf-3.12.2.ebuild b/dev-python/pypdf/pypdf-3.12.2.ebuild deleted file mode 100644 index 1a803821afca.. --- a/dev-python/pypdf/pypdf-3.12.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=2cf1e75af7bcb9c097deae6fb112c715d4721744 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -BDEPEND=" - test? ( -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: ac088736b80e1c3d70d15c42fb15a4175a71b6b4 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 21 02:31:19 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 21 02:52:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac088736 dev-python/pypdf: Bump to 3.15.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.15.2.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 4c0d992d6c7d..9e33b7d80fa3 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -3,6 +3,7 @@ DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36 DIST pypdf-3.14.0.gh.tar.gz 7572714 BLAKE2B 5a706eb9f9965de9ec3e3b03e243b629700b0c43b0549d49c33cc0a4d5ab570c75aa03695ccb8b08dac99032e9c4c170f2511c0dc644fed90d14da4a3fd18dbd SHA512 f7fc45a10249d3a86e60ed73f8e9a226a8bbb3fe181efdc8102128b7005a39f2479386801d18e8d6be56e8a12b5d3c8769a9c5504df27bec981ebe9cf22da205 DIST pypdf-3.15.0.gh.tar.gz 7673228 BLAKE2B 9516d5e7865fa5c3bed90461d2e12ad1a400b755d8254330837e8b5f313f985bd199da9a19b2a189623b392c6ae76fd757e68c1454d09a7b5ec70bc28bff3485 SHA512 a9dc59141918fe47d1b2ec0fc282e31c05ef3df137cc67e85d965172929b3b1bbc38f8827a82a576f02c18b72cdca297364f58814f960b7783a36228a7e29125 DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 +DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 diff --git a/dev-python/pypdf/pypdf-3.15.2.ebuild b/dev-python/pypdf/pypdf-3.15.2.ebuild new file mode 100644 index ..bd9de5c7eff6 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: d10c5e83f078a61cad3e8fb415cd3cb6a56b3913 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 14 05:45:59 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 14 06:26:46 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d10c5e83 dev-python/pypdf: Bump to 3.15.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 2 ++ dev-python/pypdf/pypdf-3.15.1.ebuild | 56 2 files changed, 58 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index f282ad554968..4c0d992d6c7d 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,5 +2,7 @@ DIST pypdf-3.12.2.gh.tar.gz 7560560 BLAKE2B f00047287619e49829d516f06020119f2ff1 DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36dbecd14d26f9268b44891939fb3dac3a2bf2e298efd927e8fe97869f43d39f2890008858d42255c31f6496e2003a SHA512 6259b242aaba8e0b63b988749850aa2138b802eaf52d146793635ff723956f19b1989c3c76278ed4240acbc88f8dd4b7e64fcf777508e98dee81093d794b2945 DIST pypdf-3.14.0.gh.tar.gz 7572714 BLAKE2B 5a706eb9f9965de9ec3e3b03e243b629700b0c43b0549d49c33cc0a4d5ab570c75aa03695ccb8b08dac99032e9c4c170f2511c0dc644fed90d14da4a3fd18dbd SHA512 f7fc45a10249d3a86e60ed73f8e9a226a8bbb3fe181efdc8102128b7005a39f2479386801d18e8d6be56e8a12b5d3c8769a9c5504df27bec981ebe9cf22da205 DIST pypdf-3.15.0.gh.tar.gz 7673228 BLAKE2B 9516d5e7865fa5c3bed90461d2e12ad1a400b755d8254330837e8b5f313f985bd199da9a19b2a189623b392c6ae76fd757e68c1454d09a7b5ec70bc28bff3485 SHA512 a9dc59141918fe47d1b2ec0fc282e31c05ef3df137cc67e85d965172929b3b1bbc38f8827a82a576f02c18b72cdca297364f58814f960b7783a36228a7e29125 +DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e +DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 diff --git a/dev-python/pypdf/pypdf-3.15.1.ebuild b/dev-python/pypdf/pypdf-3.15.1.ebuild new file mode 100644 index ..bd9de5c7eff6 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: de696e6d737517f54c33fc697ca3bb5ae79bdf27 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 7 02:44:18 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 7 03:01:13 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de696e6d dev-python/pypdf: Bump to 3.15.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.15.0.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 3737a00dd765..f282ad554968 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,5 +1,6 @@ DIST pypdf-3.12.2.gh.tar.gz 7560560 BLAKE2B f00047287619e49829d516f06020119f2ff19e0d4e67ccf4e45c05b1bff66ca3e69a03da99113accb818b8873ae5e637d23991925633ac01a20dcd35a15d1609 SHA512 b888c81cc3cb331f7b5709c4fa29c9f2f0790fc67679112de9e48f31cb20047b7622bcb8e555d5113e6dea96ec5d1c2759ac84696278123eb5a7faeea727b192 DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36dbecd14d26f9268b44891939fb3dac3a2bf2e298efd927e8fe97869f43d39f2890008858d42255c31f6496e2003a SHA512 6259b242aaba8e0b63b988749850aa2138b802eaf52d146793635ff723956f19b1989c3c76278ed4240acbc88f8dd4b7e64fcf777508e98dee81093d794b2945 DIST pypdf-3.14.0.gh.tar.gz 7572714 BLAKE2B 5a706eb9f9965de9ec3e3b03e243b629700b0c43b0549d49c33cc0a4d5ab570c75aa03695ccb8b08dac99032e9c4c170f2511c0dc644fed90d14da4a3fd18dbd SHA512 f7fc45a10249d3a86e60ed73f8e9a226a8bbb3fe181efdc8102128b7005a39f2479386801d18e8d6be56e8a12b5d3c8769a9c5504df27bec981ebe9cf22da205 +DIST pypdf-3.15.0.gh.tar.gz 7673228 BLAKE2B 9516d5e7865fa5c3bed90461d2e12ad1a400b755d8254330837e8b5f313f985bd199da9a19b2a189623b392c6ae76fd757e68c1454d09a7b5ec70bc28bff3485 SHA512 a9dc59141918fe47d1b2ec0fc282e31c05ef3df137cc67e85d965172929b3b1bbc38f8827a82a576f02c18b72cdca297364f58814f960b7783a36228a7e29125 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e diff --git a/dev-python/pypdf/pypdf-3.15.0.ebuild b/dev-python/pypdf/pypdf-3.15.0.ebuild new file mode 100644 index ..14dbc17b22a9 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=5b5ee6b0e9bf4b683490351b1e15e01d6553da7b +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 492b1db1f4ea5f68408cb236aae815c75674ab1e Author: Michał Górny gentoo org> AuthorDate: Sun Jul 30 17:41:38 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Jul 30 17:51:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=492b1db1 dev-python/pypdf: Bump to 3.14.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.14.0.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index e27f61913b48..3737a00dd765 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,5 @@ DIST pypdf-3.12.2.gh.tar.gz 7560560 BLAKE2B f00047287619e49829d516f06020119f2ff19e0d4e67ccf4e45c05b1bff66ca3e69a03da99113accb818b8873ae5e637d23991925633ac01a20dcd35a15d1609 SHA512 b888c81cc3cb331f7b5709c4fa29c9f2f0790fc67679112de9e48f31cb20047b7622bcb8e555d5113e6dea96ec5d1c2759ac84696278123eb5a7faeea727b192 DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36dbecd14d26f9268b44891939fb3dac3a2bf2e298efd927e8fe97869f43d39f2890008858d42255c31f6496e2003a SHA512 6259b242aaba8e0b63b988749850aa2138b802eaf52d146793635ff723956f19b1989c3c76278ed4240acbc88f8dd4b7e64fcf777508e98dee81093d794b2945 +DIST pypdf-3.14.0.gh.tar.gz 7572714 BLAKE2B 5a706eb9f9965de9ec3e3b03e243b629700b0c43b0549d49c33cc0a4d5ab570c75aa03695ccb8b08dac99032e9c4c170f2511c0dc644fed90d14da4a3fd18dbd SHA512 f7fc45a10249d3a86e60ed73f8e9a226a8bbb3fe181efdc8102128b7005a39f2479386801d18e8d6be56e8a12b5d3c8769a9c5504df27bec981ebe9cf22da205 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e diff --git a/dev-python/pypdf/pypdf-3.14.0.ebuild b/dev-python/pypdf/pypdf-3.14.0.ebuild new file mode 100644 index ..a39c83ec38db --- /dev/null +++ b/dev-python/pypdf/pypdf-3.14.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=5b5ee6b0e9bf4b683490351b1e15e01d6553da7b +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: a046568bb98276190a543986da61830ea4331c5f Author: Michał Górny gentoo org> AuthorDate: Fri Jul 28 09:19:32 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Jul 28 09:19:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a046568b dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 6 dev-python/pypdf/pypdf-3.10.0.ebuild | 54 -- dev-python/pypdf/pypdf-3.11.0.ebuild | 56 dev-python/pypdf/pypdf-3.11.1.ebuild | 56 dev-python/pypdf/pypdf-3.12.0.ebuild | 56 dev-python/pypdf/pypdf-3.12.1.ebuild | 56 6 files changed, 284 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index aca2b7654f85..e27f61913b48 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,10 +1,4 @@ -DIST pypdf-3.10.0.gh.tar.gz 7558639 BLAKE2B 4c3bc668ae750e1ff78837459704fa24fbc8cdd90bb43c28e60140b3f3d2282d609460ec184d439d3121b284307236b8768ebc121679ed19e43efe43c5da5533 SHA512 e34072c21aa2caca7a3c99c754175fa3ccd42f69dbaaa92c52fbf1e1fb5e70245d3571305987d79f897769726c075d98313e07e9acf7817763a2522b16ddc424 -DIST pypdf-3.11.0.gh.tar.gz 7560736 BLAKE2B 171c242e819cb417004aaba6341a38e8b89eec1346d6bdf899320da220f6368e38fee268ae2a90e308fd142c33411acf89a82bf00aa1220c9c697c052255e7a1 SHA512 f2f8d6e1035a8b2d14d6750c64e46e14b119324e08a3f808e5cacb7144c5c3ce3db65248010d13d520bc57915ea0f5f9a4b78db72ae430b46f614b2c0d5f7359 -DIST pypdf-3.11.1.gh.tar.gz 7560136 BLAKE2B fa6b415b2b98a5e4a8d67bfdf38a81922ddf724fdbb17581c035294565e7c953e9e9ad190dcdc4172ba78b6e8e7c7a4df008e6ca30f88337aad5ee04523e2b81 SHA512 061265b4263396c3a204a8741cd8200408ca0c00520b022d54acb10a2902ed61a54a7990d47c91a9b292653ef98005c00084f0d61f7e79b5e8f617896dbaa7bb -DIST pypdf-3.12.0.gh.tar.gz 7560403 BLAKE2B 1595020104ee6d93027ad9ff3f58bbdec33c8f4a407a29ca110a01b506a5aaf0808d75d727099930abd98406a5cc7e66f3529974b5920a1ca4382ed02367dc51 SHA512 fa196aac50c24f3459725c77ca346b1ac2a7aa343ae1f2277a42401b5335dd4c7f827dafcd8aa8b099c72fe332107c091cc5fe476f593fdc9ea146aaa204cdcd -DIST pypdf-3.12.1.gh.tar.gz 7561799 BLAKE2B 9f2ed1fe6767f5f7eace9ec05fda4dfee616628aed70becc9e748c65c686634153d42766169d02fc9c663835938d730e0d1b7f764dbffa42942cea2b40cfd921 SHA512 2262ed21547bf32db92491fbde57b10964a0267b369203c9f965974de01bd1017d9e7948076b728644fd16ef0fa36c628005812ed08cc69847704a42c40ace77 DIST pypdf-3.12.2.gh.tar.gz 7560560 BLAKE2B f00047287619e49829d516f06020119f2ff19e0d4e67ccf4e45c05b1bff66ca3e69a03da99113accb818b8873ae5e637d23991925633ac01a20dcd35a15d1609 SHA512 b888c81cc3cb331f7b5709c4fa29c9f2f0790fc67679112de9e48f31cb20047b7622bcb8e555d5113e6dea96ec5d1c2759ac84696278123eb5a7faeea727b192 DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36dbecd14d26f9268b44891939fb3dac3a2bf2e298efd927e8fe97869f43d39f2890008858d42255c31f6496e2003a SHA512 6259b242aaba8e0b63b988749850aa2138b802eaf52d146793635ff723956f19b1989c3c76278ed4240acbc88f8dd4b7e64fcf777508e98dee81093d794b2945 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e -DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a diff --git a/dev-python/pypdf/pypdf-3.10.0.ebuild b/dev-python/pypdf/pypdf-3.10.0.ebuild deleted file mode 100644 index 0e9da013abdc.. --- a/dev-python/pypdf/pypdf-3.10.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=69b31cff6b183a42f9081709ef9bee4047976f56 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 0f5415b445ce356ba6d37f07610680fa22f6f02a Author: Sam James gentoo org> AuthorDate: Fri Jul 28 07:55:27 2023 + Commit: Sam James gentoo org> CommitDate: Fri Jul 28 07:55:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5415b4 dev-python/pypdf: Stabilize 3.12.2 amd64, #911359 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.12.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.12.2.ebuild b/dev-python/pypdf/pypdf-3.12.2.ebuild index f48f50fdc236..1a803821afca 100644 --- a/dev-python/pypdf/pypdf-3.12.2.ebuild +++ b/dev-python/pypdf/pypdf-3.12.2.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 9a32507eeaf58d1ef5ebcb39ccb3799236bb0a7f Author: Sam James gentoo org> AuthorDate: Fri Jul 28 07:55:26 2023 + Commit: Sam James gentoo org> CommitDate: Fri Jul 28 07:55:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a32507e dev-python/pypdf: Stabilize 3.12.2 x86, #911359 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.12.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.12.2.ebuild b/dev-python/pypdf/pypdf-3.12.2.ebuild index daa02ffcff0c..f48f50fdc236 100644 --- a/dev-python/pypdf/pypdf-3.12.2.ebuild +++ b/dev-python/pypdf/pypdf-3.12.2.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 0b2e6d9404885bce63bc4339dabe21b5fe5d31a1 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 24 03:25:00 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 24 03:33:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b2e6d94 dev-python/pypdf: Bump to 3.13.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 2 ++ dev-python/pypdf/pypdf-3.13.0.ebuild | 56 2 files changed, 58 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 4352b5550165..aca2b7654f85 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -4,5 +4,7 @@ DIST pypdf-3.11.1.gh.tar.gz 7560136 BLAKE2B fa6b415b2b98a5e4a8d67bfdf38a81922ddf DIST pypdf-3.12.0.gh.tar.gz 7560403 BLAKE2B 1595020104ee6d93027ad9ff3f58bbdec33c8f4a407a29ca110a01b506a5aaf0808d75d727099930abd98406a5cc7e66f3529974b5920a1ca4382ed02367dc51 SHA512 fa196aac50c24f3459725c77ca346b1ac2a7aa343ae1f2277a42401b5335dd4c7f827dafcd8aa8b099c72fe332107c091cc5fe476f593fdc9ea146aaa204cdcd DIST pypdf-3.12.1.gh.tar.gz 7561799 BLAKE2B 9f2ed1fe6767f5f7eace9ec05fda4dfee616628aed70becc9e748c65c686634153d42766169d02fc9c663835938d730e0d1b7f764dbffa42942cea2b40cfd921 SHA512 2262ed21547bf32db92491fbde57b10964a0267b369203c9f965974de01bd1017d9e7948076b728644fd16ef0fa36c628005812ed08cc69847704a42c40ace77 DIST pypdf-3.12.2.gh.tar.gz 7560560 BLAKE2B f00047287619e49829d516f06020119f2ff19e0d4e67ccf4e45c05b1bff66ca3e69a03da99113accb818b8873ae5e637d23991925633ac01a20dcd35a15d1609 SHA512 b888c81cc3cb331f7b5709c4fa29c9f2f0790fc67679112de9e48f31cb20047b7622bcb8e555d5113e6dea96ec5d1c2759ac84696278123eb5a7faeea727b192 +DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36dbecd14d26f9268b44891939fb3dac3a2bf2e298efd927e8fe97869f43d39f2890008858d42255c31f6496e2003a SHA512 6259b242aaba8e0b63b988749850aa2138b802eaf52d146793635ff723956f19b1989c3c76278ed4240acbc88f8dd4b7e64fcf777508e98dee81093d794b2945 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 +DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a diff --git a/dev-python/pypdf/pypdf-3.13.0.ebuild b/dev-python/pypdf/pypdf-3.13.0.ebuild new file mode 100644 index ..b120fd0ff3c1 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.13.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=5b5ee6b0e9bf4b683490351b1e15e01d6553da7b +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/pillow[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 9cc0758cadc66db5f5e20e344c5b9b3e6955d7f7 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 17 05:59:50 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 17 07:34:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cc0758c dev-python/pypdf: Bump to 3.12.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.12.2.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 28509227a6f6..4352b5550165 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -3,5 +3,6 @@ DIST pypdf-3.11.0.gh.tar.gz 7560736 BLAKE2B 171c242e819cb417004aaba6341a38e8b89e DIST pypdf-3.11.1.gh.tar.gz 7560136 BLAKE2B fa6b415b2b98a5e4a8d67bfdf38a81922ddf724fdbb17581c035294565e7c953e9e9ad190dcdc4172ba78b6e8e7c7a4df008e6ca30f88337aad5ee04523e2b81 SHA512 061265b4263396c3a204a8741cd8200408ca0c00520b022d54acb10a2902ed61a54a7990d47c91a9b292653ef98005c00084f0d61f7e79b5e8f617896dbaa7bb DIST pypdf-3.12.0.gh.tar.gz 7560403 BLAKE2B 1595020104ee6d93027ad9ff3f58bbdec33c8f4a407a29ca110a01b506a5aaf0808d75d727099930abd98406a5cc7e66f3529974b5920a1ca4382ed02367dc51 SHA512 fa196aac50c24f3459725c77ca346b1ac2a7aa343ae1f2277a42401b5335dd4c7f827dafcd8aa8b099c72fe332107c091cc5fe476f593fdc9ea146aaa204cdcd DIST pypdf-3.12.1.gh.tar.gz 7561799 BLAKE2B 9f2ed1fe6767f5f7eace9ec05fda4dfee616628aed70becc9e748c65c686634153d42766169d02fc9c663835938d730e0d1b7f764dbffa42942cea2b40cfd921 SHA512 2262ed21547bf32db92491fbde57b10964a0267b369203c9f965974de01bd1017d9e7948076b728644fd16ef0fa36c628005812ed08cc69847704a42c40ace77 +DIST pypdf-3.12.2.gh.tar.gz 7560560 BLAKE2B f00047287619e49829d516f06020119f2ff19e0d4e67ccf4e45c05b1bff66ca3e69a03da99113accb818b8873ae5e637d23991925633ac01a20dcd35a15d1609 SHA512 b888c81cc3cb331f7b5709c4fa29c9f2f0790fc67679112de9e48f31cb20047b7622bcb8e555d5113e6dea96ec5d1c2759ac84696278123eb5a7faeea727b192 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a diff --git a/dev-python/pypdf/pypdf-3.12.2.ebuild b/dev-python/pypdf/pypdf-3.12.2.ebuild new file mode 100644 index ..daa02ffcff0c --- /dev/null +++ b/dev-python/pypdf/pypdf-3.12.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=2cf1e75af7bcb9c097deae6fb112c715d4721744 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/pillow[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: f6bb1dc1f2207bb38672d56ba3b0d019e871857e Author: Michał Górny gentoo org> AuthorDate: Mon Jul 10 02:18:46 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 10 02:36:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6bb1dc1 dev-python/pypdf: Bump to 3.12.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.12.1.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index b86c93da8eb6..28509227a6f6 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,5 +2,6 @@ DIST pypdf-3.10.0.gh.tar.gz 7558639 BLAKE2B 4c3bc668ae750e1ff78837459704fa24fbc8 DIST pypdf-3.11.0.gh.tar.gz 7560736 BLAKE2B 171c242e819cb417004aaba6341a38e8b89eec1346d6bdf899320da220f6368e38fee268ae2a90e308fd142c33411acf89a82bf00aa1220c9c697c052255e7a1 SHA512 f2f8d6e1035a8b2d14d6750c64e46e14b119324e08a3f808e5cacb7144c5c3ce3db65248010d13d520bc57915ea0f5f9a4b78db72ae430b46f614b2c0d5f7359 DIST pypdf-3.11.1.gh.tar.gz 7560136 BLAKE2B fa6b415b2b98a5e4a8d67bfdf38a81922ddf724fdbb17581c035294565e7c953e9e9ad190dcdc4172ba78b6e8e7c7a4df008e6ca30f88337aad5ee04523e2b81 SHA512 061265b4263396c3a204a8741cd8200408ca0c00520b022d54acb10a2902ed61a54a7990d47c91a9b292653ef98005c00084f0d61f7e79b5e8f617896dbaa7bb DIST pypdf-3.12.0.gh.tar.gz 7560403 BLAKE2B 1595020104ee6d93027ad9ff3f58bbdec33c8f4a407a29ca110a01b506a5aaf0808d75d727099930abd98406a5cc7e66f3529974b5920a1ca4382ed02367dc51 SHA512 fa196aac50c24f3459725c77ca346b1ac2a7aa343ae1f2277a42401b5335dd4c7f827dafcd8aa8b099c72fe332107c091cc5fe476f593fdc9ea146aaa204cdcd +DIST pypdf-3.12.1.gh.tar.gz 7561799 BLAKE2B 9f2ed1fe6767f5f7eace9ec05fda4dfee616628aed70becc9e748c65c686634153d42766169d02fc9c663835938d730e0d1b7f764dbffa42942cea2b40cfd921 SHA512 2262ed21547bf32db92491fbde57b10964a0267b369203c9f965974de01bd1017d9e7948076b728644fd16ef0fa36c628005812ed08cc69847704a42c40ace77 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a diff --git a/dev-python/pypdf/pypdf-3.12.1.ebuild b/dev-python/pypdf/pypdf-3.12.1.ebuild new file mode 100644 index ..daa02ffcff0c --- /dev/null +++ b/dev-python/pypdf/pypdf-3.12.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=2cf1e75af7bcb9c097deae6fb112c715d4721744 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/pillow[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: a5b4082292698368d0f669ac55f1c0a1aa7af2b5 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 3 04:02:51 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 3 04:02:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b40822 dev-python/pypdf: Bump to 3.12.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.12.0.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 7f3cf4a96278..b86c93da8eb6 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,5 +1,6 @@ DIST pypdf-3.10.0.gh.tar.gz 7558639 BLAKE2B 4c3bc668ae750e1ff78837459704fa24fbc8cdd90bb43c28e60140b3f3d2282d609460ec184d439d3121b284307236b8768ebc121679ed19e43efe43c5da5533 SHA512 e34072c21aa2caca7a3c99c754175fa3ccd42f69dbaaa92c52fbf1e1fb5e70245d3571305987d79f897769726c075d98313e07e9acf7817763a2522b16ddc424 DIST pypdf-3.11.0.gh.tar.gz 7560736 BLAKE2B 171c242e819cb417004aaba6341a38e8b89eec1346d6bdf899320da220f6368e38fee268ae2a90e308fd142c33411acf89a82bf00aa1220c9c697c052255e7a1 SHA512 f2f8d6e1035a8b2d14d6750c64e46e14b119324e08a3f808e5cacb7144c5c3ce3db65248010d13d520bc57915ea0f5f9a4b78db72ae430b46f614b2c0d5f7359 DIST pypdf-3.11.1.gh.tar.gz 7560136 BLAKE2B fa6b415b2b98a5e4a8d67bfdf38a81922ddf724fdbb17581c035294565e7c953e9e9ad190dcdc4172ba78b6e8e7c7a4df008e6ca30f88337aad5ee04523e2b81 SHA512 061265b4263396c3a204a8741cd8200408ca0c00520b022d54acb10a2902ed61a54a7990d47c91a9b292653ef98005c00084f0d61f7e79b5e8f617896dbaa7bb +DIST pypdf-3.12.0.gh.tar.gz 7560403 BLAKE2B 1595020104ee6d93027ad9ff3f58bbdec33c8f4a407a29ca110a01b506a5aaf0808d75d727099930abd98406a5cc7e66f3529974b5920a1ca4382ed02367dc51 SHA512 fa196aac50c24f3459725c77ca346b1ac2a7aa343ae1f2277a42401b5335dd4c7f827dafcd8aa8b099c72fe332107c091cc5fe476f593fdc9ea146aaa204cdcd DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a diff --git a/dev-python/pypdf/pypdf-3.12.0.ebuild b/dev-python/pypdf/pypdf-3.12.0.ebuild new file mode 100644 index ..daa02ffcff0c --- /dev/null +++ b/dev-python/pypdf/pypdf-3.12.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=2cf1e75af7bcb9c097deae6fb112c715d4721744 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/pillow[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: ae04159ac7832ce398a8d094900b5d2b4d752d8e Author: Michał Górny gentoo org> AuthorDate: Wed Jun 28 04:46:58 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed Jun 28 04:46:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae04159a dev-python/pypdf: Bump to 3.11.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 2 ++ dev-python/pypdf/pypdf-3.11.1.ebuild | 56 2 files changed, 58 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 13e2e4835273..7f3cf4a96278 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,5 @@ DIST pypdf-3.10.0.gh.tar.gz 7558639 BLAKE2B 4c3bc668ae750e1ff78837459704fa24fbc8cdd90bb43c28e60140b3f3d2282d609460ec184d439d3121b284307236b8768ebc121679ed19e43efe43c5da5533 SHA512 e34072c21aa2caca7a3c99c754175fa3ccd42f69dbaaa92c52fbf1e1fb5e70245d3571305987d79f897769726c075d98313e07e9acf7817763a2522b16ddc424 DIST pypdf-3.11.0.gh.tar.gz 7560736 BLAKE2B 171c242e819cb417004aaba6341a38e8b89eec1346d6bdf899320da220f6368e38fee268ae2a90e308fd142c33411acf89a82bf00aa1220c9c697c052255e7a1 SHA512 f2f8d6e1035a8b2d14d6750c64e46e14b119324e08a3f808e5cacb7144c5c3ce3db65248010d13d520bc57915ea0f5f9a4b78db72ae430b46f614b2c0d5f7359 +DIST pypdf-3.11.1.gh.tar.gz 7560136 BLAKE2B fa6b415b2b98a5e4a8d67bfdf38a81922ddf724fdbb17581c035294565e7c953e9e9ad190dcdc4172ba78b6e8e7c7a4df008e6ca30f88337aad5ee04523e2b81 SHA512 061265b4263396c3a204a8741cd8200408ca0c00520b022d54acb10a2902ed61a54a7990d47c91a9b292653ef98005c00084f0d61f7e79b5e8f617896dbaa7bb +DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a diff --git a/dev-python/pypdf/pypdf-3.11.1.ebuild b/dev-python/pypdf/pypdf-3.11.1.ebuild new file mode 100644 index ..daa02ffcff0c --- /dev/null +++ b/dev-python/pypdf/pypdf-3.11.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=2cf1e75af7bcb9c097deae6fb112c715d4721744 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/pillow[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: f63dfa14fdd9772aa2c1229d22d50457534ed6bf Author: Michał Górny gentoo org> AuthorDate: Tue Jun 27 11:33:34 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Jun 27 11:36:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f63dfa14 dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 3 -- dev-python/pypdf/pypdf-3.8.1.ebuild | 60 - dev-python/pypdf/pypdf-3.9.0.ebuild | 54 - dev-python/pypdf/pypdf-3.9.1.ebuild | 54 - 4 files changed, 171 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 65a150a25c43..13e2e4835273 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,6 +1,3 @@ DIST pypdf-3.10.0.gh.tar.gz 7558639 BLAKE2B 4c3bc668ae750e1ff78837459704fa24fbc8cdd90bb43c28e60140b3f3d2282d609460ec184d439d3121b284307236b8768ebc121679ed19e43efe43c5da5533 SHA512 e34072c21aa2caca7a3c99c754175fa3ccd42f69dbaaa92c52fbf1e1fb5e70245d3571305987d79f897769726c075d98313e07e9acf7817763a2522b16ddc424 DIST pypdf-3.11.0.gh.tar.gz 7560736 BLAKE2B 171c242e819cb417004aaba6341a38e8b89eec1346d6bdf899320da220f6368e38fee268ae2a90e308fd142c33411acf89a82bf00aa1220c9c697c052255e7a1 SHA512 f2f8d6e1035a8b2d14d6750c64e46e14b119324e08a3f808e5cacb7144c5c3ce3db65248010d13d520bc57915ea0f5f9a4b78db72ae430b46f614b2c0d5f7359 -DIST pypdf-3.8.1.gh.tar.gz 7516880 BLAKE2B 87d8cd66c7efcf9624205da904290fe82f51eeb9b521903ec564467755cc9a824ab0660a41d0cbd4a1ada2e20b4b35e16ce3a73a9933aea9fc5e0f315e613709 SHA512 8b78ccc210b8f34b9556cf69cac8f2af207de9a42840a0b4c822c0ab2c0b2d468c5c20a14704d3f54c6b57bcc451c3f0b7ff54b8149616b539cb07be57482e58 -DIST pypdf-3.9.0.gh.tar.gz 7516907 BLAKE2B 12c0a13ee1ca897966bcd2f6a93b50ef1ead8d471ac9543544988a9c03c26a135a91c07b443d3a7b89fd38c302f5c2323994407fdadc23638832ca07eb7571fb SHA512 da9489bfd7c91c497852ce71050548d99fbca8118575c5eec85d55611fdafbe471c1cf7c4c8ef0e46165a89771e557c868f133af325d4672ba897fd43c02 -DIST pypdf-3.9.1.gh.tar.gz 7517143 BLAKE2B 81e5ff0d8997af2df3709163ad5c319bb5b9a598cfb0a2894850c658ecf3fe6bbeda7cd7f9ffaf23ce015f6235c39220fc244f826edf87114d84859950409fe3 SHA512 414a33ff29e9410b89d5f5939db841f25393bd2c66588aea67da7639517c2fd91f293b6120bd553a8fae4fb23c5b9828dac2a6ec1b649aaf9f7c0737a0f4a05a DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a diff --git a/dev-python/pypdf/pypdf-3.8.1.ebuild b/dev-python/pypdf/pypdf-3.8.1.ebuild deleted file mode 100644 index d681c913ad00.. --- a/dev-python/pypdf/pypdf-3.8.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=69b31cff6b183a42f9081709ef9bee4047976f56 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" -S=${WORKDIR}/pypdf-${PV} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) -" -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - test? ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.9.0.ebuild b/dev-python/pypdf/pypdf-3.9.0.ebuild deleted file mode 100644 index 8c79bcacda8e.. --- a/dev-python/pypdf/pypdf-3.9.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=69b31cff6b183a42f9081709ef9bee4047976f56
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 1152e0ae4b8726843cc0a656984043f5d890ac9f Author: Jakov Smolić gentoo org> AuthorDate: Tue Jun 27 09:07:59 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Tue Jun 27 09:07:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1152e0ae dev-python/pypdf: Stabilize 3.10.0 amd64, #909254 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pypdf/pypdf-3.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.10.0.ebuild b/dev-python/pypdf/pypdf-3.10.0.ebuild index cc4b097763f1..0e9da013abdc 100644 --- a/dev-python/pypdf/pypdf-3.10.0.ebuild +++ b/dev-python/pypdf/pypdf-3.10.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: c7bf04a601865e362aa739b256d02b3a910a1082 Author: Sam James gentoo org> AuthorDate: Tue Jun 27 07:13:52 2023 + Commit: Sam James gentoo org> CommitDate: Tue Jun 27 07:13:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7bf04a6 dev-python/pypdf: Stabilize 3.10.0 x86, #909254 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.10.0.ebuild b/dev-python/pypdf/pypdf-3.10.0.ebuild index d7166bd01223..cc4b097763f1 100644 --- a/dev-python/pypdf/pypdf-3.10.0.ebuild +++ b/dev-python/pypdf/pypdf-3.10.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 392f5b8d4d61d271312f3ab579b08fd5e09bf3f5 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 24 18:37:47 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 25 02:25:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392f5b8d dev-python/pypdf: Copy pillow flag fix to 3.11.0 Closes: https://bugs.gentoo.org/909089 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/pypdf-3.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.11.0.ebuild b/dev-python/pypdf/pypdf-3.11.0.ebuild index 100ff908c051..ae7110a02e8e 100644 --- a/dev-python/pypdf/pypdf-3.11.0.ebuild +++ b/dev-python/pypdf/pypdf-3.11.0.ebuild @@ -28,8 +28,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] test? ( + dev-python/pillow[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] dev-python/pycryptodome[${PYTHON_USEDEP}] ) "
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 79a2060f9da481256d13511f691f3010aa7e072f Author: Michał Górny gentoo org> AuthorDate: Sat Jun 24 05:22:11 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 24 06:10:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a2060f dev-python/pypdf: Bump to 3.11.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.11.0.ebuild | 56 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 23a9c8db76d1..65a150a25c43 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,5 @@ DIST pypdf-3.10.0.gh.tar.gz 7558639 BLAKE2B 4c3bc668ae750e1ff78837459704fa24fbc8cdd90bb43c28e60140b3f3d2282d609460ec184d439d3121b284307236b8768ebc121679ed19e43efe43c5da5533 SHA512 e34072c21aa2caca7a3c99c754175fa3ccd42f69dbaaa92c52fbf1e1fb5e70245d3571305987d79f897769726c075d98313e07e9acf7817763a2522b16ddc424 +DIST pypdf-3.11.0.gh.tar.gz 7560736 BLAKE2B 171c242e819cb417004aaba6341a38e8b89eec1346d6bdf899320da220f6368e38fee268ae2a90e308fd142c33411acf89a82bf00aa1220c9c697c052255e7a1 SHA512 f2f8d6e1035a8b2d14d6750c64e46e14b119324e08a3f808e5cacb7144c5c3ce3db65248010d13d520bc57915ea0f5f9a4b78db72ae430b46f614b2c0d5f7359 DIST pypdf-3.8.1.gh.tar.gz 7516880 BLAKE2B 87d8cd66c7efcf9624205da904290fe82f51eeb9b521903ec564467755cc9a824ab0660a41d0cbd4a1ada2e20b4b35e16ce3a73a9933aea9fc5e0f315e613709 SHA512 8b78ccc210b8f34b9556cf69cac8f2af207de9a42840a0b4c822c0ab2c0b2d468c5c20a14704d3f54c6b57bcc451c3f0b7ff54b8149616b539cb07be57482e58 DIST pypdf-3.9.0.gh.tar.gz 7516907 BLAKE2B 12c0a13ee1ca897966bcd2f6a93b50ef1ead8d471ac9543544988a9c03c26a135a91c07b443d3a7b89fd38c302f5c2323994407fdadc23638832ca07eb7571fb SHA512 da9489bfd7c91c497852ce71050548d99fbca8118575c5eec85d55611fdafbe471c1cf7c4c8ef0e46165a89771e557c868f133af325d4672ba897fd43c02 DIST pypdf-3.9.1.gh.tar.gz 7517143 BLAKE2B 81e5ff0d8997af2df3709163ad5c319bb5b9a598cfb0a2894850c658ecf3fe6bbeda7cd7f9ffaf23ce015f6235c39220fc244f826edf87114d84859950409fe3 SHA512 414a33ff29e9410b89d5f5939db841f25393bd2c66588aea67da7639517c2fd91f293b6120bd553a8fae4fb23c5b9828dac2a6ec1b649aaf9f7c0737a0f4a05a diff --git a/dev-python/pypdf/pypdf-3.11.0.ebuild b/dev-python/pypdf/pypdf-3.11.0.ebuild new file mode 100644 index ..100ff908c051 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.11.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=69b31cff6b183a42f9081709ef9bee4047976f56 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 8e0e5cbd69dc71763ab48b04fa112773f48a32ec Author: Michał Górny gentoo org> AuthorDate: Mon Jun 19 13:35:53 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 19 13:43:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0e5cbd dev-python/pypdf: Require more pillow codecs for tests Closes: https://bugs.gentoo.org/908826 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/pypdf-3.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.10.0.ebuild b/dev-python/pypdf/pypdf-3.10.0.ebuild index 8c79bcacda8e..d7166bd01223 100644 --- a/dev-python/pypdf/pypdf-3.10.0.ebuild +++ b/dev-python/pypdf/pypdf-3.10.0.ebuild @@ -28,8 +28,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] test? ( + dev-python/pillow[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] dev-python/pycryptodome[${PYTHON_USEDEP}] ) "
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: e30c4c825bef043ddf496442f2fc5f0c83be2eaa Author: Michał Górny gentoo org> AuthorDate: Mon Jun 19 04:51:08 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 19 04:57:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e30c4c82 dev-python/pypdf: Bump to 3.10.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest| 1 + dev-python/pypdf/pypdf-3.10.0.ebuild | 54 2 files changed, 55 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index aaedb25be035..23a9c8db76d1 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,4 @@ +DIST pypdf-3.10.0.gh.tar.gz 7558639 BLAKE2B 4c3bc668ae750e1ff78837459704fa24fbc8cdd90bb43c28e60140b3f3d2282d609460ec184d439d3121b284307236b8768ebc121679ed19e43efe43c5da5533 SHA512 e34072c21aa2caca7a3c99c754175fa3ccd42f69dbaaa92c52fbf1e1fb5e70245d3571305987d79f897769726c075d98313e07e9acf7817763a2522b16ddc424 DIST pypdf-3.8.1.gh.tar.gz 7516880 BLAKE2B 87d8cd66c7efcf9624205da904290fe82f51eeb9b521903ec564467755cc9a824ab0660a41d0cbd4a1ada2e20b4b35e16ce3a73a9933aea9fc5e0f315e613709 SHA512 8b78ccc210b8f34b9556cf69cac8f2af207de9a42840a0b4c822c0ab2c0b2d468c5c20a14704d3f54c6b57bcc451c3f0b7ff54b8149616b539cb07be57482e58 DIST pypdf-3.9.0.gh.tar.gz 7516907 BLAKE2B 12c0a13ee1ca897966bcd2f6a93b50ef1ead8d471ac9543544988a9c03c26a135a91c07b443d3a7b89fd38c302f5c2323994407fdadc23638832ca07eb7571fb SHA512 da9489bfd7c91c497852ce71050548d99fbca8118575c5eec85d55611fdafbe471c1cf7c4c8ef0e46165a89771e557c868f133af325d4672ba897fd43c02 DIST pypdf-3.9.1.gh.tar.gz 7517143 BLAKE2B 81e5ff0d8997af2df3709163ad5c319bb5b9a598cfb0a2894850c658ecf3fe6bbeda7cd7f9ffaf23ce015f6235c39220fc244f826edf87114d84859950409fe3 SHA512 414a33ff29e9410b89d5f5939db841f25393bd2c66588aea67da7639517c2fd91f293b6120bd553a8fae4fb23c5b9828dac2a6ec1b649aaf9f7c0737a0f4a05a diff --git a/dev-python/pypdf/pypdf-3.10.0.ebuild b/dev-python/pypdf/pypdf-3.10.0.ebuild new file mode 100644 index ..8c79bcacda8e --- /dev/null +++ b/dev-python/pypdf/pypdf-3.10.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=69b31cff6b183a42f9081709ef9bee4047976f56 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 7a806a47495d6bc446e791ab722285d0fbb7408f Author: Michał Górny gentoo org> AuthorDate: Mon Jun 5 04:42:50 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 5 05:07:00 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a806a47 dev-python/pypdf: Bump to 3.9.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.9.1.ebuild | 54 + 2 files changed, 55 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 97008c313139..aaedb25be035 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,4 @@ DIST pypdf-3.8.1.gh.tar.gz 7516880 BLAKE2B 87d8cd66c7efcf9624205da904290fe82f51eeb9b521903ec564467755cc9a824ab0660a41d0cbd4a1ada2e20b4b35e16ce3a73a9933aea9fc5e0f315e613709 SHA512 8b78ccc210b8f34b9556cf69cac8f2af207de9a42840a0b4c822c0ab2c0b2d468c5c20a14704d3f54c6b57bcc451c3f0b7ff54b8149616b539cb07be57482e58 DIST pypdf-3.9.0.gh.tar.gz 7516907 BLAKE2B 12c0a13ee1ca897966bcd2f6a93b50ef1ead8d471ac9543544988a9c03c26a135a91c07b443d3a7b89fd38c302f5c2323994407fdadc23638832ca07eb7571fb SHA512 da9489bfd7c91c497852ce71050548d99fbca8118575c5eec85d55611fdafbe471c1cf7c4c8ef0e46165a89771e557c868f133af325d4672ba897fd43c02 +DIST pypdf-3.9.1.gh.tar.gz 7517143 BLAKE2B 81e5ff0d8997af2df3709163ad5c319bb5b9a598cfb0a2894850c658ecf3fe6bbeda7cd7f9ffaf23ce015f6235c39220fc244f826edf87114d84859950409fe3 SHA512 414a33ff29e9410b89d5f5939db841f25393bd2c66588aea67da7639517c2fd91f293b6120bd553a8fae4fb23c5b9828dac2a6ec1b649aaf9f7c0737a0f4a05a DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a diff --git a/dev-python/pypdf/pypdf-3.9.1.ebuild b/dev-python/pypdf/pypdf-3.9.1.ebuild new file mode 100644 index ..8c79bcacda8e --- /dev/null +++ b/dev-python/pypdf/pypdf-3.9.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=69b31cff6b183a42f9081709ef9bee4047976f56 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: b55132b724c793a57dd4a26850ffe0dbeffbaf4f Author: Sam James gentoo org> AuthorDate: Thu Jun 1 07:23:52 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jun 1 07:24:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55132b7 dev-python/pypdf: enable py3.12 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.9.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.9.0.ebuild b/dev-python/pypdf/pypdf-3.9.0.ebuild index c3e628bb375b..8c79bcacda8e 100644 --- a/dev-python/pypdf/pypdf-3.9.0.ebuild +++ b/dev-python/pypdf/pypdf-3.9.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 15355101e3da439640b683c8b29bd684437ea1a0 Author: Michał Górny gentoo org> AuthorDate: Tue May 23 16:16:11 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue May 23 16:16:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15355101 dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 4 --- dev-python/pypdf/pypdf-3.7.1.ebuild | 60 - dev-python/pypdf/pypdf-3.8.0.ebuild | 60 - 3 files changed, 124 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 924c00dc2ffb..97008c313139 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,7 +1,3 @@ -DIST pypdf-3.7.1.gh.tar.gz 7508532 BLAKE2B 917eb7a825781f966d6b268cf3471935b9d245de5465acd428f87cc387a01bf1739d1cddb504498e4e7505a098508a1e12d686ad21ef73960f11bcddd4acca57 SHA512 5834a5738860c341e231a0ba79d9ffbc14d1f683bc781793d962fb8303aac5e6ec825492cd2e470d47fdd166576c5c4be64bbb7a03f7f79b160d456667ce8f15 -DIST pypdf-3.8.0.gh.tar.gz 7509837 BLAKE2B 2acf12b5c43799252641f2c7d0ebd24c1f1eb02b655b0c458eef1049b660452967ff613e17b2eb70330d67677860b58b0f8f99d3af2c2794c4aacb30646b3244 SHA512 a4f33c8f940303958221a48ffbf088c363d7cf9360d5c9d27829b5703735216c32af63262313a25598c3479c4584999a23ac6bf77daa701042ef65314194dab3 DIST pypdf-3.8.1.gh.tar.gz 7516880 BLAKE2B 87d8cd66c7efcf9624205da904290fe82f51eeb9b521903ec564467755cc9a824ab0660a41d0cbd4a1ada2e20b4b35e16ce3a73a9933aea9fc5e0f315e613709 SHA512 8b78ccc210b8f34b9556cf69cac8f2af207de9a42840a0b4c822c0ab2c0b2d468c5c20a14704d3f54c6b57bcc451c3f0b7ff54b8149616b539cb07be57482e58 DIST pypdf-3.9.0.gh.tar.gz 7516907 BLAKE2B 12c0a13ee1ca897966bcd2f6a93b50ef1ead8d471ac9543544988a9c03c26a135a91c07b443d3a7b89fd38c302f5c2323994407fdadc23638832ca07eb7571fb SHA512 da9489bfd7c91c497852ce71050548d99fbca8118575c5eec85d55611fdafbe471c1cf7c4c8ef0e46165a89771e557c868f133af325d4672ba897fd43c02 -DIST pypdf-sample-files-0c3b1d3879c5cd7d913b3d931fa33b37529d7346.gh.tar.gz 9028862 BLAKE2B 7c72b76724e7b0fb4069c3151c13342d66cc451f398f6826b09dfb5b57e2d2b625118de1f431b5759466c4e6afb5d0c8682c4c28ec2f3b700a6cc39787ec6ecd SHA512 342562a711673030eb729135f27c241f5f37305b0d6f30f555667881e921089b801a3376330d840b16d4a3683d0b6f07824d05e4d208d32a3771ca83a0b7f22d DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a -DIST pypdf-sample-files-d3d250321b01ca1194e16a814d24508897862fe8.gh.tar.gz 9030851 BLAKE2B 63e5778763315aff0753e5a0f06cd55432a494efea921c73e765567aee63223af3f3d81436e22d089008bc38c917e10eb5da7988abd458fd3f3488e8faeed70e SHA512 a8e77982ad78aeb58db7a5a722c9e072d7c55bca7290f448ba388b70256137fc6b9919c8079d8b548407c88b8befe7caeeb65217eb52b6d9bbadfaf652d89e0a diff --git a/dev-python/pypdf/pypdf-3.7.1.ebuild b/dev-python/pypdf/pypdf-3.7.1.ebuild deleted file mode 100644 index 14d14b921bd8.. --- a/dev-python/pypdf/pypdf-3.7.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=0c3b1d3879c5cd7d913b3d931fa33b37529d7346 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" -S=${WORKDIR}/pypdf-${PV} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) -" -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - test? ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.8.0.ebuild b/dev-python/pypdf/pypdf-3.8.0.ebuild deleted file mode 100644 index e4dd15ff67f2.. ---
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 6e1470a3a4e1969efc4f20620de69046608ed1fa Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 23 16:10:07 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 23 16:10:07 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1470a3 dev-python/pypdf: Stabilize 3.8.1 x86, #907028 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-3.8.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.8.1.ebuild b/dev-python/pypdf/pypdf-3.8.1.ebuild index f378e2e758c5..d681c913ad00 100644 --- a/dev-python/pypdf/pypdf-3.8.1.ebuild +++ b/dev-python/pypdf/pypdf-3.8.1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/pypdf-${PV} LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" RDEPEND=" $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 9e99c24b0ec5bc651e492dd01fb7a3b47d36c76c Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 23 15:34:51 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 23 15:34:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e99c24b dev-python/pypdf: Stabilize 3.8.1 amd64, #907028 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-3.8.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.8.1.ebuild b/dev-python/pypdf/pypdf-3.8.1.ebuild index ffc9d52b91da..f378e2e758c5 100644 --- a/dev-python/pypdf/pypdf-3.8.1.ebuild +++ b/dev-python/pypdf/pypdf-3.8.1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/pypdf-${PV} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" RDEPEND=" $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: d4d074fadd736f2f8c9ab6f59d66b40629f3d42e Author: Michał Górny gentoo org> AuthorDate: Mon May 22 04:02:33 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon May 22 05:53:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d074fa dev-python/pypdf: Bump to 3.9.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.9.0.ebuild | 54 + 2 files changed, 55 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index baa0775f15b9..924c00dc2ffb 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,6 +1,7 @@ DIST pypdf-3.7.1.gh.tar.gz 7508532 BLAKE2B 917eb7a825781f966d6b268cf3471935b9d245de5465acd428f87cc387a01bf1739d1cddb504498e4e7505a098508a1e12d686ad21ef73960f11bcddd4acca57 SHA512 5834a5738860c341e231a0ba79d9ffbc14d1f683bc781793d962fb8303aac5e6ec825492cd2e470d47fdd166576c5c4be64bbb7a03f7f79b160d456667ce8f15 DIST pypdf-3.8.0.gh.tar.gz 7509837 BLAKE2B 2acf12b5c43799252641f2c7d0ebd24c1f1eb02b655b0c458eef1049b660452967ff613e17b2eb70330d67677860b58b0f8f99d3af2c2794c4aacb30646b3244 SHA512 a4f33c8f940303958221a48ffbf088c363d7cf9360d5c9d27829b5703735216c32af63262313a25598c3479c4584999a23ac6bf77daa701042ef65314194dab3 DIST pypdf-3.8.1.gh.tar.gz 7516880 BLAKE2B 87d8cd66c7efcf9624205da904290fe82f51eeb9b521903ec564467755cc9a824ab0660a41d0cbd4a1ada2e20b4b35e16ce3a73a9933aea9fc5e0f315e613709 SHA512 8b78ccc210b8f34b9556cf69cac8f2af207de9a42840a0b4c822c0ab2c0b2d468c5c20a14704d3f54c6b57bcc451c3f0b7ff54b8149616b539cb07be57482e58 +DIST pypdf-3.9.0.gh.tar.gz 7516907 BLAKE2B 12c0a13ee1ca897966bcd2f6a93b50ef1ead8d471ac9543544988a9c03c26a135a91c07b443d3a7b89fd38c302f5c2323994407fdadc23638832ca07eb7571fb SHA512 da9489bfd7c91c497852ce71050548d99fbca8118575c5eec85d55611fdafbe471c1cf7c4c8ef0e46165a89771e557c868f133af325d4672ba897fd43c02 DIST pypdf-sample-files-0c3b1d3879c5cd7d913b3d931fa33b37529d7346.gh.tar.gz 9028862 BLAKE2B 7c72b76724e7b0fb4069c3151c13342d66cc451f398f6826b09dfb5b57e2d2b625118de1f431b5759466c4e6afb5d0c8682c4c28ec2f3b700a6cc39787ec6ecd SHA512 342562a711673030eb729135f27c241f5f37305b0d6f30f555667881e921089b801a3376330d840b16d4a3683d0b6f07824d05e4d208d32a3771ca83a0b7f22d DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a DIST pypdf-sample-files-d3d250321b01ca1194e16a814d24508897862fe8.gh.tar.gz 9030851 BLAKE2B 63e5778763315aff0753e5a0f06cd55432a494efea921c73e765567aee63223af3f3d81436e22d089008bc38c917e10eb5da7988abd458fd3f3488e8faeed70e SHA512 a8e77982ad78aeb58db7a5a722c9e072d7c55bca7290f448ba388b70256137fc6b9919c8079d8b548407c88b8befe7caeeb65217eb52b6d9bbadfaf652d89e0a diff --git a/dev-python/pypdf/pypdf-3.9.0.ebuild b/dev-python/pypdf/pypdf-3.9.0.ebuild new file mode 100644 index ..c3e628bb375b --- /dev/null +++ b/dev-python/pypdf/pypdf-3.9.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=69b31cff6b183a42f9081709ef9bee4047976f56 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 3dc0a8a1c3ad72aee9dabde68b508e22c62bfa3a Author: Arthur Zamarin gentoo org> AuthorDate: Fri Apr 28 15:57:30 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Apr 28 15:57:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dc0a8a1 dev-python/pypdf: drop 3.6.0, 3.7.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/Manifest | 3 -- dev-python/pypdf/pypdf-3.6.0.ebuild | 60 - dev-python/pypdf/pypdf-3.7.0.ebuild | 60 - 3 files changed, 123 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 09a63a1228cb..baa0775f15b9 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,9 +1,6 @@ -DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260e03e6039d288d1fb16f8d1deffcd8daf83e4bb25ff7f2c49b3c6c979ebca2f04458964999d29fb5979b21a0087b02ac66c0bf387cce2be50a308be SHA512 43286f7c9c68048d763a87b02eb932ba597a7aa778153e8abd96d7d496da0d910199dab1e985d21c625daae225dde69936fff56accd52102353e6a03e30db4c7 -DIST pypdf-3.7.0.gh.tar.gz 7505675 BLAKE2B 68491e9d144717a5f92a00c01ae0cbdd1713c94f65ad44bb9ad1de556a80caac674c164d7c7a2d9738f68afdfb36ad3cde7791016856d0e8ddc1ff2c2d7335b3 SHA512 4d1d7d47ca20970174bf938af19813f5e2738ea6658fe3023b64e93575e3e73eef84327def6eb8868f4bbba01030a24252032a16cd89c6b79e3390b9ee9ecbb8 DIST pypdf-3.7.1.gh.tar.gz 7508532 BLAKE2B 917eb7a825781f966d6b268cf3471935b9d245de5465acd428f87cc387a01bf1739d1cddb504498e4e7505a098508a1e12d686ad21ef73960f11bcddd4acca57 SHA512 5834a5738860c341e231a0ba79d9ffbc14d1f683bc781793d962fb8303aac5e6ec825492cd2e470d47fdd166576c5c4be64bbb7a03f7f79b160d456667ce8f15 DIST pypdf-3.8.0.gh.tar.gz 7509837 BLAKE2B 2acf12b5c43799252641f2c7d0ebd24c1f1eb02b655b0c458eef1049b660452967ff613e17b2eb70330d67677860b58b0f8f99d3af2c2794c4aacb30646b3244 SHA512 a4f33c8f940303958221a48ffbf088c363d7cf9360d5c9d27829b5703735216c32af63262313a25598c3479c4584999a23ac6bf77daa701042ef65314194dab3 DIST pypdf-3.8.1.gh.tar.gz 7516880 BLAKE2B 87d8cd66c7efcf9624205da904290fe82f51eeb9b521903ec564467755cc9a824ab0660a41d0cbd4a1ada2e20b4b35e16ce3a73a9933aea9fc5e0f315e613709 SHA512 8b78ccc210b8f34b9556cf69cac8f2af207de9a42840a0b4c822c0ab2c0b2d468c5c20a14704d3f54c6b57bcc451c3f0b7ff54b8149616b539cb07be57482e58 DIST pypdf-sample-files-0c3b1d3879c5cd7d913b3d931fa33b37529d7346.gh.tar.gz 9028862 BLAKE2B 7c72b76724e7b0fb4069c3151c13342d66cc451f398f6826b09dfb5b57e2d2b625118de1f431b5759466c4e6afb5d0c8682c4c28ec2f3b700a6cc39787ec6ecd SHA512 342562a711673030eb729135f27c241f5f37305b0d6f30f555667881e921089b801a3376330d840b16d4a3683d0b6f07824d05e4d208d32a3771ca83a0b7f22d DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a DIST pypdf-sample-files-d3d250321b01ca1194e16a814d24508897862fe8.gh.tar.gz 9030851 BLAKE2B 63e5778763315aff0753e5a0f06cd55432a494efea921c73e765567aee63223af3f3d81436e22d089008bc38c917e10eb5da7988abd458fd3f3488e8faeed70e SHA512 a8e77982ad78aeb58db7a5a722c9e072d7c55bca7290f448ba388b70256137fc6b9919c8079d8b548407c88b8befe7caeeb65217eb52b6d9bbadfaf652d89e0a -DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.6.0.ebuild b/dev-python/pypdf/pypdf-3.6.0.ebuild deleted file mode 100644 index 3affab3f0d02.. --- a/dev-python/pypdf/pypdf-3.6.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=fb7a080b35b3553bd10221282beeda7847959e83 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" -S=${WORKDIR}/pypdf-${PV} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.8 3.9) -" -BDEPEND=" -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 30443595eb87463e9566c8080a17a1fd20c93eb0 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Apr 28 15:55:07 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Apr 28 15:55:07 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30443595 dev-python/pypdf: Stabilize 3.7.1 x86, #905255 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-3.7.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.7.1.ebuild b/dev-python/pypdf/pypdf-3.7.1.ebuild index 5eeb924a862c..14d14b921bd8 100644 --- a/dev-python/pypdf/pypdf-3.7.1.ebuild +++ b/dev-python/pypdf/pypdf-3.7.1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/pypdf-${PV} LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" RDEPEND=" $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: b28e811cd76de94c42c1e46b64fdc8d595e5dfbe Author: Arthur Zamarin gentoo org> AuthorDate: Fri Apr 28 14:41:18 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Apr 28 14:41:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28e811c dev-python/pypdf: Stabilize 3.7.1 amd64, #905255 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-3.7.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.7.1.ebuild b/dev-python/pypdf/pypdf-3.7.1.ebuild index c9cbff9df9cd..5eeb924a862c 100644 --- a/dev-python/pypdf/pypdf-3.7.1.ebuild +++ b/dev-python/pypdf/pypdf-3.7.1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/pypdf-${PV} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" RDEPEND=" $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 0027d4ec611d651ec46bedc2379e24977dbaa0f8 Author: Michał Górny gentoo org> AuthorDate: Sun Apr 23 18:12:36 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Apr 23 19:30:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0027d4ec dev-python/pypdf: Bump to 3.8.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 2 ++ dev-python/pypdf/pypdf-3.8.1.ebuild | 60 + 2 files changed, 62 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 4c18bdd04eb7..09a63a1228cb 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,6 +2,8 @@ DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260e03e6039d288d1fb16f8d1deffc DIST pypdf-3.7.0.gh.tar.gz 7505675 BLAKE2B 68491e9d144717a5f92a00c01ae0cbdd1713c94f65ad44bb9ad1de556a80caac674c164d7c7a2d9738f68afdfb36ad3cde7791016856d0e8ddc1ff2c2d7335b3 SHA512 4d1d7d47ca20970174bf938af19813f5e2738ea6658fe3023b64e93575e3e73eef84327def6eb8868f4bbba01030a24252032a16cd89c6b79e3390b9ee9ecbb8 DIST pypdf-3.7.1.gh.tar.gz 7508532 BLAKE2B 917eb7a825781f966d6b268cf3471935b9d245de5465acd428f87cc387a01bf1739d1cddb504498e4e7505a098508a1e12d686ad21ef73960f11bcddd4acca57 SHA512 5834a5738860c341e231a0ba79d9ffbc14d1f683bc781793d962fb8303aac5e6ec825492cd2e470d47fdd166576c5c4be64bbb7a03f7f79b160d456667ce8f15 DIST pypdf-3.8.0.gh.tar.gz 7509837 BLAKE2B 2acf12b5c43799252641f2c7d0ebd24c1f1eb02b655b0c458eef1049b660452967ff613e17b2eb70330d67677860b58b0f8f99d3af2c2794c4aacb30646b3244 SHA512 a4f33c8f940303958221a48ffbf088c363d7cf9360d5c9d27829b5703735216c32af63262313a25598c3479c4584999a23ac6bf77daa701042ef65314194dab3 +DIST pypdf-3.8.1.gh.tar.gz 7516880 BLAKE2B 87d8cd66c7efcf9624205da904290fe82f51eeb9b521903ec564467755cc9a824ab0660a41d0cbd4a1ada2e20b4b35e16ce3a73a9933aea9fc5e0f315e613709 SHA512 8b78ccc210b8f34b9556cf69cac8f2af207de9a42840a0b4c822c0ab2c0b2d468c5c20a14704d3f54c6b57bcc451c3f0b7ff54b8149616b539cb07be57482e58 DIST pypdf-sample-files-0c3b1d3879c5cd7d913b3d931fa33b37529d7346.gh.tar.gz 9028862 BLAKE2B 7c72b76724e7b0fb4069c3151c13342d66cc451f398f6826b09dfb5b57e2d2b625118de1f431b5759466c4e6afb5d0c8682c4c28ec2f3b700a6cc39787ec6ecd SHA512 342562a711673030eb729135f27c241f5f37305b0d6f30f555667881e921089b801a3376330d840b16d4a3683d0b6f07824d05e4d208d32a3771ca83a0b7f22d +DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a DIST pypdf-sample-files-d3d250321b01ca1194e16a814d24508897862fe8.gh.tar.gz 9030851 BLAKE2B 63e5778763315aff0753e5a0f06cd55432a494efea921c73e765567aee63223af3f3d81436e22d089008bc38c917e10eb5da7988abd458fd3f3488e8faeed70e SHA512 a8e77982ad78aeb58db7a5a722c9e072d7c55bca7290f448ba388b70256137fc6b9919c8079d8b548407c88b8befe7caeeb65217eb52b6d9bbadfaf652d89e0a DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.8.1.ebuild b/dev-python/pypdf/pypdf-3.8.1.ebuild new file mode 100644 index ..ffc9d52b91da --- /dev/null +++ b/dev-python/pypdf/pypdf-3.8.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=69b31cff6b183a42f9081709ef9bee4047976f56 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 905eb0184da4a86c03a681b78797d3412cbed489 Author: Michał Górny gentoo org> AuthorDate: Mon Apr 17 05:27:58 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Apr 17 05:41:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=905eb018 dev-python/pypdf: Bump to 3.8.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 2 ++ dev-python/pypdf/pypdf-3.8.0.ebuild | 60 + 2 files changed, 62 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index fa992b1978e4..4c18bdd04eb7 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,5 +1,7 @@ DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260e03e6039d288d1fb16f8d1deffcd8daf83e4bb25ff7f2c49b3c6c979ebca2f04458964999d29fb5979b21a0087b02ac66c0bf387cce2be50a308be SHA512 43286f7c9c68048d763a87b02eb932ba597a7aa778153e8abd96d7d496da0d910199dab1e985d21c625daae225dde69936fff56accd52102353e6a03e30db4c7 DIST pypdf-3.7.0.gh.tar.gz 7505675 BLAKE2B 68491e9d144717a5f92a00c01ae0cbdd1713c94f65ad44bb9ad1de556a80caac674c164d7c7a2d9738f68afdfb36ad3cde7791016856d0e8ddc1ff2c2d7335b3 SHA512 4d1d7d47ca20970174bf938af19813f5e2738ea6658fe3023b64e93575e3e73eef84327def6eb8868f4bbba01030a24252032a16cd89c6b79e3390b9ee9ecbb8 DIST pypdf-3.7.1.gh.tar.gz 7508532 BLAKE2B 917eb7a825781f966d6b268cf3471935b9d245de5465acd428f87cc387a01bf1739d1cddb504498e4e7505a098508a1e12d686ad21ef73960f11bcddd4acca57 SHA512 5834a5738860c341e231a0ba79d9ffbc14d1f683bc781793d962fb8303aac5e6ec825492cd2e470d47fdd166576c5c4be64bbb7a03f7f79b160d456667ce8f15 +DIST pypdf-3.8.0.gh.tar.gz 7509837 BLAKE2B 2acf12b5c43799252641f2c7d0ebd24c1f1eb02b655b0c458eef1049b660452967ff613e17b2eb70330d67677860b58b0f8f99d3af2c2794c4aacb30646b3244 SHA512 a4f33c8f940303958221a48ffbf088c363d7cf9360d5c9d27829b5703735216c32af63262313a25598c3479c4584999a23ac6bf77daa701042ef65314194dab3 DIST pypdf-sample-files-0c3b1d3879c5cd7d913b3d931fa33b37529d7346.gh.tar.gz 9028862 BLAKE2B 7c72b76724e7b0fb4069c3151c13342d66cc451f398f6826b09dfb5b57e2d2b625118de1f431b5759466c4e6afb5d0c8682c4c28ec2f3b700a6cc39787ec6ecd SHA512 342562a711673030eb729135f27c241f5f37305b0d6f30f555667881e921089b801a3376330d840b16d4a3683d0b6f07824d05e4d208d32a3771ca83a0b7f22d +DIST pypdf-sample-files-d3d250321b01ca1194e16a814d24508897862fe8.gh.tar.gz 9030851 BLAKE2B 63e5778763315aff0753e5a0f06cd55432a494efea921c73e765567aee63223af3f3d81436e22d089008bc38c917e10eb5da7988abd458fd3f3488e8faeed70e SHA512 a8e77982ad78aeb58db7a5a722c9e072d7c55bca7290f448ba388b70256137fc6b9919c8079d8b548407c88b8befe7caeeb65217eb52b6d9bbadfaf652d89e0a DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.8.0.ebuild b/dev-python/pypdf/pypdf-3.8.0.ebuild new file mode 100644 index ..e4dd15ff67f2 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.8.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=d3d250321b01ca1194e16a814d24508897862fe8 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 38e700bf16d04ce51952253ca960ae9bbb1fc6ac Author: Michał Górny gentoo org> AuthorDate: Mon Apr 10 05:33:56 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Apr 10 05:33:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e700bf dev-python/pypdf: Bump to 3.7.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 2 ++ dev-python/pypdf/pypdf-3.7.1.ebuild | 60 + 2 files changed, 62 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 03b78d2ce10f..fa992b1978e4 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,5 @@ DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260e03e6039d288d1fb16f8d1deffcd8daf83e4bb25ff7f2c49b3c6c979ebca2f04458964999d29fb5979b21a0087b02ac66c0bf387cce2be50a308be SHA512 43286f7c9c68048d763a87b02eb932ba597a7aa778153e8abd96d7d496da0d910199dab1e985d21c625daae225dde69936fff56accd52102353e6a03e30db4c7 DIST pypdf-3.7.0.gh.tar.gz 7505675 BLAKE2B 68491e9d144717a5f92a00c01ae0cbdd1713c94f65ad44bb9ad1de556a80caac674c164d7c7a2d9738f68afdfb36ad3cde7791016856d0e8ddc1ff2c2d7335b3 SHA512 4d1d7d47ca20970174bf938af19813f5e2738ea6658fe3023b64e93575e3e73eef84327def6eb8868f4bbba01030a24252032a16cd89c6b79e3390b9ee9ecbb8 +DIST pypdf-3.7.1.gh.tar.gz 7508532 BLAKE2B 917eb7a825781f966d6b268cf3471935b9d245de5465acd428f87cc387a01bf1739d1cddb504498e4e7505a098508a1e12d686ad21ef73960f11bcddd4acca57 SHA512 5834a5738860c341e231a0ba79d9ffbc14d1f683bc781793d962fb8303aac5e6ec825492cd2e470d47fdd166576c5c4be64bbb7a03f7f79b160d456667ce8f15 +DIST pypdf-sample-files-0c3b1d3879c5cd7d913b3d931fa33b37529d7346.gh.tar.gz 9028862 BLAKE2B 7c72b76724e7b0fb4069c3151c13342d66cc451f398f6826b09dfb5b57e2d2b625118de1f431b5759466c4e6afb5d0c8682c4c28ec2f3b700a6cc39787ec6ecd SHA512 342562a711673030eb729135f27c241f5f37305b0d6f30f555667881e921089b801a3376330d840b16d4a3683d0b6f07824d05e4d208d32a3771ca83a0b7f22d DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.7.1.ebuild b/dev-python/pypdf/pypdf-3.7.1.ebuild new file mode 100644 index ..c9cbff9df9cd --- /dev/null +++ b/dev-python/pypdf/pypdf-3.7.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=0c3b1d3879c5cd7d913b3d931fa33b37529d7346 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 983235e7eadd44c8eb9b38994196905be247 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 30 17:09:09 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 30 17:12:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9832 dev-python/pypdf: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 7 - dev-python/pypdf/pypdf-3.3.0.ebuild | 62 - dev-python/pypdf/pypdf-3.4.0.ebuild | 62 - dev-python/pypdf/pypdf-3.4.1.ebuild | 59 --- dev-python/pypdf/pypdf-3.5.0.ebuild | 59 --- dev-python/pypdf/pypdf-3.5.1.ebuild | 60 --- dev-python/pypdf/pypdf-3.5.2.ebuild | 60 --- 7 files changed, 369 deletions(-) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 1e65d2460b6d..03b78d2ce10f 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,10 +1,3 @@ -DIST pypdf-3.3.0.gh.tar.gz 6803536 BLAKE2B ff70995882581c816fbf7410232c68e9649632161b4927543924a11b1a0a816f1178be399079e32078fe8d89a2aa9cd0eb1562409dc8e7bd388cad3afde37198 SHA512 5db25d6c4b41a1d19b45fa907f53e0106e01c93eb4152079dc4ffbd7bf28fbf8915bf0e3bf1af4a371e805657884fe2c42de4856944085ca7bc07a477f3ba588 -DIST pypdf-3.4.0.gh.tar.gz 6931831 BLAKE2B 037ac998cc1e3d078281b64183197678a80345731f6d4691b00f9e546eb61eaa34c4d7f4b704191c887975517da73359983f1b7405776e99257f79b1604dafc0 SHA512 9bee70a039c42533b600f1e95e28a4889d7df212bae18deca7d88501008d3a3e2b4d7fe36134e947cb14b0acc650126688c358ce2b662917a4c6df46241db1ab -DIST pypdf-3.4.1.gh.tar.gz 6930245 BLAKE2B 9e8a5a1ebe95b64c9274ce6b0ea252d65f41d4b6791d6c6acf87f810794892337aed13ddc9b77f05a404fe94b3d9c2444f2a06c4feea9661204e71684fd5 SHA512 e2e3fa74bc6e96afc5999429e7603dd3ab8e6443b6259e456bc6d90cb2d7a15a484b226e218478c1e92cfd7fe23c93247f212568c6fcd51d80afde32b83460ba -DIST pypdf-3.5.0.gh.tar.gz 7181507 BLAKE2B 8f5c129613ed12a9eaa90cf0e6fa189b0fc5bf109f26b8cc35ff1550e916b0635715359b2ece9c3c0243095c2e802474e99fe4c59d16b0f75b4375fb2ce07e5d SHA512 a8a0fad3fd08d88738088a06df4f1cbf419571e9e817c6097ce8bdcf7b1dd32f478ac712879cabceb7034f4e9a421f887ff117a1812782eadb670c8043aff86c -DIST pypdf-3.5.1.gh.tar.gz 7183874 BLAKE2B 29ce7d052f0c466e72974ec051e149c2383136cc0097e2e104c4c1e5c37836f7908b25bfaa32e5fd85082f860b06ad88adbfbb5bbff95bc7a735e127b26d7964 SHA512 4f28cc0822f472087f096b4b2ee553b87e458009b29c43d41bbba53de9862292c78f4b31a860d4c783a6af4f92fdf32612bab7a42190373d9d9ceae39080bb35 -DIST pypdf-3.5.2.gh.tar.gz 7185283 BLAKE2B b92af14da7fed1cecda4cb0088efaa7031e9a44daa7c81ee0450bbb0f7630129b6e09e4044b3592e4333c466c73f16d033ee32f428c2866d163fc250a15516e9 SHA512 f257f05ddbd0a0195e0ec075b88fd4077bf0c44490311eee6fe1f4d3715c6d29abc681df53d22c2e7a08c2a545f5151d48f1bec2e436031c3b8e599204eb0f5a DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260e03e6039d288d1fb16f8d1deffcd8daf83e4bb25ff7f2c49b3c6c979ebca2f04458964999d29fb5979b21a0087b02ac66c0bf387cce2be50a308be SHA512 43286f7c9c68048d763a87b02eb932ba597a7aa778153e8abd96d7d496da0d910199dab1e985d21c625daae225dde69936fff56accd52102353e6a03e30db4c7 DIST pypdf-3.7.0.gh.tar.gz 7505675 BLAKE2B 68491e9d144717a5f92a00c01ae0cbdd1713c94f65ad44bb9ad1de556a80caac674c164d7c7a2d9738f68afdfb36ad3cde7791016856d0e8ddc1ff2c2d7335b3 SHA512 4d1d7d47ca20970174bf938af19813f5e2738ea6658fe3023b64e93575e3e73eef84327def6eb8868f4bbba01030a24252032a16cd89c6b79e3390b9ee9ecbb8 -DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.3.0.ebuild b/dev-python/pypdf/pypdf-3.3.0.ebuild deleted file mode 100644 index 646a669f191b.. --- a/dev-python/pypdf/pypdf-3.3.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 9b2c19c383ae7e2d8db0fcdc5b5bb3c4ebf83de8 Author: Sam James gentoo org> AuthorDate: Thu Mar 30 16:57:07 2023 + Commit: Sam James gentoo org> CommitDate: Thu Mar 30 16:57:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b2c19c3 dev-python/pypdf: Stabilize 3.6.0 amd64, #903596 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.6.0.ebuild b/dev-python/pypdf/pypdf-3.6.0.ebuild index 1148c2465c47..3affab3f0d02 100644 --- a/dev-python/pypdf/pypdf-3.6.0.ebuild +++ b/dev-python/pypdf/pypdf-3.6.0.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/pypdf-${PV} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" RDEPEND=" $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 5429680f6ea1556f6c6600fa8d8e4573ae186791 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Mar 30 15:33:57 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Mar 30 15:33:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5429680f dev-python/pypdf: Stabilize 3.6.0 x86, #903596 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.6.0.ebuild b/dev-python/pypdf/pypdf-3.6.0.ebuild index 246ddfc145ee..1148c2465c47 100644 --- a/dev-python/pypdf/pypdf-3.6.0.ebuild +++ b/dev-python/pypdf/pypdf-3.6.0.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/pypdf-${PV} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 x86" RDEPEND=" $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 0f52f53d7b842317cc0ac34958b7c72ba0dcedce Author: Michał Górny gentoo org> AuthorDate: Sun Mar 26 17:35:15 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 26 18:02:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f52f53d dev-python/pypdf: Bump to 3.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.7.0.ebuild | 60 + 2 files changed, 61 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 5f10df003ada..1e65d2460b6d 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -5,5 +5,6 @@ DIST pypdf-3.5.0.gh.tar.gz 7181507 BLAKE2B 8f5c129613ed12a9eaa90cf0e6fa189b0fc5b DIST pypdf-3.5.1.gh.tar.gz 7183874 BLAKE2B 29ce7d052f0c466e72974ec051e149c2383136cc0097e2e104c4c1e5c37836f7908b25bfaa32e5fd85082f860b06ad88adbfbb5bbff95bc7a735e127b26d7964 SHA512 4f28cc0822f472087f096b4b2ee553b87e458009b29c43d41bbba53de9862292c78f4b31a860d4c783a6af4f92fdf32612bab7a42190373d9d9ceae39080bb35 DIST pypdf-3.5.2.gh.tar.gz 7185283 BLAKE2B b92af14da7fed1cecda4cb0088efaa7031e9a44daa7c81ee0450bbb0f7630129b6e09e4044b3592e4333c466c73f16d033ee32f428c2866d163fc250a15516e9 SHA512 f257f05ddbd0a0195e0ec075b88fd4077bf0c44490311eee6fe1f4d3715c6d29abc681df53d22c2e7a08c2a545f5151d48f1bec2e436031c3b8e599204eb0f5a DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260e03e6039d288d1fb16f8d1deffcd8daf83e4bb25ff7f2c49b3c6c979ebca2f04458964999d29fb5979b21a0087b02ac66c0bf387cce2be50a308be SHA512 43286f7c9c68048d763a87b02eb932ba597a7aa778153e8abd96d7d496da0d910199dab1e985d21c625daae225dde69936fff56accd52102353e6a03e30db4c7 +DIST pypdf-3.7.0.gh.tar.gz 7505675 BLAKE2B 68491e9d144717a5f92a00c01ae0cbdd1713c94f65ad44bb9ad1de556a80caac674c164d7c7a2d9738f68afdfb36ad3cde7791016856d0e8ddc1ff2c2d7335b3 SHA512 4d1d7d47ca20970174bf938af19813f5e2738ea6658fe3023b64e93575e3e73eef84327def6eb8868f4bbba01030a24252032a16cd89c6b79e3390b9ee9ecbb8 DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.7.0.ebuild b/dev-python/pypdf/pypdf-3.7.0.ebuild new file mode 100644 index ..246ddfc145ee --- /dev/null +++ b/dev-python/pypdf/pypdf-3.7.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=fb7a080b35b3553bd10221282beeda7847959e83 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: ea5a217c9c73fb889d8152e39a735cf902fac98a Author: Michał Górny gentoo org> AuthorDate: Sun Mar 19 17:49:20 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 19 19:03:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea5a217c dev-python/pypdf: Bump to 3.6.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.6.0.ebuild | 60 + 2 files changed, 61 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index a8cb63cb6b91..5f10df003ada 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -4,5 +4,6 @@ DIST pypdf-3.4.1.gh.tar.gz 6930245 BLAKE2B 9e8a5a1ebe95b64c9274ce6b0ea252d65f41d DIST pypdf-3.5.0.gh.tar.gz 7181507 BLAKE2B 8f5c129613ed12a9eaa90cf0e6fa189b0fc5bf109f26b8cc35ff1550e916b0635715359b2ece9c3c0243095c2e802474e99fe4c59d16b0f75b4375fb2ce07e5d SHA512 a8a0fad3fd08d88738088a06df4f1cbf419571e9e817c6097ce8bdcf7b1dd32f478ac712879cabceb7034f4e9a421f887ff117a1812782eadb670c8043aff86c DIST pypdf-3.5.1.gh.tar.gz 7183874 BLAKE2B 29ce7d052f0c466e72974ec051e149c2383136cc0097e2e104c4c1e5c37836f7908b25bfaa32e5fd85082f860b06ad88adbfbb5bbff95bc7a735e127b26d7964 SHA512 4f28cc0822f472087f096b4b2ee553b87e458009b29c43d41bbba53de9862292c78f4b31a860d4c783a6af4f92fdf32612bab7a42190373d9d9ceae39080bb35 DIST pypdf-3.5.2.gh.tar.gz 7185283 BLAKE2B b92af14da7fed1cecda4cb0088efaa7031e9a44daa7c81ee0450bbb0f7630129b6e09e4044b3592e4333c466c73f16d033ee32f428c2866d163fc250a15516e9 SHA512 f257f05ddbd0a0195e0ec075b88fd4077bf0c44490311eee6fe1f4d3715c6d29abc681df53d22c2e7a08c2a545f5151d48f1bec2e436031c3b8e599204eb0f5a +DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260e03e6039d288d1fb16f8d1deffcd8daf83e4bb25ff7f2c49b3c6c979ebca2f04458964999d29fb5979b21a0087b02ac66c0bf387cce2be50a308be SHA512 43286f7c9c68048d763a87b02eb932ba597a7aa778153e8abd96d7d496da0d910199dab1e985d21c625daae225dde69936fff56accd52102353e6a03e30db4c7 DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.6.0.ebuild b/dev-python/pypdf/pypdf-3.6.0.ebuild new file mode 100644 index ..246ddfc145ee --- /dev/null +++ b/dev-python/pypdf/pypdf-3.6.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=fb7a080b35b3553bd10221282beeda7847959e83 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 256441a338e949f80db22bbe7b88045a5017d9a6 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 12 12:57:15 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 12 13:18:34 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=256441a3 dev-python/pypdf: Bump to 3.5.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.5.2.ebuild | 60 + 2 files changed, 61 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 2e163b75b80a..a8cb63cb6b91 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -3,5 +3,6 @@ DIST pypdf-3.4.0.gh.tar.gz 6931831 BLAKE2B 037ac998cc1e3d078281b64183197678a8034 DIST pypdf-3.4.1.gh.tar.gz 6930245 BLAKE2B 9e8a5a1ebe95b64c9274ce6b0ea252d65f41d4b6791d6c6acf87f810794892337aed13ddc9b77f05a404fe94b3d9c2444f2a06c4feea9661204e71684fd5 SHA512 e2e3fa74bc6e96afc5999429e7603dd3ab8e6443b6259e456bc6d90cb2d7a15a484b226e218478c1e92cfd7fe23c93247f212568c6fcd51d80afde32b83460ba DIST pypdf-3.5.0.gh.tar.gz 7181507 BLAKE2B 8f5c129613ed12a9eaa90cf0e6fa189b0fc5bf109f26b8cc35ff1550e916b0635715359b2ece9c3c0243095c2e802474e99fe4c59d16b0f75b4375fb2ce07e5d SHA512 a8a0fad3fd08d88738088a06df4f1cbf419571e9e817c6097ce8bdcf7b1dd32f478ac712879cabceb7034f4e9a421f887ff117a1812782eadb670c8043aff86c DIST pypdf-3.5.1.gh.tar.gz 7183874 BLAKE2B 29ce7d052f0c466e72974ec051e149c2383136cc0097e2e104c4c1e5c37836f7908b25bfaa32e5fd85082f860b06ad88adbfbb5bbff95bc7a735e127b26d7964 SHA512 4f28cc0822f472087f096b4b2ee553b87e458009b29c43d41bbba53de9862292c78f4b31a860d4c783a6af4f92fdf32612bab7a42190373d9d9ceae39080bb35 +DIST pypdf-3.5.2.gh.tar.gz 7185283 BLAKE2B b92af14da7fed1cecda4cb0088efaa7031e9a44daa7c81ee0450bbb0f7630129b6e09e4044b3592e4333c466c73f16d033ee32f428c2866d163fc250a15516e9 SHA512 f257f05ddbd0a0195e0ec075b88fd4077bf0c44490311eee6fe1f4d3715c6d29abc681df53d22c2e7a08c2a545f5151d48f1bec2e436031c3b8e599204eb0f5a DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.5.2.ebuild b/dev-python/pypdf/pypdf-3.5.2.ebuild new file mode 100644 index ..246ddfc145ee --- /dev/null +++ b/dev-python/pypdf/pypdf-3.5.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=fb7a080b35b3553bd10221282beeda7847959e83 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 72c562a0fd23678991561ad2dc7fd2e576238679 Author: Sam James gentoo org> AuthorDate: Tue Mar 7 15:44:33 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 7 15:44:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c562a0 dev-python/pypdf: Stabilize 3.4.1 amd64, #894018 Signed-off-by: Sam James gentoo.org> dev-python/pypdf/pypdf-3.4.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.4.1.ebuild b/dev-python/pypdf/pypdf-3.4.1.ebuild index 307145358413..be676896a096 100644 --- a/dev-python/pypdf/pypdf-3.4.1.ebuild +++ b/dev-python/pypdf/pypdf-3.4.1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/pypdf-${PV} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" RESTRICT="test" # 150+ tests require network, too many to deselect PROPERTIES="test_network"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: d44acc1982d547e87d937d0f280370d2afd3fc84 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 7 06:00:36 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 7 07:06:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d44acc19 dev-python/pypdf: Bump to 3.5.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 2 ++ dev-python/pypdf/pypdf-3.5.1.ebuild | 60 + 2 files changed, 62 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 0c4ead2a4c43..2e163b75b80a 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,4 +2,6 @@ DIST pypdf-3.3.0.gh.tar.gz 6803536 BLAKE2B ff70995882581c816fbf7410232c68e964963 DIST pypdf-3.4.0.gh.tar.gz 6931831 BLAKE2B 037ac998cc1e3d078281b64183197678a80345731f6d4691b00f9e546eb61eaa34c4d7f4b704191c887975517da73359983f1b7405776e99257f79b1604dafc0 SHA512 9bee70a039c42533b600f1e95e28a4889d7df212bae18deca7d88501008d3a3e2b4d7fe36134e947cb14b0acc650126688c358ce2b662917a4c6df46241db1ab DIST pypdf-3.4.1.gh.tar.gz 6930245 BLAKE2B 9e8a5a1ebe95b64c9274ce6b0ea252d65f41d4b6791d6c6acf87f810794892337aed13ddc9b77f05a404fe94b3d9c2444f2a06c4feea9661204e71684fd5 SHA512 e2e3fa74bc6e96afc5999429e7603dd3ab8e6443b6259e456bc6d90cb2d7a15a484b226e218478c1e92cfd7fe23c93247f212568c6fcd51d80afde32b83460ba DIST pypdf-3.5.0.gh.tar.gz 7181507 BLAKE2B 8f5c129613ed12a9eaa90cf0e6fa189b0fc5bf109f26b8cc35ff1550e916b0635715359b2ece9c3c0243095c2e802474e99fe4c59d16b0f75b4375fb2ce07e5d SHA512 a8a0fad3fd08d88738088a06df4f1cbf419571e9e817c6097ce8bdcf7b1dd32f478ac712879cabceb7034f4e9a421f887ff117a1812782eadb670c8043aff86c +DIST pypdf-3.5.1.gh.tar.gz 7183874 BLAKE2B 29ce7d052f0c466e72974ec051e149c2383136cc0097e2e104c4c1e5c37836f7908b25bfaa32e5fd85082f860b06ad88adbfbb5bbff95bc7a735e127b26d7964 SHA512 4f28cc0822f472087f096b4b2ee553b87e458009b29c43d41bbba53de9862292c78f4b31a860d4c783a6af4f92fdf32612bab7a42190373d9d9ceae39080bb35 DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 +DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.5.1.ebuild b/dev-python/pypdf/pypdf-3.5.1.ebuild new file mode 100644 index ..246ddfc145ee --- /dev/null +++ b/dev-python/pypdf/pypdf-3.5.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=fb7a080b35b3553bd10221282beeda7847959e83 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: bc94122a4958dbd88dcc7d3420d285e09b34264b Author: Arthur Zamarin gentoo org> AuthorDate: Sat Mar 4 11:17:30 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Mar 4 11:17:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc94122a dev-python/pypdf: Stabilize 3.4.1 x86, #894018 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypdf/pypdf-3.4.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypdf/pypdf-3.4.1.ebuild b/dev-python/pypdf/pypdf-3.4.1.ebuild index e9581fbc5b9a..307145358413 100644 --- a/dev-python/pypdf/pypdf-3.4.1.ebuild +++ b/dev-python/pypdf/pypdf-3.4.1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/pypdf-${PV} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 x86" RESTRICT="test" # 150+ tests require network, too many to deselect PROPERTIES="test_network"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: a8084e470bd7c878c1195428dbd55a9194098d20 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 27 04:56:38 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 27 05:38:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8084e47 dev-python/pypdf: Bump to 3.5.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.5.0.ebuild | 59 + 2 files changed, 60 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 656ac40ed128..0c4ead2a4c43 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,5 @@ DIST pypdf-3.3.0.gh.tar.gz 6803536 BLAKE2B ff70995882581c816fbf7410232c68e9649632161b4927543924a11b1a0a816f1178be399079e32078fe8d89a2aa9cd0eb1562409dc8e7bd388cad3afde37198 SHA512 5db25d6c4b41a1d19b45fa907f53e0106e01c93eb4152079dc4ffbd7bf28fbf8915bf0e3bf1af4a371e805657884fe2c42de4856944085ca7bc07a477f3ba588 DIST pypdf-3.4.0.gh.tar.gz 6931831 BLAKE2B 037ac998cc1e3d078281b64183197678a80345731f6d4691b00f9e546eb61eaa34c4d7f4b704191c887975517da73359983f1b7405776e99257f79b1604dafc0 SHA512 9bee70a039c42533b600f1e95e28a4889d7df212bae18deca7d88501008d3a3e2b4d7fe36134e947cb14b0acc650126688c358ce2b662917a4c6df46241db1ab DIST pypdf-3.4.1.gh.tar.gz 6930245 BLAKE2B 9e8a5a1ebe95b64c9274ce6b0ea252d65f41d4b6791d6c6acf87f810794892337aed13ddc9b77f05a404fe94b3d9c2444f2a06c4feea9661204e71684fd5 SHA512 e2e3fa74bc6e96afc5999429e7603dd3ab8e6443b6259e456bc6d90cb2d7a15a484b226e218478c1e92cfd7fe23c93247f212568c6fcd51d80afde32b83460ba +DIST pypdf-3.5.0.gh.tar.gz 7181507 BLAKE2B 8f5c129613ed12a9eaa90cf0e6fa189b0fc5bf109f26b8cc35ff1550e916b0635715359b2ece9c3c0243095c2e802474e99fe4c59d16b0f75b4375fb2ce07e5d SHA512 a8a0fad3fd08d88738088a06df4f1cbf419571e9e817c6097ce8bdcf7b1dd32f478ac712879cabceb7034f4e9a421f887ff117a1812782eadb670c8043aff86c DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 diff --git a/dev-python/pypdf/pypdf-3.5.0.ebuild b/dev-python/pypdf/pypdf-3.5.0.ebuild new file mode 100644 index ..e9581fbc5b9a --- /dev/null +++ b/dev-python/pypdf/pypdf-3.5.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +RESTRICT="test" +# 150+ tests require network, too many to deselect +PROPERTIES="test_network" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 79ce3466841e0f4c67438494d514538fe78ba929 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 13 05:52:47 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 13 06:05:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79ce3466 dev-python/pypdf: Bump to 3.4.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.4.1.ebuild | 59 + 2 files changed, 60 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 3d5ea696c42c..656ac40ed128 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,4 @@ DIST pypdf-3.3.0.gh.tar.gz 6803536 BLAKE2B ff70995882581c816fbf7410232c68e9649632161b4927543924a11b1a0a816f1178be399079e32078fe8d89a2aa9cd0eb1562409dc8e7bd388cad3afde37198 SHA512 5db25d6c4b41a1d19b45fa907f53e0106e01c93eb4152079dc4ffbd7bf28fbf8915bf0e3bf1af4a371e805657884fe2c42de4856944085ca7bc07a477f3ba588 DIST pypdf-3.4.0.gh.tar.gz 6931831 BLAKE2B 037ac998cc1e3d078281b64183197678a80345731f6d4691b00f9e546eb61eaa34c4d7f4b704191c887975517da73359983f1b7405776e99257f79b1604dafc0 SHA512 9bee70a039c42533b600f1e95e28a4889d7df212bae18deca7d88501008d3a3e2b4d7fe36134e947cb14b0acc650126688c358ce2b662917a4c6df46241db1ab +DIST pypdf-3.4.1.gh.tar.gz 6930245 BLAKE2B 9e8a5a1ebe95b64c9274ce6b0ea252d65f41d4b6791d6c6acf87f810794892337aed13ddc9b77f05a404fe94b3d9c2444f2a06c4feea9661204e71684fd5 SHA512 e2e3fa74bc6e96afc5999429e7603dd3ab8e6443b6259e456bc6d90cb2d7a15a484b226e218478c1e92cfd7fe23c93247f212568c6fcd51d80afde32b83460ba DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 diff --git a/dev-python/pypdf/pypdf-3.4.1.ebuild b/dev-python/pypdf/pypdf-3.4.1.ebuild new file mode 100644 index ..e9581fbc5b9a --- /dev/null +++ b/dev-python/pypdf/pypdf-3.4.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +RESTRICT="test" +# 150+ tests require network, too many to deselect +PROPERTIES="test_network" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 633b11507f4731ca1b16d77afaf7354d494fb90a Author: Michał Górny gentoo org> AuthorDate: Mon Feb 6 04:08:10 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 6 04:31:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=633b1150 dev-python/pypdf: Bump to 3.4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.4.0.ebuild | 62 + 2 files changed, 63 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 04712ecd076e..3d5ea696c42c 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-3.3.0.gh.tar.gz 6803536 BLAKE2B ff70995882581c816fbf7410232c68e9649632161b4927543924a11b1a0a816f1178be399079e32078fe8d89a2aa9cd0eb1562409dc8e7bd388cad3afde37198 SHA512 5db25d6c4b41a1d19b45fa907f53e0106e01c93eb4152079dc4ffbd7bf28fbf8915bf0e3bf1af4a371e805657884fe2c42de4856944085ca7bc07a477f3ba588 +DIST pypdf-3.4.0.gh.tar.gz 6931831 BLAKE2B 037ac998cc1e3d078281b64183197678a80345731f6d4691b00f9e546eb61eaa34c4d7f4b704191c887975517da73359983f1b7405776e99257f79b1604dafc0 SHA512 9bee70a039c42533b600f1e95e28a4889d7df212bae18deca7d88501008d3a3e2b4d7fe36134e947cb14b0acc650126688c358ce2b662917a4c6df46241db1ab DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 diff --git a/dev-python/pypdf/pypdf-3.4.0.ebuild b/dev-python/pypdf/pypdf-3.4.0.ebuild new file mode 100644 index ..646a669f191b --- /dev/null +++ b/dev-python/pypdf/pypdf-3.4.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +RESTRICT="test" +# 150+ tests require network, too many to deselect +PROPERTIES="test_network" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # dead URL + # https://github.com/py-pdf/pypdf/issues/1526 + tests/test_xmp.py::test_issue585 +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 3e647a8879ce5496a9065517a817ea47f5692375 Author: Michał Górny gentoo org> AuthorDate: Mon Jan 23 07:00:24 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jan 23 07:34:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e647a88 dev-python/pypdf: Bump to 3.3.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.3.0.ebuild | 62 + 2 files changed, 63 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 387e556b5023..54083753ba39 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,4 @@ DIST pypdf-3.2.0.gh.tar.gz 6618810 BLAKE2B 33ade8743339415b58f2397a55972479bdfd6ed87c68ea9cc1c9f05c80210a6265e97f1f26dfc3bd2bd74c6c11ab45d8a3d9ded1b150e96f804f9893c74fb517 SHA512 a3db36086733f6bfdfd4e6b56dc976e30c2940362fcf1e8b4c61b3c8d421c870821eb7c5dcbc41e6362f487d474c5d2bcfbe6b9aabd8c496d3a030aa40d1af57 DIST pypdf-3.2.1.gh.tar.gz 6619758 BLAKE2B 157d66c86d605aea8d578713e0a8e72966cadcde7884f85af558a9759db5fe1c73c0467237bb185d1f60e02a0979db1edbdadb585e9785c8236e0d1e4a91d7d5 SHA512 1117c76b03d5d33c2b619b6e47a6566b0c8e890b96ac558f1b1ab4ef4b7b795934985a3b70abe48cbb756c1df3c7c08c082791b167cdeeaeeed2b9254552d0f9 +DIST pypdf-3.3.0.gh.tar.gz 6803536 BLAKE2B ff70995882581c816fbf7410232c68e9649632161b4927543924a11b1a0a816f1178be399079e32078fe8d89a2aa9cd0eb1562409dc8e7bd388cad3afde37198 SHA512 5db25d6c4b41a1d19b45fa907f53e0106e01c93eb4152079dc4ffbd7bf28fbf8915bf0e3bf1af4a371e805657884fe2c42de4856944085ca7bc07a477f3ba588 DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 diff --git a/dev-python/pypdf/pypdf-3.3.0.ebuild b/dev-python/pypdf/pypdf-3.3.0.ebuild new file mode 100644 index ..646a669f191b --- /dev/null +++ b/dev-python/pypdf/pypdf-3.3.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +RESTRICT="test" +# 150+ tests require network, too many to deselect +PROPERTIES="test_network" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # dead URL + # https://github.com/py-pdf/pypdf/issues/1526 + tests/test_xmp.py::test_issue585 +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: eef0d7ae6d46b82365d7297f933ee9b61860fbf0 Author: Michał Górny gentoo org> AuthorDate: Mon Jan 9 07:16:01 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jan 9 08:09:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef0d7ae dev-python/pypdf: Bump to 3.2.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.2.1.ebuild | 62 + 2 files changed, 63 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 7a54a7d699ae..387e556b5023 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-3.2.0.gh.tar.gz 6618810 BLAKE2B 33ade8743339415b58f2397a55972479bdfd6ed87c68ea9cc1c9f05c80210a6265e97f1f26dfc3bd2bd74c6c11ab45d8a3d9ded1b150e96f804f9893c74fb517 SHA512 a3db36086733f6bfdfd4e6b56dc976e30c2940362fcf1e8b4c61b3c8d421c870821eb7c5dcbc41e6362f487d474c5d2bcfbe6b9aabd8c496d3a030aa40d1af57 +DIST pypdf-3.2.1.gh.tar.gz 6619758 BLAKE2B 157d66c86d605aea8d578713e0a8e72966cadcde7884f85af558a9759db5fe1c73c0467237bb185d1f60e02a0979db1edbdadb585e9785c8236e0d1e4a91d7d5 SHA512 1117c76b03d5d33c2b619b6e47a6566b0c8e890b96ac558f1b1ab4ef4b7b795934985a3b70abe48cbb756c1df3c7c08c082791b167cdeeaeeed2b9254552d0f9 DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 diff --git a/dev-python/pypdf/pypdf-3.2.1.ebuild b/dev-python/pypdf/pypdf-3.2.1.ebuild new file mode 100644 index ..14f4890dfa3f --- /dev/null +++ b/dev-python/pypdf/pypdf-3.2.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +RESTRICT="test" +# 150+ tests require network, too many to deselect +PROPERTIES="test_network" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # dead URL + # https://github.com/py-pdf/pypdf/issues/1526 + tests/test_xmp.py::test_issue585 +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
commit: 297848f25301c7e7e633fd1660732d355c407b5f Author: Michał Górny gentoo org> AuthorDate: Sun Jan 1 07:23:23 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Jan 1 07:25:46 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297848f2 dev-python/pypdf: Rename of dev-python/PyPDF2, v3.2.0 Upstream has renamed PyPDF2 back into pypdf. Since this naturally breaks all reverse dependencies, let's add it as a separate package instead of doing a pkgmove. Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 2 ++ dev-python/pypdf/metadata.xml | 12 +++ dev-python/pypdf/pypdf-3.2.0.ebuild | 62 + 3 files changed, 76 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest new file mode 100644 index ..7a54a7d699ae --- /dev/null +++ b/dev-python/pypdf/Manifest @@ -0,0 +1,2 @@ +DIST pypdf-3.2.0.gh.tar.gz 6618810 BLAKE2B 33ade8743339415b58f2397a55972479bdfd6ed87c68ea9cc1c9f05c80210a6265e97f1f26dfc3bd2bd74c6c11ab45d8a3d9ded1b150e96f804f9893c74fb517 SHA512 a3db36086733f6bfdfd4e6b56dc976e30c2940362fcf1e8b4c61b3c8d421c870821eb7c5dcbc41e6362f487d474c5d2bcfbe6b9aabd8c496d3a030aa40d1af57 +DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 diff --git a/dev-python/pypdf/metadata.xml b/dev-python/pypdf/metadata.xml new file mode 100644 index ..75594da4e373 --- /dev/null +++ b/dev-python/pypdf/metadata.xml @@ -0,0 +1,12 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + +pyt...@gentoo.org +Python + + +pypdf +py-pdf/pypdf + + diff --git a/dev-python/pypdf/pypdf-3.2.0.ebuild b/dev-python/pypdf/pypdf-3.2.0.ebuild new file mode 100644 index ..14f4890dfa3f --- /dev/null +++ b/dev-python/pypdf/pypdf-3.2.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=0fe84b30ed33ff3daa9293e44349b8618f135699 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +RESTRICT="test" +# 150+ tests require network, too many to deselect +PROPERTIES="test_network" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # dead URL + # https://github.com/py-pdf/pypdf/issues/1526 + tests/test_xmp.py::test_issue585 +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +}