diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-14 05:40:36 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-14 05:59:28 +0200 |
commit | 95fe5ff155f567c8d5fe262804c7c7dd85c528c3 (patch) | |
tree | 71a0520f0a357dd6df3b89785a3e53a9f7885388 /dev-python/pikepdf | |
parent | dev-python/icalendar: Bump to 5.0.5 (diff) | |
download | gentoo-95fe5ff155f567c8d5fe262804c7c7dd85c528c3.tar.gz gentoo-95fe5ff155f567c8d5fe262804c7c7dd85c528c3.tar.bz2 gentoo-95fe5ff155f567c8d5fe262804c7c7dd85c528c3.zip |
dev-python/pikepdf: Bump to 7.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pikepdf')
-rw-r--r-- | dev-python/pikepdf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pikepdf/pikepdf-7.2.0.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 5b8f6ccc5e70..1457dff0f981 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,2 +1,3 @@ DIST pikepdf-7.1.1.tar.gz 2911088 BLAKE2B 0c65830ce4ec8f36814dd2a523dcc753380df7b6e4ce176b0e61e1e7f5f8bbfa01c9ef1ab093cbfeaf7dd1c67ada4e7dca53cf6da8b04cbceca825276179627b SHA512 e59bf20008df058aa2bbccedf71294ffc39a7aa774eeebcc33214ec7864be461959317bbd92f3df415690bb4ef3bbb63f9c05c613bcb9023b680637c07f3bd75 DIST pikepdf-7.1.2.tar.gz 2911232 BLAKE2B 14b6b90617b7bd30f6a595337751f586cbe7d94e46fb4adbc233d542b6b96853b4cd0fb815e956a9865c97f14800065c9793c340f9de814a23f7a4c90903012f SHA512 2e8b75627d296689b044bec1a33740e8a3de5fbb8fdfe3aa64e4ddd2a8c2f3f327c9b553e41364d2bfc5d821ff2a84f79fed917626930a543edf94286b85bcab +DIST pikepdf-7.2.0.tar.gz 2913496 BLAKE2B 6992b9e64e7bd718fb09c5cd3eb77937c802bb07b24b72bb0825ec721137ee1211f9f7bbc3d8141b60e0ece1f71e6d9d36b50153377b3475f30d7aac3c8f2181 SHA512 96759f36e3f019d6cba775541e7338e774d61cb71c464e42625b1b6c98b8babf5fc9d9324dc6375257897a130d7fe5facdd7a1ddaec6662c8b088854e01fc97e diff --git a/dev-python/pikepdf/pikepdf-7.2.0.ebuild b/dev-python/pikepdf/pikepdf-7.2.0.ebuild new file mode 100644 index 000000000000..68c143cdaf70 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-7.2.0.ebuild @@ -0,0 +1,58 @@ +# 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} 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" + +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 +} |