diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-24 13:27:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-24 13:27:08 +0100 |
commit | bfc2a8298cab03d289dc2cfed63308396fa0babe (patch) | |
tree | 2d4288572b0938dcfc64edd39a4c1086402931a5 /dev-python/pypdf | |
parent | e28a6e6eb5373071be3a09aa457f0488d753c80c (diff) |
gentoo auto-resync : 24:06:2023 - 13:27:08
Diffstat (limited to 'dev-python/pypdf')
-rw-r--r-- | dev-python/pypdf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pypdf/pypdf-3.11.0.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index bc6fd69e8574..04058383bf06 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,9 +1,11 @@ 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 da9489bfd7c91c497852ce71050548d99fbca8118575c5eec85d55611fdafbe471c1cf7c4c8ef0e46165a89771e557c868f133af325d4672ba897fffffd43c02 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 EBUILD pypdf-3.10.0.ebuild 1142 BLAKE2B 958254ee527f5d628bbcb8bc6e7138538c172c757420e2eff4b652f41b4663a25e5c521ffd76fc551f88ada27a18d2d390c1daceb907a365b54c95b0d4e9d714 SHA512 621b02942c63ee8cd53439d424e37028d4c955f3f6fe2f1b4aa94019e0f29edffa75938cf8cabef4ade38531ead1b991ce312b84aeb612d0ca4b2134bae5c289 +EBUILD pypdf-3.11.0.ebuild 1185 BLAKE2B f3f0334608e99e610a13ffebfb6c7f52e2102ee43e8402ea8d08abeb3429449fb5d7d06a56849fba90b85b63cb59700def49861b425fe8dccb387933605adba3 SHA512 7e1c68915a0d9aff029544d02833f0349576afa66c2589c4477642f29f462488fe821cdd82a8184c57918e428582b95f85eb81b4ac478441b2f3289153cffdff EBUILD pypdf-3.8.1.ebuild 1244 BLAKE2B b464a7c321f5a4f233bbb11b73e91c3e512236ee4799c628ad649770e29ceeec8a7dc390436172b47f70197828973a72d79cedf7b07e7de1e4a164da17094d9f SHA512 e22731975a0a437905e378d683f94c2c82044512712c25e7fa138c671e1c376bfb26eedab371996f38578542d77fa247870d329d5534edc3d11895945c9828ba EBUILD pypdf-3.9.0.ebuild 1124 BLAKE2B c44f7ece585165911c7965a583d25414e0b911ae07bfc3548f7084df7102fcd481bd4c9b4a55f0ae414a74c1e9a113f28e301dfc6ad96f89d03665094b1e5628 SHA512 fd4ffd74c1ecbea51954af7a8dc09aa4d16cd7ea14490622e48fd440259793c76cabbabd1c17529019c98090aff411973e876eaf6c69f527492b8b3b57eefe56 EBUILD pypdf-3.9.1.ebuild 1124 BLAKE2B c44f7ece585165911c7965a583d25414e0b911ae07bfc3548f7084df7102fcd481bd4c9b4a55f0ae414a74c1e9a113f28e301dfc6ad96f89d03665094b1e5628 SHA512 fd4ffd74c1ecbea51954af7a8dc09aa4d16cd7ea14490622e48fd440259793c76cabbabd1c17529019c98090aff411973e876eaf6c69f527492b8b3b57eefe56 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 000000000000..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" +} |