diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-08 00:39:31 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-08 01:11:21 +0200 |
commit | 01891865375410742d187aa58e32a5381f02f917 (patch) | |
tree | 8922069309c2843d0f503b2f5f5571618e8c4c39 | |
parent | dev-python/hypothesis: Bump to 6.8.9 (diff) | |
download | gentoo-01891865375410742d187aa58e32a5381f02f917.tar.gz gentoo-01891865375410742d187aa58e32a5381f02f917.tar.bz2 gentoo-01891865375410742d187aa58e32a5381f02f917.zip |
dev-python/pikepdf: Bump to 2.11.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/pikepdf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pikepdf/pikepdf-2.11.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index fe2945bc26e4..8c74b345ecb1 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1 +1,2 @@ DIST pikepdf-2.10.0.tar.gz 2376794 BLAKE2B c9f85ddec15a7eaef2ed3c43221196d957dc5d8d03aa9931886d52653efa238d6d847862e2610edcfca85cd2ad0746f2f0ae78e70ecd6666cc1a37b4f6644dd2 SHA512 d2a8ecd91ef4ae8c16b5e6fcd7149a1180d6c7c1f16c262566d7d43f82d25a6701676511c8327b265cf0ac2bfc6db29b43c4713e4b51651fdb5f680449a53af0 +DIST pikepdf-2.11.0.tar.gz 2382340 BLAKE2B 60a09d1b7f463720af17be4b3ac70fd575f01f0e4f27b87723fddf18424d97fddc6f11de59bb1a061496f9d847babfcf3446d3bbd7445dea56106879a2ff31a3 SHA512 d55c10799667a142ed651ab36de01011abad0ae95c3dc267871147deb458e0930aba6fd5c3a20487641f2d8fa60d7b15f6ba40cbb2370bc13ef418ce3b300233 diff --git a/dev-python/pikepdf/pikepdf-2.11.0.ebuild b/dev-python/pikepdf/pikepdf-2.11.0.ebuild new file mode 100644 index 000000000000..2a76869d388e --- /dev/null +++ b/dev-python/pikepdf/pikepdf-2.11.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="app-text/qpdf:0=" +RDEPEND="${DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}]" +BDEPEND=" + >=dev-python/pybind11-2.6.0[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] + 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_sphinx docs \ +# dev-python/ipython \ +# dev-python/matplotlib \ +# dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/wheel/d' setup.py || die + sed -i -e '/-n auto/d' setup.cfg || die + distutils-r1_src_prepare +} |