diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-29 03:04:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-29 03:04:53 +0000 |
commit | bd35a61d88b111f25f4b10126e0d4755545fc7a5 (patch) | |
tree | 656ac661ed7b28ad66ba778b74bc5fe4e2b86b10 /dev-python/pikepdf | |
parent | 5d4291ee2ba8b85e8515b5f47b814a5c872eed04 (diff) |
gentoo auto-resync : 29:10:2024 - 03:04:53
Diffstat (limited to 'dev-python/pikepdf')
-rw-r--r-- | dev-python/pikepdf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pikepdf/pikepdf-9.4.0.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index fabfe2e8bb2f..4c4387c41c87 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -2,8 +2,10 @@ DIST pikepdf-9.1.1.tar.gz 2869514 BLAKE2B b196a61d599db1355695d40ac69e09ea7a020c DIST pikepdf-9.1.2.tar.gz 2869865 BLAKE2B 74b64d628f12a5335a9dfbe2e15fbbd0a39e266100bcc8b33e94c954aab91150f46649b181bf049cd1084a6d2412ea9485cc57d4d6a23a4678a5ea55ebbb7357 SHA512 676d68f05a506b6aa69e1b01d03164de6731d17b48d2cd4b123221ebe27aef04a75d458c897c53d504a0b3aa7d0bc3e78aaf707a3cfdcdf8d31ee5e537188bd3 DIST pikepdf-9.2.1.tar.gz 2905740 BLAKE2B cee801fcb231f2537ce75555b10d68de9acc62e7824c26a00960293d056ae08dfd79607115ca110204af95bee99b57040ba408d47453636413c1291ba4e8e7cf SHA512 5b99272c3a98499770bb3120ead62ebdda731210e0305ec143809fcea7f978bf5dd4f4f7b90b6392af40b1e2c6e79a83e6a67d54a238fc398e38cf2bd675bc30 DIST pikepdf-9.3.0.tar.gz 2905550 BLAKE2B 62b3a1d655fb5b3e4d315a3feaeb14a043048c5985f5cf99812c07e1d248ae52cb1734dbd091103f36a3fd5a981c89b57208fb50f5c1081e08e3c20ec728ff9c SHA512 3325ab06c285f8f51c66c3815b15f96b0730e38f8023ce5c1e46818c581c38ab3bd89875e5de6ce1064a5929a8c386740d76e662c82d00d9c46961c56da4f0c0 +DIST pikepdf-9.4.0.tar.gz 2905478 BLAKE2B fea41290e14c9c3254993f5885270cee8b896f830b6c4a9297843f2754b189ca9d095d33564a95686ff381dc1151d078c587a9fef681fc29f0ede1ec5b61e1e4 SHA512 53be3ca19c3daff564aef4e07b025741d1d8ab6196bf14299059263d432ab5906d73e35b88d940b8429f44f5e595f30d70276f388687b9200d4b561fe1183b29 EBUILD pikepdf-9.1.1.ebuild 1937 BLAKE2B ac620d5fe66545a4671c6bd68f279e07802126712bfcb3aa2786c16d8d47c027abed395cc9a625b120d3ea573ca78cfd671b034764d13c59e28a3dc5249d3bfb SHA512 80cda028c64ec694a052677a48d93825e3bcb08908fd635d54e91d9c635eb0814b35cb799ecaf51df4346acdf2f29beb3e261e77c702d6f1caae784179c45a96 EBUILD pikepdf-9.1.2.ebuild 1939 BLAKE2B d1e3dcebe9e664ed010e29e7cd63174a4b9d21cda7dfeadb160a195c6813da4504047605765fed270002ab9f92f1ad7a64d88289c05ad15d94b6dd68dea8303c SHA512 427e9a0b4f4e9e8a0f568a35dfc86315181073a0e334f8bddb6ebb2a23c777229caa255e61cb48ec0d56e9360a63afdb01332e759654f8782483993b311e2566 EBUILD pikepdf-9.2.1.ebuild 1945 BLAKE2B 601ab7ae08fd87233aab26d5d46341b61413601bb6be55c1bf15c99ac8c8b361d2219c468c327b0d1cbda1ed0f44c81559e1385573e7a3e86805180b46da09cd SHA512 fc3fc41400f77af387ac88df3f2b9011504635e335a0566ba9fe1eb1e5ae9ff23d96ecfc652fc9a6bde055a4bba3993e4e0133abf56690ad56db095622402591 EBUILD pikepdf-9.3.0.ebuild 1941 BLAKE2B b4da6130dce389c19dfa8ccfdb0a6f714d250ddf7b3b4bf9ffd70d19e3ae28b050e044c4f58cec3357ea6a2931383deec8f8a336775f07de0a50ec1016f1b918 SHA512 c2d83e19f993f8a5dd419d3ee251b77d79faa77ee0499ef798470176658d9180876fa4ebb4b0fabe676a016f6f51a104497c9ced8f6bd182d8af7a92fd41e430 +EBUILD pikepdf-9.4.0.ebuild 1945 BLAKE2B 601ab7ae08fd87233aab26d5d46341b61413601bb6be55c1bf15c99ac8c8b361d2219c468c327b0d1cbda1ed0f44c81559e1385573e7a3e86805180b46da09cd SHA512 fc3fc41400f77af387ac88df3f2b9011504635e335a0566ba9fe1eb1e5ae9ff23d96ecfc652fc9a6bde055a4bba3993e4e0133abf56690ad56db095622402591 MISC metadata.xml 687 BLAKE2B 07c94d9dac5323202f955fd9c1e5a6fc78518a0a6f703c54c73b70e774900c41a4823beb3f8be7068d83878d1e60df0d7e30efd53bbc1ba31019477de82b092f SHA512 1be3ec00342e8079363db0c57f75ae88bd05e873869fbbb27442e9fe98eb6917c55b4eaf03ed22c4c44ca3aec9b84839cbc254202460a3266bbc42ff8f0f84b3 diff --git a/dev-python/pikepdf/pikepdf-9.4.0.ebuild b/dev-python/pikepdf/pikepdf-9.4.0.ebuild new file mode 100644 index 000000000000..041e2461025b --- /dev/null +++ b/dev-python/pikepdf/pikepdf-9.4.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="big-endian" + +# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as +# https://qpdf.readthedocs.io/en/stable/release-notes.html. +DEPEND=" + >=app-text/qpdf-11.5.0:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecated[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.12.0[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + !big-endian? ( + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + ) + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + media-libs/tiff[zlib] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -e '/-n auto/d' -i pyproject.toml || die +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile to system load + tests/test_image_access.py::test_random_image + tests/test_image_access.py::test_image_save_compare + tests/test_image_access.py::test_palette_nonrgb + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} |