diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-01 15:32:42 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-01 15:41:25 +0100 |
commit | 3c38c0e0a49014ab2224a11e0100c8c7581ac780 (patch) | |
tree | 8771e5fd2f9f260f7562b0b9030d4e7d63adb172 | |
parent | dev-python/hatch-fancy-pypi-readme: Bump to 24.1.0 (diff) | |
download | gentoo-3c38c0e0a49014ab2224a11e0100c8c7581ac780.tar.gz gentoo-3c38c0e0a49014ab2224a11e0100c8c7581ac780.tar.bz2 gentoo-3c38c0e0a49014ab2224a11e0100c8c7581ac780.zip |
dev-python/pikepdf: Bump to 8.11.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/pikepdf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pikepdf/pikepdf-8.11.2.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 1d574a520608..96151f4c1c54 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,6 +1,7 @@ DIST pikepdf-8.10.0.tar.gz 2865745 BLAKE2B 088b18c1ed5df942f5efc01d1895af6417a05bb2f5e249c2ad134f282456fe9841e8fd6414005f21845aabc9a543967b1c73f41b36e3c85821f656c1fa3c5275 SHA512 5e7ce6a0a8036e9387a0e94a67cacf5276ff9e0a08d70ed523ed6c2d0da3386ac16cc315dab490c492f3ea446fd85b2ff371fe3d3979a9efd3cc784b31f46c7d DIST pikepdf-8.10.1.tar.gz 2866702 BLAKE2B a525b348bfd144623233f83cd194d0fbe3385d48242bd730fd00c2e660ffffe5d19eaf39d306824a6bc835f7ca9660459efa8a69135f86278ddc3271a05d1a24 SHA512 aad1135cbff9513a0a572aa35d8f408188573271c7f62473b4a0a8a86795587351240dddb53db59a4eb7a065b0a0921ffca1c6d1af5b8e48dc6beb9968f000d3 DIST pikepdf-8.11.1.tar.gz 2869234 BLAKE2B ec8c5d0ccae1c24a08ba685f1c7ce81ed7ff98bfe0172ee32cd7a2aa7e0844c1b85d6a27bb911eeefc1b49866f68163e0bb51f81e41ccd1c00d27cb9851cf5bd SHA512 1651d02af9bbce9c9c7a9622df46b6b0c92b87d13bb4fdd63da795ea14baf6ce69d035e90b4ac17da4d0876cbd256c349a9be4cffe87796f169b79d50b1c893c +DIST pikepdf-8.11.2.tar.gz 2870263 BLAKE2B 6cf3666baca5d20b125efc3f6d8cfe7f96b9334b8a39da67fe3f4185f41232d8a18bf902f21bfe33e4259b7fb61e7dc462a247c76bf4564a3bdf0ea987119d91 SHA512 57bf5d16aaf9367eef9407f7f406a5ee74f2060d276ab861379c74c2193d02b2e3cca0925ee29813791bb36fae8dbbba4a9b16a7f4c2d19c67c21bbe7bb3f80f DIST pikepdf-8.4.1.tar.gz 2853305 BLAKE2B 2298514159db17ba49b8e2fa2407d60de50273bea111ece704251d99193bdc4c8ed77f624237a49c3f4f129e3b14ac4ddd1006cf3024bcbf822bc5523e0fee35 SHA512 6989e8a3888f612e453ec1ea8425c0ca35ccfee19ae5e8c32df136ebc3fbb7728d9fe5beaacb4e392a20c9037a1009fc8f8d53d73634427fb0df9103626e34fa DIST pikepdf-8.7.1.tar.gz 2860480 BLAKE2B fa06667947d0166e8597e4fa757ffa96eb69ed3fe2dfd4a54e515678f55afd15a0e2dfcd571fabc933423f0696725d623b0fb9f95cb8ca8633a6581a7957c25d SHA512 3adc075244eb66e0aa4b18882c2ede598b26a40c56497628a8262f82c8ec72af25b4c97ded0771a8e0ec7bb1e7537ec4e172505fd30271a995491361bf17277f DIST pikepdf-8.8.0.tar.gz 2865070 BLAKE2B 78c26c577db858c27a1aa632c0e93a955eafc76f3e5928a5d4862408a71c02b66325e51728e81a5d6bd571655b2c96468592b3c591993e4cf6ecfa28fd997a89 SHA512 91bdf67a800c18559172c7a253859e6e5ef443b0f6e2d2f3af21042db2640f9d96a8fb5764e6ddd64ace248788e32b071ed624c95a6a0557ba19dc6fc33fdf76 diff --git a/dev-python/pikepdf/pikepdf-8.11.2.ebuild b/dev-python/pikepdf/pikepdf-8.11.2.ebuild new file mode 100644 index 000000000000..e030acc1c902 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-8.11.2.ebuild @@ -0,0 +1,67 @@ +# 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..12} 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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# 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.7.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[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.10.1[${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}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile to system load + tests/test_image_access.py::test_random_image +) + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} |