1 |
commit: 82daf91d0e310dc17b12a9c1216b101a727387dd |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 19:24:55 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 19:41:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82daf91d |
7 |
|
8 |
dev-python/pikepdf: add 5.6.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pikepdf/Manifest | 1 + |
13 |
dev-python/pikepdf/pikepdf-5.6.1.ebuild | 61 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest |
17 |
index 57107c34117d..e1f59029b2c1 100644 |
18 |
--- a/dev-python/pikepdf/Manifest |
19 |
+++ b/dev-python/pikepdf/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST pikepdf-5.4.2.gh.tar.gz 2901145 BLAKE2B d7559901f59e5bd08ef660b88a4e9d50ac1bb64b397bcd56c1ed707ea7c0d9eca61d7ffe9e98361c01f3b71b640a9da1376c130fa5dff3324bbe2d64ce267347 SHA512 9afbd565ae82c65f743ffe7dc37509a15b03a1057bbdf4243ebacf4e0d315f9dead31fcd0f8b34023850a4d85aec302c229b1df0f045db4b1a8c171b58732b48 |
22 |
DIST pikepdf-5.5.0.gh.tar.gz 2901781 BLAKE2B 8bc04627b781a65965c0679f2cccc8c7849d1f4e25008a50ee5965b4a4cb6c3c26f86d478a916228a37039a0fc062257cbf08db01e62ea877de208f7a64772e9 SHA512 61e802d52b3bce83ca1d0543a025e5390223bd856e1033a0df8ac63f457dc0b1473cf2c64965d857ceccde472d2d513fb335db6604c184cdcf2231129dfa5e38 |
23 |
DIST pikepdf-5.6.0.gh.tar.gz 2904572 BLAKE2B c248eb44d7b093029dcc0b84be64bb361dab50eaf6ee91dc4a9d95dd645266243d44e2f2f96496d2ea3f2a92e7cbee5ec48a545f8e640e15fae87ff86c1ed973 SHA512 dd579c43c4e6186fa07b7e8bbdc8f65afc7b8b4063ae65eab2b0e986d7f2db38a0a71de73efad2a7d691af2d300f85076fc3ea61ed9c6b40265d53b4bdaa6133 |
24 |
+DIST pikepdf-5.6.1.gh.tar.gz 2905150 BLAKE2B 35c06251debb935b88f13e27f42f80b36275575d7848409bb19fa380be7429b785b8fea36e7d882a49df2e40e6c34fcc3d900b1b362f5ccf600780291f43d1f7 SHA512 add8edb16cba2081c479739ec215dc8c96a1896a159febb5bc2f74c2da1e8cf83b12a1302e1ad2ce8ab6fbf01a16104f8efb9c7a764fa1eedbc795dc45a71dfe |
25 |
|
26 |
diff --git a/dev-python/pikepdf/pikepdf-5.6.1.ebuild b/dev-python/pikepdf/pikepdf-5.6.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..0dcfce946c36 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pikepdf/pikepdf-5.6.1.ebuild |
31 |
@@ -0,0 +1,61 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+MY_P=${P/_p/.post} |
43 |
+DESCRIPTION="Python library to work with pdf files based on qpdf" |
44 |
+HOMEPAGE=" |
45 |
+ https://github.com/pikepdf/pikepdf/ |
46 |
+ https://pypi.org/project/pikepdf/ |
47 |
+" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz |
50 |
+ -> ${P}.gh.tar.gz |
51 |
+" |
52 |
+S=${WORKDIR}/${MY_P} |
53 |
+ |
54 |
+LICENSE="MPL-2.0" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64 ~x86" |
57 |
+ |
58 |
+DEPEND=" |
59 |
+ >=app-text/qpdf-10.6.2:0= |
60 |
+" |
61 |
+RDEPEND=" |
62 |
+ ${DEPEND} |
63 |
+ dev-python/deprecation[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/lxml-4.0[${PYTHON_USEDEP}] |
65 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/pillow-9[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] |
68 |
+" |
69 |
+BDEPEND=" |
70 |
+ >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}] |
72 |
+ $(python_gen_cond_dep ' |
73 |
+ dev-python/tomli[${PYTHON_USEDEP}] |
74 |
+ ' 3.8 3.9 3.10) |
75 |
+ test? ( |
76 |
+ >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/hypothesis-5[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] |
79 |
+ >=dev-python/psutil-5[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/pytest-6[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] |
84 |
+ ) |
85 |
+" |
86 |
+ |
87 |
+distutils_enable_tests pytest |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ sed -e '/-n auto/d' -i pyproject.toml || die |
91 |
+ distutils-r1_src_prepare |
92 |
+} |