Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pikepdf/
Date: Wed, 28 Apr 2021 10:39:21
Message-Id: 1619606198.b18e06b540369e86f96491e3af99187715c56a44.mgorny@gentoo
1 commit: b18e06b540369e86f96491e3af99187715c56a44
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 28 10:36:38 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 28 10:36:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b18e06b5
7
8 dev-python/pikepdf: Bump to 2.11.4
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.11.4.ebuild | 51 ++++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest
17 index a637fe617b7..29de8b16797 100644
18 --- a/dev-python/pikepdf/Manifest
19 +++ b/dev-python/pikepdf/Manifest
20 @@ -3,3 +3,4 @@ DIST pikepdf-2.11.0.tar.gz 2382340 BLAKE2B 60a09d1b7f463720af17be4b3ac70fd575f01
21 DIST pikepdf-2.11.1.tar.gz 2382829 BLAKE2B 97a3cd65c22de0e7e3ab3099a3f51993367ec7b7fe5353d0cad0f68e309df1a3c0aedf9e391cced16bd3c11e5353dfce464632c1ac890b2cd412b0e1f84e71b7 SHA512 26589155b4380cfd0a97a6eb3c130a1b71535f182f8cac0a19f0ea8b1ff749bb58dad4a5f881d27f404a6b20db9581d3915323ed9739704f8e52e51a1b5ecb16
22 DIST pikepdf-2.11.2.tar.gz 2297115 BLAKE2B c1ab1b99d13da7a52eda214d550597871f4d67553490f2c14096e6a620fa8bab6278a34b39e162de1bd0d71f781b79011468e5d045201dc936ec8eef07272657 SHA512 ff86e5c12e029978c0eb8e6bae7c5cd9a1b8e1f8eb07a6e623767ccb14ecc747493aa9eefc48be25464192e97eba5cd49c56983182f237532c4b4817b5732c28
23 DIST pikepdf-2.11.3.tar.gz 2298121 BLAKE2B 981c3607302ef5406bff886706b0d192943b367b753e4acbdbb36ea97a6921a24443f0204bc99b982b79260ba32b619e4a5f07b8a5b834be54feb0a6efdb950c SHA512 f9413ebf5bbb0a17c2ffeccc08262e59d47aaba60e68a7b1c2c43276c33fbe8b8363203394c850e21f1cc4883100047b966f7a8fbca6b3d5950bfda6f6918064
24 +DIST pikepdf-2.11.4.tar.gz 2298520 BLAKE2B 4c657e50259cc126a4537f699c30723eb5d06303b2fabaa53c4ed2862236bcc253ab793d20905f7f2e298649a3ba8c5c8b66deeb4b859b66e18ab50cd512b843 SHA512 292fa0cfdd0a3d43bfc533dd339acc35b93958cdab476a7963274f0e98f2d8ad0c121d7605b53fe9e1a318cab59b24a46343ccf9f25e6de32e6e39d6dfc02ff1
25
26 diff --git a/dev-python/pikepdf/pikepdf-2.11.4.ebuild b/dev-python/pikepdf/pikepdf-2.11.4.ebuild
27 new file mode 100644
28 index 00000000000..2a76869d388
29 --- /dev/null
30 +++ b/dev-python/pikepdf/pikepdf-2.11.4.ebuild
31 @@ -0,0 +1,51 @@
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 +MY_P=${P/_p/.post}
40 +DESCRIPTION="Python library to work with pdf files based on qpdf"
41 +HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
42 +SRC_URI="
43 + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz
44 + -> ${MY_P}.tar.gz"
45 +S=${WORKDIR}/${MY_P}
46 +
47 +LICENSE="MPL-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +
51 +DEPEND="app-text/qpdf:0="
52 +RDEPEND="${DEPEND}
53 + dev-python/pillow[${PYTHON_USEDEP}]
54 + dev-python/lxml[${PYTHON_USEDEP}]
55 + dev-python/pybind11[${PYTHON_USEDEP}]"
56 +BDEPEND="
57 + >=dev-python/pybind11-2.6.0[${PYTHON_USEDEP}]
58 + >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}]
59 + dev-python/toml[${PYTHON_USEDEP}]
60 + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
61 + test? (
62 + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
63 + >=dev-python/hypothesis-5[${PYTHON_USEDEP}]
64 + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff]
65 + >=dev-python/psutil-5[${PYTHON_USEDEP}]
66 + >=dev-python/pytest-6[${PYTHON_USEDEP}]
67 + >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
68 + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
69 + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
70 + )"
71 +
72 +#distutils_enable_sphinx docs \
73 +# dev-python/ipython \
74 +# dev-python/matplotlib \
75 +# dev-python/sphinx_rtd_theme
76 +distutils_enable_tests pytest
77 +
78 +src_prepare() {
79 + sed -i -e '/wheel/d' setup.py || die
80 + sed -i -e '/-n auto/d' setup.cfg || die
81 + distutils-r1_src_prepare
82 +}