1 |
commit: 75fe422b474fe829e9f112d912645e42b705178e |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 1 10:48:17 2020 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 10:48:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75fe422b |
7 |
|
8 |
dev-python/pikepdf: bump to 2.2.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.10, Repoman-3.0.2 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
dev-python/pikepdf/Manifest | 1 + |
14 |
dev-python/pikepdf/pikepdf-2.2.0.ebuild | 59 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 60 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest |
18 |
index b32fe6c812b..9f84637789b 100644 |
19 |
--- a/dev-python/pikepdf/Manifest |
20 |
+++ b/dev-python/pikepdf/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST pikepdf-1.18.0.tar.gz 2351789 BLAKE2B b33b69f57fcd5293814ac880376627b7184ca632e09f668fd274eae6b3640d97699681597470c17abe00ec334ec894a073cc1a1eff91ffa7df572ef78542b429 SHA512 9a04fe6ce145a6f28a180261ac004fc0ce3c525c4e9e7c5eb4bb7dbf8aaa6d3e6f726cec5d20033a5aaa60b793666df52c20f13c8ee7c0c3266fb8e557d69c18 |
23 |
+DIST pikepdf-2.2.0.tar.gz 2363761 BLAKE2B d1a8873a2c41e280dc2880609424742f4454ee226ee30469df067ddf0f5ee98ba6ef2965df75e95c2576e3813bdea7cb6bebfc7a1a7d05696b9da8ec67ef981a SHA512 e80874ece09ce6381079f705ab031b121917485d0968578aeb07a83b70a14bb46d549498357acc4df62b51c33fd75a87f65b74ef64464dcaebba3ff84aaa1843 |
24 |
|
25 |
diff --git a/dev-python/pikepdf/pikepdf-2.2.0.ebuild b/dev-python/pikepdf/pikepdf-2.2.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..39f8d8d20e6 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pikepdf/pikepdf-2.2.0.ebuild |
30 |
@@ -0,0 +1,59 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Python library to work with pdf files based on qpdf" |
39 |
+HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf" |
40 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+LICENSE="MPL-2.0" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64" |
44 |
+IUSE="test" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+ |
47 |
+RDEPEND="app-text/qpdf:0= |
48 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
49 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
50 |
+ dev-python/pybind11[${PYTHON_USEDEP}]" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ >=dev-python/wheel-0.35[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/pybind11-2.6.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}] |
55 |
+ dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] |
56 |
+ test? ( >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/hypothesis-5[${PYTHON_USEDEP}] |
58 |
+ <dev-python/hypothesis-6.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/pillow-5.0.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pytest-6[${PYTHON_USEDEP}] |
61 |
+ <dev-python/pytest-7[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/pytest-cov-2.10.1[${PYTHON_USEDEP}] |
63 |
+ <dev-python/pytest-cov-3[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/pytest-xdist-1.28[${PYTHON_USEDEP}] |
65 |
+ <dev-python/pytest-xdist-2.0[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] )" |
69 |
+ |
70 |
+PATCHES=( "${FILESDIR}"/${PN}-1.8.3-test.patch ) |
71 |
+ |
72 |
+python_test() { |
73 |
+ pytest |
74 |
+} |
75 |
+ |
76 |
+# When ipython and matplotlib will get python3_8 support, we'll be able to add |
77 |
+# |
78 |
+#IUSE="doc" |
79 |
+#DEPEND="doc? ( dev-python/ipython |
80 |
+# dev-python/matplotlib |
81 |
+# dev-python/sphinx-1.4 |
82 |
+# dev-python/sphinx_rtd_theme )" |
83 |
+#python_compile_all() { |
84 |
+# use doc && emake -C docs html |
85 |
+#} |
86 |
+#python_install_all() { |
87 |
+# use doc && local HTML_DOCS=( docs/_build/html/. ) |
88 |
+# distutils-r1_python_install_all |
89 |
+#} |