1 |
commit: b37cf898543a123b8013bba94b1b79a9d3ab5e37 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 08:15:14 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 08:50:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b37cf898 |
7 |
|
8 |
dev-python/pikepdf: Bump to 2.5.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pikepdf/Manifest | 1 + |
13 |
dev-python/pikepdf/pikepdf-2.5.2.ebuild | 47 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest |
17 |
index 730eae189ce..218d6395e85 100644 |
18 |
--- a/dev-python/pikepdf/Manifest |
19 |
+++ b/dev-python/pikepdf/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST pikepdf-2.3.0.tar.gz 2366792 BLAKE2B 3e5d2f460702bbce8ddc22abfb67867b40f75b |
21 |
DIST pikepdf-2.4.0.tar.gz 2367657 BLAKE2B c6b126f45baef8d3d4bea40851650f6ee2196e60618f490952f74491744b6536a01040de685c5114ec5aad2e8923092498594ae28b9e9f14f2da579816a198e0 SHA512 42af99ed5446171449d46d4dabf444623ce22b81819bbef992735e67a58ed82e343b46779f323b96b35e076014464e50ac0e4f5fd3553482c750488e091b6fd5 |
22 |
DIST pikepdf-2.5.0.tar.gz 2368422 BLAKE2B c30fcd69dd5297b04c0b116355f14a8513ce0a0b8797f3d85672957302275bdb04b382a373d07d40ef3480dc395e51a899eda8e919a74070083fec0209dfaa3c SHA512 0c685985b17388a8d355486a5dc2ee5f4d855f1247977d96dd249744cea347f575770250b1a952fda7821a3f4c830d5e079e15642bc669b70f69f4f2c5bf4dae |
23 |
DIST pikepdf-2.5.1.tar.gz 2368435 BLAKE2B 19def787013c5ee027a1477fe77dc38d10f1b8f6678f92afe0a7b3fc8e696e12926a80b2034e780c1fd05033ecf2facd6caeefc9062548648f64b0774754f9d5 SHA512 ba514f9a713d1e322224d9e6cb81df3bb399ecf1d54449e7fa171e59ce39bae25564752cfff97a93e2c3674f540cf2143f5ab4ac9dff928c1dfe77415db9dcc1 |
24 |
+DIST pikepdf-2.5.2.tar.gz 2368463 BLAKE2B dcf7e2c6f8a2a9d41073f2528fa6a13d5d79c0915d4dba810fb13a989039beafebbbfe0c8211f0a769ade9889af0c99ce1ca5052c74d0d88d817447dfdb3a7d5 SHA512 52e13805d4712f623af6c91eb287009abb6179d28451ab0a32b3472c4b8e484cc5700c3a32bb98cd7a188d4249128b2a2ef7fb19e8bc5aee4488627df161c38d |
25 |
|
26 |
diff --git a/dev-python/pikepdf/pikepdf-2.5.2.ebuild b/dev-python/pikepdf/pikepdf-2.5.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..50ef414d04e |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pikepdf/pikepdf-2.5.2.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Python library to work with pdf files based on qpdf" |
40 |
+HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf" |
41 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MPL-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+DEPEND="app-text/qpdf:0=" |
48 |
+RDEPEND="${DEPEND} |
49 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
50 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
51 |
+ dev-python/pybind11[${PYTHON_USEDEP}]" |
52 |
+BDEPEND=" |
53 |
+ >=dev-python/pybind11-2.6.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}] |
55 |
+ dev-python/toml[${PYTHON_USEDEP}] |
56 |
+ dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/hypothesis-5[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] |
61 |
+ >=dev-python/psutil-5[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/pytest-6[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] |
66 |
+ )" |
67 |
+ |
68 |
+#distutils_enable_sphinx docs \ |
69 |
+# dev-python/ipython \ |
70 |
+# dev-python/matplotlib \ |
71 |
+# dev-python/sphinx_rtd_theme |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ sed -i -e '/wheel/d' setup.py || die |
76 |
+ sed -i -e '/-n auto/d' setup.cfg || die |
77 |
+ distutils-r1_src_prepare |
78 |
+} |