diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-08 14:43:20 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-08 15:01:45 +0100 |
commit | 6c06dff828d79f2f9f60da353968c8181aad6252 (patch) | |
tree | 3eee760ed88df7933255220f42ac7930ef48419f /dev-python/pikepdf | |
parent | dev-python/QtPy: Bump to 2.3.0 (diff) | |
download | gentoo-6c06dff828d79f2f9f60da353968c8181aad6252.tar.gz gentoo-6c06dff828d79f2f9f60da353968c8181aad6252.tar.bz2 gentoo-6c06dff828d79f2f9f60da353968c8181aad6252.zip |
dev-python/pikepdf: Bump to 6.2.2
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-6.2.2.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 9340fd1021ff..73eddab222bd 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1 +1,2 @@ DIST pikepdf-6.2.1.gh.tar.gz 2905482 BLAKE2B 9a5b2c7a1b23f4156b89b44780e98f2a82582c05221c0ec2ead3490f3a14a6fa34caea000fb34c0df1458d8aac019bbb0bce10bbbf8bba0c159639b3129e597c SHA512 f6888dcd42c18377f69aa71fce92aa752b73f369e2db4afc106b2b345556a3a9efbb007101066d562f44cfed0bb5816ae0a6cd998b1d634555bf27fbe94baddf +DIST pikepdf-6.2.2.gh.tar.gz 2905712 BLAKE2B 161df1ccc98238424d677c46ec0bc226f9bacc150548dc26fdd71e1c08e589c184b17860081dbc001e6a0b4f18079285bd21bb841671448c8db0dfd6afa12371 SHA512 68e02d97d4867de3e014dd059a6808f54a23e693f56d960939cb90eb2e0b2676b9a12ecad4884abe60d2cf1feb14c96250bb08de25ebb68a89c924c7f7623575 diff --git a/dev-python/pikepdf/pikepdf-6.2.2.ebuild b/dev-python/pikepdf/pikepdf-6.2.2.ebuild new file mode 100644 index 000000000000..3851886d4639 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-6.2.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..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 ~ppc ~ppc64 ~riscv ~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[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5[${PYTHON_USEDEP}] + >=dev-python/pytest-6[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +} |