Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pikepdf/files/, dev-python/pikepdf/
Date: Mon, 08 Feb 2021 06:11:03
Message-Id: 1612764642.79c554e79e096959436220602f088a6b355e1552.grozin@gentoo
1 commit: 79c554e79e096959436220602f088a6b355e1552
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 06:09:55 2021 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 06:10:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79c554e7
7
8 dev-python/pikepdf: clean old versions
9
10 Bug: https://bugs.gentoo.org/764806
11 Package-Manager: Portage-3.0.14, Repoman-3.0.2
12 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
13
14 dev-python/pikepdf/Manifest | 6 ---
15 dev-python/pikepdf/files/pikepdf-1.8.3-test.patch | 40 ---------------
16 dev-python/pikepdf/pikepdf-1.18.0.ebuild | 54 --------------------
17 dev-python/pikepdf/pikepdf-2.2.0-r1.ebuild | 61 -----------------------
18 dev-python/pikepdf/pikepdf-2.3.0.ebuild | 61 -----------------------
19 dev-python/pikepdf/pikepdf-2.4.0.ebuild | 47 -----------------
20 dev-python/pikepdf/pikepdf-2.5.0.ebuild | 47 -----------------
21 dev-python/pikepdf/pikepdf-2.5.1.ebuild | 47 -----------------
22 8 files changed, 363 deletions(-)
23
24 diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest
25 index 218d6395e85..489d30420d8 100644
26 --- a/dev-python/pikepdf/Manifest
27 +++ b/dev-python/pikepdf/Manifest
28 @@ -1,7 +1 @@
29 -DIST pikepdf-1.18.0.tar.gz 2351789 BLAKE2B b33b69f57fcd5293814ac880376627b7184ca632e09f668fd274eae6b3640d97699681597470c17abe00ec334ec894a073cc1a1eff91ffa7df572ef78542b429 SHA512 9a04fe6ce145a6f28a180261ac004fc0ce3c525c4e9e7c5eb4bb7dbf8aaa6d3e6f726cec5d20033a5aaa60b793666df52c20f13c8ee7c0c3266fb8e557d69c18
30 -DIST pikepdf-2.2.0.tar.gz 2363761 BLAKE2B d1a8873a2c41e280dc2880609424742f4454ee226ee30469df067ddf0f5ee98ba6ef2965df75e95c2576e3813bdea7cb6bebfc7a1a7d05696b9da8ec67ef981a SHA512 e80874ece09ce6381079f705ab031b121917485d0968578aeb07a83b70a14bb46d549498357acc4df62b51c33fd75a87f65b74ef64464dcaebba3ff84aaa1843
31 -DIST pikepdf-2.3.0.tar.gz 2366792 BLAKE2B 3e5d2f460702bbce8ddc22abfb67867b40f75bb59cd30966db9865c96240ef9ad990f295abcd8f5f325a9954500e587afab647da7de3909960859fa3825c4526 SHA512 056bd2e73a7915b42ea170061932e445fff614abd662d935c8735c5fb04fd95e196495bc11dcb3781270c966d94cb93cd972500e6ea4d3ea7333456be3b7dbb6
32 -DIST pikepdf-2.4.0.tar.gz 2367657 BLAKE2B c6b126f45baef8d3d4bea40851650f6ee2196e60618f490952f74491744b6536a01040de685c5114ec5aad2e8923092498594ae28b9e9f14f2da579816a198e0 SHA512 42af99ed5446171449d46d4dabf444623ce22b81819bbef992735e67a58ed82e343b46779f323b96b35e076014464e50ac0e4f5fd3553482c750488e091b6fd5
33 -DIST pikepdf-2.5.0.tar.gz 2368422 BLAKE2B c30fcd69dd5297b04c0b116355f14a8513ce0a0b8797f3d85672957302275bdb04b382a373d07d40ef3480dc395e51a899eda8e919a74070083fec0209dfaa3c SHA512 0c685985b17388a8d355486a5dc2ee5f4d855f1247977d96dd249744cea347f575770250b1a952fda7821a3f4c830d5e079e15642bc669b70f69f4f2c5bf4dae
34 -DIST pikepdf-2.5.1.tar.gz 2368435 BLAKE2B 19def787013c5ee027a1477fe77dc38d10f1b8f6678f92afe0a7b3fc8e696e12926a80b2034e780c1fd05033ecf2facd6caeefc9062548648f64b0774754f9d5 SHA512 ba514f9a713d1e322224d9e6cb81df3bb399ecf1d54449e7fa171e59ce39bae25564752cfff97a93e2c3674f540cf2143f5ab4ac9dff928c1dfe77415db9dcc1
35 DIST pikepdf-2.5.2.tar.gz 2368463 BLAKE2B dcf7e2c6f8a2a9d41073f2528fa6a13d5d79c0915d4dba810fb13a989039beafebbbfe0c8211f0a769ade9889af0c99ce1ca5052c74d0d88d817447dfdb3a7d5 SHA512 52e13805d4712f623af6c91eb287009abb6179d28451ab0a32b3472c4b8e484cc5700c3a32bb98cd7a188d4249128b2a2ef7fb19e8bc5aee4488627df161c38d
36
37 diff --git a/dev-python/pikepdf/files/pikepdf-1.8.3-test.patch b/dev-python/pikepdf/files/pikepdf-1.8.3-test.patch
38 deleted file mode 100644
39 index b142980caa7..00000000000
40 --- a/dev-python/pikepdf/files/pikepdf-1.8.3-test.patch
41 +++ /dev/null
42 @@ -1,40 +0,0 @@
43 -diff -r -U3 pikepdf-1.8.3.orig/tests/test_object.py pikepdf-1.8.3/tests/test_object.py
44 ---- pikepdf-1.8.3.orig/tests/test_object.py 2020-01-06 18:30:03.000000000 +0700
45 -+++ pikepdf-1.8.3/tests/test_object.py 2020-01-13 22:43:54.844142512 +0700
46 -@@ -146,21 +146,21 @@
47 - a[-5555] = Name.Foo
48 -
49 -
50 --def test_stack_depth():
51 -- a = [42]
52 -- for _ in range(100):
53 -- a = [a]
54 -- rlimit = sys.getrecursionlimit()
55 -- try:
56 -- sys.setrecursionlimit(100)
57 -- with pytest.raises(RecursionError):
58 -- assert encode(a) == a
59 -- with pytest.raises(RecursionError):
60 -- encode(a) == encode(a) # pylint: disable=expression-not-assigned
61 -- with pytest.raises(RecursionError):
62 -- repr(a)
63 -- finally:
64 -- sys.setrecursionlimit(rlimit) # So other tests are not affected
65 -+#def test_stack_depth():
66 -+# a = [42]
67 -+# for _ in range(100):
68 -+# a = [a]
69 -+# rlimit = sys.getrecursionlimit()
70 -+# try:
71 -+# sys.setrecursionlimit(100)
72 -+# with pytest.raises(RecursionError):
73 -+# assert encode(a) == a
74 -+# with pytest.raises(RecursionError):
75 -+# encode(a) == encode(a) # pylint: disable=expression-not-assigned
76 -+# with pytest.raises(RecursionError):
77 -+# repr(a)
78 -+# finally:
79 -+# sys.setrecursionlimit(rlimit) # So other tests are not affected
80 -
81 -
82 - def test_bytes():
83
84 diff --git a/dev-python/pikepdf/pikepdf-1.18.0.ebuild b/dev-python/pikepdf/pikepdf-1.18.0.ebuild
85 deleted file mode 100644
86 index 0422b58dd32..00000000000
87 --- a/dev-python/pikepdf/pikepdf-1.18.0.ebuild
88 +++ /dev/null
89 @@ -1,54 +0,0 @@
90 -# Copyright 1999-2020 Gentoo Authors
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=7
94 -PYTHON_COMPAT=( python3_{7,8} )
95 -inherit distutils-r1
96 -
97 -DESCRIPTION="Python library to work with pdf files based on qpdf"
98 -HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
99 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
100 -LICENSE="MPL-2.0"
101 -SLOT="0"
102 -KEYWORDS="~amd64"
103 -IUSE="test"
104 -RESTRICT="!test? ( test )"
105 -
106 -RDEPEND="app-text/qpdf:0=
107 - dev-python/pillow[${PYTHON_USEDEP}]
108 - dev-python/lxml[${PYTHON_USEDEP}]
109 - dev-python/pybind11[${PYTHON_USEDEP}]"
110 -DEPEND="${RDEPEND}
111 - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
112 - test? ( >=dev-python/attrs-19.1.0
113 - >=dev-python/hypothesis-4.24
114 - <dev-python/hypothesis-6.0
115 - >=dev-python/pillow-5.0.0
116 - >=dev-python/pytest-4.4.0
117 - <dev-python/pytest-5.3.5
118 - >=dev-python/pytest-xdist-1.28
119 - <dev-python/pytest-xdist-2.0
120 - >=dev-python/pytest-helpers-namespace-2019.1.8
121 - >=dev-python/pytest-timeout-1.3.3
122 - >=dev-python/python-xmp-toolkit-2.0.1 )"
123 -
124 -PATCHES=( "${FILESDIR}"/${PN}-1.8.3-test.patch )
125 -
126 -python_test() {
127 - pytest
128 -}
129 -
130 -# When ipython and matplotlib will get python3_8 support, we'll be able to add
131 -#
132 -#IUSE="doc"
133 -#DEPEND="doc? ( dev-python/ipython
134 -# dev-python/matplotlib
135 -# dev-python/sphinx-1.4
136 -# dev-python/sphinx_rtd_theme )"
137 -#python_compile_all() {
138 -# use doc && emake -C docs html
139 -#}
140 -#python_install_all() {
141 -# use doc && local HTML_DOCS=( docs/_build/html/. )
142 -# distutils-r1_python_install_all
143 -#}
144
145 diff --git a/dev-python/pikepdf/pikepdf-2.2.0-r1.ebuild b/dev-python/pikepdf/pikepdf-2.2.0-r1.ebuild
146 deleted file mode 100644
147 index e152be1a8e5..00000000000
148 --- a/dev-python/pikepdf/pikepdf-2.2.0-r1.ebuild
149 +++ /dev/null
150 @@ -1,61 +0,0 @@
151 -# Copyright 1999-2020 Gentoo Authors
152 -# Distributed under the terms of the GNU General Public License v2
153 -
154 -EAPI=7
155 -PYTHON_COMPAT=( python3_{7..9} )
156 -inherit distutils-r1
157 -
158 -DESCRIPTION="Python library to work with pdf files based on qpdf"
159 -HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
160 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
161 -LICENSE="MPL-2.0"
162 -SLOT="0"
163 -KEYWORDS="~amd64"
164 -IUSE="test"
165 -RESTRICT="!test? ( test )"
166 -
167 -RDEPEND="app-text/qpdf:0=
168 - dev-python/pillow[${PYTHON_USEDEP}]
169 - dev-python/lxml[${PYTHON_USEDEP}]
170 - dev-python/pybind11[${PYTHON_USEDEP}]"
171 -DEPEND="${RDEPEND}
172 - >=dev-python/setuptools-50[${PYTHON_USEDEP}]
173 - >=dev-python/wheel-0.35[${PYTHON_USEDEP}]
174 - >=dev-python/pybind11-2.6.0[${PYTHON_USEDEP}]
175 - >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}]
176 - dev-python/toml[${PYTHON_USEDEP}]
177 - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
178 - test? ( >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
179 - >=dev-python/hypothesis-5[${PYTHON_USEDEP}]
180 - <dev-python/hypothesis-6.0[${PYTHON_USEDEP}]
181 - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP}]
182 - >=dev-python/pytest-6[${PYTHON_USEDEP}]
183 - <dev-python/pytest-7[${PYTHON_USEDEP}]
184 - >=dev-python/pytest-cov-2.10.1[${PYTHON_USEDEP}]
185 - <dev-python/pytest-cov-3[${PYTHON_USEDEP}]
186 - >=dev-python/pytest-xdist-1.28[${PYTHON_USEDEP}]
187 - <dev-python/pytest-xdist-2.0[${PYTHON_USEDEP}]
188 - >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
189 - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
190 - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] )"
191 -
192 -PATCHES=( "${FILESDIR}"/${PN}-1.8.3-test.patch )
193 -
194 -python_test() {
195 - pytest
196 -}
197 -
198 -# When ipython and matplotlib will get python3_8 support, we'll be able to add
199 -#
200 -#IUSE="doc"
201 -#DEPEND="doc? ( dev-python/ipython
202 -# dev-python/matplotlib
203 -# dev-python/sphinx-1.4
204 -# dev-python/sphinx_rtd_theme )"
205 -#python_compile_all() {
206 -# use doc && emake -C docs html
207 -#}
208 -#python_install_all() {
209 -# use doc && local HTML_DOCS=( docs/_build/html/. )
210 -# distutils-r1_python_install_all
211 -#}
212
213 diff --git a/dev-python/pikepdf/pikepdf-2.3.0.ebuild b/dev-python/pikepdf/pikepdf-2.3.0.ebuild
214 deleted file mode 100644
215 index 76f74c479b3..00000000000
216 --- a/dev-python/pikepdf/pikepdf-2.3.0.ebuild
217 +++ /dev/null
218 @@ -1,61 +0,0 @@
219 -# Copyright 1999-2021 Gentoo Authors
220 -# Distributed under the terms of the GNU General Public License v2
221 -
222 -EAPI=7
223 -PYTHON_COMPAT=( python3_{7..9} )
224 -inherit distutils-r1
225 -
226 -DESCRIPTION="Python library to work with pdf files based on qpdf"
227 -HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
228 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
229 -LICENSE="MPL-2.0"
230 -SLOT="0"
231 -KEYWORDS="~amd64"
232 -IUSE="test"
233 -RESTRICT="!test? ( test )"
234 -
235 -RDEPEND="app-text/qpdf:0=
236 - dev-python/pillow[${PYTHON_USEDEP}]
237 - dev-python/lxml[${PYTHON_USEDEP}]
238 - dev-python/pybind11[${PYTHON_USEDEP}]"
239 -DEPEND="${RDEPEND}
240 - >=dev-python/setuptools-50[${PYTHON_USEDEP}]
241 - >=dev-python/wheel-0.35[${PYTHON_USEDEP}]
242 - >=dev-python/pybind11-2.6.0[${PYTHON_USEDEP}]
243 - >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}]
244 - dev-python/toml[${PYTHON_USEDEP}]
245 - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
246 - test? ( >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
247 - >=dev-python/hypothesis-5[${PYTHON_USEDEP}]
248 - <dev-python/hypothesis-6.0[${PYTHON_USEDEP}]
249 - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP}]
250 - >=dev-python/pytest-6[${PYTHON_USEDEP}]
251 - <dev-python/pytest-7[${PYTHON_USEDEP}]
252 - >=dev-python/pytest-cov-2.10.1[${PYTHON_USEDEP}]
253 - <dev-python/pytest-cov-3[${PYTHON_USEDEP}]
254 - >=dev-python/pytest-xdist-1.28[${PYTHON_USEDEP}]
255 - <dev-python/pytest-xdist-2.0[${PYTHON_USEDEP}]
256 - >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
257 - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
258 - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] )"
259 -
260 -PATCHES=( "${FILESDIR}"/${PN}-1.8.3-test.patch )
261 -
262 -python_test() {
263 - pytest
264 -}
265 -
266 -# When ipython and matplotlib will get python3_8 support, we'll be able to add
267 -#
268 -#IUSE="doc"
269 -#DEPEND="doc? ( dev-python/ipython
270 -# dev-python/matplotlib
271 -# dev-python/sphinx-1.4
272 -# dev-python/sphinx_rtd_theme )"
273 -#python_compile_all() {
274 -# use doc && emake -C docs html
275 -#}
276 -#python_install_all() {
277 -# use doc && local HTML_DOCS=( docs/_build/html/. )
278 -# distutils-r1_python_install_all
279 -#}
280
281 diff --git a/dev-python/pikepdf/pikepdf-2.4.0.ebuild b/dev-python/pikepdf/pikepdf-2.4.0.ebuild
282 deleted file mode 100644
283 index 50ef414d04e..00000000000
284 --- a/dev-python/pikepdf/pikepdf-2.4.0.ebuild
285 +++ /dev/null
286 @@ -1,47 +0,0 @@
287 -# Copyright 1999-2021 Gentoo Authors
288 -# Distributed under the terms of the GNU General Public License v2
289 -
290 -EAPI=7
291 -PYTHON_COMPAT=( python3_{7..9} )
292 -inherit distutils-r1
293 -
294 -DESCRIPTION="Python library to work with pdf files based on qpdf"
295 -HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
296 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
297 -
298 -LICENSE="MPL-2.0"
299 -SLOT="0"
300 -KEYWORDS="~amd64"
301 -
302 -DEPEND="app-text/qpdf:0="
303 -RDEPEND="${DEPEND}
304 - dev-python/pillow[${PYTHON_USEDEP}]
305 - dev-python/lxml[${PYTHON_USEDEP}]
306 - dev-python/pybind11[${PYTHON_USEDEP}]"
307 -BDEPEND="
308 - >=dev-python/pybind11-2.6.0[${PYTHON_USEDEP}]
309 - >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}]
310 - dev-python/toml[${PYTHON_USEDEP}]
311 - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
312 - test? (
313 - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
314 - >=dev-python/hypothesis-5[${PYTHON_USEDEP}]
315 - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff]
316 - >=dev-python/psutil-5[${PYTHON_USEDEP}]
317 - >=dev-python/pytest-6[${PYTHON_USEDEP}]
318 - >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
319 - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
320 - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
321 - )"
322 -
323 -#distutils_enable_sphinx docs \
324 -# dev-python/ipython \
325 -# dev-python/matplotlib \
326 -# dev-python/sphinx_rtd_theme
327 -distutils_enable_tests pytest
328 -
329 -src_prepare() {
330 - sed -i -e '/wheel/d' setup.py || die
331 - sed -i -e '/-n auto/d' setup.cfg || die
332 - distutils-r1_src_prepare
333 -}
334
335 diff --git a/dev-python/pikepdf/pikepdf-2.5.0.ebuild b/dev-python/pikepdf/pikepdf-2.5.0.ebuild
336 deleted file mode 100644
337 index 50ef414d04e..00000000000
338 --- a/dev-python/pikepdf/pikepdf-2.5.0.ebuild
339 +++ /dev/null
340 @@ -1,47 +0,0 @@
341 -# Copyright 1999-2021 Gentoo Authors
342 -# Distributed under the terms of the GNU General Public License v2
343 -
344 -EAPI=7
345 -PYTHON_COMPAT=( python3_{7..9} )
346 -inherit distutils-r1
347 -
348 -DESCRIPTION="Python library to work with pdf files based on qpdf"
349 -HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
350 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
351 -
352 -LICENSE="MPL-2.0"
353 -SLOT="0"
354 -KEYWORDS="~amd64"
355 -
356 -DEPEND="app-text/qpdf:0="
357 -RDEPEND="${DEPEND}
358 - dev-python/pillow[${PYTHON_USEDEP}]
359 - dev-python/lxml[${PYTHON_USEDEP}]
360 - dev-python/pybind11[${PYTHON_USEDEP}]"
361 -BDEPEND="
362 - >=dev-python/pybind11-2.6.0[${PYTHON_USEDEP}]
363 - >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}]
364 - dev-python/toml[${PYTHON_USEDEP}]
365 - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
366 - test? (
367 - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
368 - >=dev-python/hypothesis-5[${PYTHON_USEDEP}]
369 - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff]
370 - >=dev-python/psutil-5[${PYTHON_USEDEP}]
371 - >=dev-python/pytest-6[${PYTHON_USEDEP}]
372 - >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
373 - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
374 - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
375 - )"
376 -
377 -#distutils_enable_sphinx docs \
378 -# dev-python/ipython \
379 -# dev-python/matplotlib \
380 -# dev-python/sphinx_rtd_theme
381 -distutils_enable_tests pytest
382 -
383 -src_prepare() {
384 - sed -i -e '/wheel/d' setup.py || die
385 - sed -i -e '/-n auto/d' setup.cfg || die
386 - distutils-r1_src_prepare
387 -}
388
389 diff --git a/dev-python/pikepdf/pikepdf-2.5.1.ebuild b/dev-python/pikepdf/pikepdf-2.5.1.ebuild
390 deleted file mode 100644
391 index 50ef414d04e..00000000000
392 --- a/dev-python/pikepdf/pikepdf-2.5.1.ebuild
393 +++ /dev/null
394 @@ -1,47 +0,0 @@
395 -# Copyright 1999-2021 Gentoo Authors
396 -# Distributed under the terms of the GNU General Public License v2
397 -
398 -EAPI=7
399 -PYTHON_COMPAT=( python3_{7..9} )
400 -inherit distutils-r1
401 -
402 -DESCRIPTION="Python library to work with pdf files based on qpdf"
403 -HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
404 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
405 -
406 -LICENSE="MPL-2.0"
407 -SLOT="0"
408 -KEYWORDS="~amd64"
409 -
410 -DEPEND="app-text/qpdf:0="
411 -RDEPEND="${DEPEND}
412 - dev-python/pillow[${PYTHON_USEDEP}]
413 - dev-python/lxml[${PYTHON_USEDEP}]
414 - dev-python/pybind11[${PYTHON_USEDEP}]"
415 -BDEPEND="
416 - >=dev-python/pybind11-2.6.0[${PYTHON_USEDEP}]
417 - >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}]
418 - dev-python/toml[${PYTHON_USEDEP}]
419 - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
420 - test? (
421 - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
422 - >=dev-python/hypothesis-5[${PYTHON_USEDEP}]
423 - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff]
424 - >=dev-python/psutil-5[${PYTHON_USEDEP}]
425 - >=dev-python/pytest-6[${PYTHON_USEDEP}]
426 - >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
427 - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
428 - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
429 - )"
430 -
431 -#distutils_enable_sphinx docs \
432 -# dev-python/ipython \
433 -# dev-python/matplotlib \
434 -# dev-python/sphinx_rtd_theme
435 -distutils_enable_tests pytest
436 -
437 -src_prepare() {
438 - sed -i -e '/wheel/d' setup.py || die
439 - sed -i -e '/-n auto/d' setup.cfg || die
440 - distutils-r1_src_prepare
441 -}