commit:     bb180a61c37d944f4ecf657d55ad360a86958ed0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 08:58:35 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 09:29:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb180a61

dev-python/pikepdf: Bump to 4.5.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pikepdf/Manifest             |  1 +
 dev-python/pikepdf/pikepdf-4.5.0.ebuild | 53 +++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest
index e59d40bc639c..c2e1cfcafafd 100644
--- a/dev-python/pikepdf/Manifest
+++ b/dev-python/pikepdf/Manifest
@@ -1,2 +1,3 @@
 DIST pikepdf-4.3.1.tar.gz 2348339 BLAKE2B 
9b1f04a87e7e7d2dc2589eaa7db4a670e8ceda753191e473e1a5da9ead532121d0d7d4f734fa234d60a9b5a5931d022f46e252a8c69947e9553df67b81043a06
 SHA512 
0156ad57a9af2d39538f9f728231e931e1a44ecea74d26e850640fa062f2dc60d427deeea5fc25ab33037d11d7a403cefe5f930c7ed92be92a6d3432f87d8fa6
 DIST pikepdf-4.4.1.tar.gz 2350630 BLAKE2B 
3a0973bda758952ad4f2bbbb37061882e86cc17776ff72a5ac69950c46adfe0584f447f3dbe0ddac80d41b3b183fe31caad96dbd4c1db4c14499b449c8cdd371
 SHA512 
4158ff7f8e5ee6098ea73ec3bc47686b3113d941d9522ded0ffd572e624d3b1099939b5103de8eb90c73048fe8ca2be8bc5e1b3946ebe8159df877cf9633f6fa
+DIST pikepdf-4.5.0.tar.gz 2353720 BLAKE2B 
6c15a07b686a6279d1c8bbccc1534a153ae6e809f2b1b63bf4a44f9d49f064cd8b102aa2bb50cb824689c25cc4850d84fb04355fa66dea1e0fc8582d9a2743ad
 SHA512 
d664a192cee28143c06cd7653ba225c7fb559a6480b9fab3b87cfb5231678967af5ec1f896b8c48938cc1f1ca3ff00b1dd5a0df1807a84d17fa104a7dcd98dec

diff --git a/dev-python/pikepdf/pikepdf-4.5.0.ebuild 
b/dev-python/pikepdf/pikepdf-4.5.0.ebuild
new file mode 100644
index 000000000000..29b9efdab409
--- /dev/null
+++ b/dev-python/pikepdf/pikepdf-4.5.0.ebuild
@@ -0,0 +1,53 @@
+# 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..10} )
+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-10.3.1:0="
+RDEPEND="${DEPEND}
+       <dev-python/pillow-10[${PYTHON_USEDEP}]
+       >=dev-python/lxml-4.0[${PYTHON_USEDEP}]
+       >=dev-python/packaging-20[${PYTHON_USEDEP}]
+       >=dev-python/pybind11-2.7.1[${PYTHON_USEDEP}]"
+BDEPEND="
+       >=dev-python/pybind11-2.7.1[${PYTHON_USEDEP}]
+       >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}]
+       dev-python/tomli[${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 '/-n auto/d' pyproject.toml || die
+       distutils-r1_src_prepare
+}

Reply via email to