diff options
Diffstat (limited to 'dev-python/pikepdf')
-rw-r--r-- | dev-python/pikepdf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pikepdf/pikepdf-7.0.0.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 85218cbf658b..6ae86a7c7825 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -2,8 +2,10 @@ DIST pikepdf-6.2.6.gh.tar.gz 2905945 BLAKE2B 3ab7e80ca43c7395994333a47f3ef667b69 DIST pikepdf-6.2.7.gh.tar.gz 2906211 BLAKE2B bfc3d8e707b952e214fda3e31ecb0cb44266f41de63f2daea7e13dc944ed8d9d2438ead7a0b6a8f18b6295f52621311f94849b060459d082e75eef0c71713148 SHA512 4cfab0729c0f87bd52f58b9f23af8a4ddd34029b1259e4e2c67a73abfda3b5bd2e8de25962ed70a5497609398453e4f1ea6642e3b01245cb2c70bc09b5ac55f8 DIST pikepdf-6.2.8.gh.tar.gz 2906054 BLAKE2B 7b639741112857dbf784da7245f905e76664b200f4f832b6a2e8bbf7ab3e48e7f3a5dba1ae00bba72a5797e7e7bce0f1cea6777114ccf9a9b39d352a754edaeb SHA512 d27d8dcd80aa6a553ea6fb3c404bbe7752b2d1a7fb7a8e0315707f24243ff3fcdf58f273dc283e117a0124bfa724f7384004340f20d9f322cf08a5e0366b0225 DIST pikepdf-6.2.9.gh.tar.gz 2906102 BLAKE2B bd876f506714b237a6010b72c4557bc600e2ee4d6621131c21902ae9f41eb39a9a54a6c08d08dfa84fb3eeec8f2ae7e256d1f1fde533dbc2660a2b415077c8a7 SHA512 2b16e51c999fe1d1f593a9079ae0f13fdaa1955b5d55023169e3a805cbdda07b7ca4108ecea66463a1a253712b851b6dc824aed2c80e5f0caa3ba398d413bd64 +DIST pikepdf-7.0.0.gh.tar.gz 2899924 BLAKE2B 0aeb5b9a26b8f5363ed62ac59e4ffd6dc11aba44c2d3248f8e47c31811cfb810ec7e11150e1bf64ea28242bb7749e3fa2f2fc2bded3af64123e39aa1e4595b8d SHA512 5a11b0a3f35f7d7071ad0553be598f9d2e2d95ce325c080c69e9551e07ebde0102f02990d5ef32be860b468fefc1c29d5f9ff581d1f75321314c52fb2de2f389 EBUILD pikepdf-6.2.6.ebuild 1607 BLAKE2B 92e6ac52cf35242199acaabb4e12698be2ebe9c49ce0f9dc30755a74667c1546dd1bfae5d5fea084d4bc1175dcf5d859f1d7f51097fc930867b0530bf02c7868 SHA512 bb41d2eb4da7f92a90e7a0f8a959336bf66623b6f4493b19fe0a372b0c3138f258c95807e06473f8310027136f3bfd1d6be5f038885d5581d2346af565ecf685 EBUILD pikepdf-6.2.7.ebuild 1611 BLAKE2B edf22a90167ea2dd54d8030ae451f95e5d24745528afe0340ab6d348af65e155d7a8b1fd8d7258926f6b20a956e04b2b49bbf12fc8e2f5d26f03e8c1437750b6 SHA512 28afe4b977b06826974b969f5837a46198eadae27ca30e05ad7d8065cbeb44373f4f97170e22dc97e308691fe3f237538dc1997885056b3c7b6e4d1fe80a979e EBUILD pikepdf-6.2.8.ebuild 1611 BLAKE2B edf22a90167ea2dd54d8030ae451f95e5d24745528afe0340ab6d348af65e155d7a8b1fd8d7258926f6b20a956e04b2b49bbf12fc8e2f5d26f03e8c1437750b6 SHA512 28afe4b977b06826974b969f5837a46198eadae27ca30e05ad7d8065cbeb44373f4f97170e22dc97e308691fe3f237538dc1997885056b3c7b6e4d1fe80a979e EBUILD pikepdf-6.2.9.ebuild 1611 BLAKE2B edf22a90167ea2dd54d8030ae451f95e5d24745528afe0340ab6d348af65e155d7a8b1fd8d7258926f6b20a956e04b2b49bbf12fc8e2f5d26f03e8c1437750b6 SHA512 28afe4b977b06826974b969f5837a46198eadae27ca30e05ad7d8065cbeb44373f4f97170e22dc97e308691fe3f237538dc1997885056b3c7b6e4d1fe80a979e +EBUILD pikepdf-7.0.0.ebuild 1625 BLAKE2B 465659fa466e4f1d6b42c8e85d2146e7058d22953a18377859ff44320210acc0d2260e9499960c1fa65ae8c98ace88d2ba4444a5a04bee7f884b0bc7efb93819 SHA512 8d24c99a0974aa1575b059733ad83110fe5cc2e83b7ae528cdaf2046ace69190f0ad96f1417c69495dc2d726375f70e451d87f80b0693a9b2a996bcbad0a5335 MISC metadata.xml 687 BLAKE2B 07c94d9dac5323202f955fd9c1e5a6fc78518a0a6f703c54c73b70e774900c41a4823beb3f8be7068d83878d1e60df0d7e30efd53bbc1ba31019477de82b092f SHA512 1be3ec00342e8079363db0c57f75ae88bd05e873869fbbb27442e9fe98eb6917c55b4eaf03ed22c4c44ca3aec9b84839cbc254202460a3266bbc42ff8f0f84b3 diff --git a/dev-python/pikepdf/pikepdf-7.0.0.ebuild b/dev-python/pikepdf/pikepdf-7.0.0.ebuild new file mode 100644 index 000000000000..9cf479f7a649 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-7.0.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=app-text/qpdf-11.1.1:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecation[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-9.0[${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/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.{8..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 +} |