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/odfpy/
Date: Sun, 01 May 2022 13:56:11
Message-Id: 1651412885.a5e476b9a0f486738ae0707a24c2624236ee2a83.mgorny@gentoo
1 commit: a5e476b9a0f486738ae0707a24c2624236ee2a83
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 13:48:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 13:48:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5e476b9
7
8 dev-python/odfpy: Bump to 1.4.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/odfpy/Manifest | 1 +
13 dev-python/odfpy/odfpy-1.4.2.ebuild | 40 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/odfpy/Manifest b/dev-python/odfpy/Manifest
17 index b05bb2bee801..9fa4b87c292d 100644
18 --- a/dev-python/odfpy/Manifest
19 +++ b/dev-python/odfpy/Manifest
20 @@ -1 +1,2 @@
21 DIST odfpy-1.3.6.tar.gz 691122 BLAKE2B aaaf2c1613beb6775d22e4d1739b7c144d8046e687f0dc8f7b7b1ea7400cc32dd572ed5a1cd12cb01c5fec27b5c37950b710b279a46d60da8735154d2b2d7030 SHA512 09f3fbce633949035842cff16d2e016271b7f6abf04d74fcaa712c9b3afa18943dd566a2d88a7256a0a52d88ea689d6ef8262f6d8d67d6ea1025aa56e10300f8
22 +DIST odfpy-release-1.4.2.gh.tar.gz 10065808 BLAKE2B b339cb44604552ee530d8fa8385d753c1f9210f9335813ab279150b16d36f72263fc02c0d2c01ce4350dd3c81b94e7e9f394ce8ec2d85372eb972558a86ded0b SHA512 75368010c015e13302d2b43228ef9ed1f6c9307da60cf199098609729b008c69836511c953dbc730f3097124878b1fa6de7e8d5f49e20716062ada747698f84d
23
24 diff --git a/dev-python/odfpy/odfpy-1.4.2.ebuild b/dev-python/odfpy/odfpy-1.4.2.ebuild
25 new file mode 100644
26 index 000000000000..28687c31112c
27 --- /dev/null
28 +++ b/dev-python/odfpy/odfpy-1.4.2.ebuild
29 @@ -0,0 +1,40 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1
39 +
40 +MY_P=${PN}-release-${PV}
41 +DESCRIPTION="Python API and tools to manipulate OpenDocument files"
42 +HOMEPAGE="
43 + https://github.com/eea/odfpy/
44 + https://pypi.org/project/odfpy/
45 +"
46 +SRC_URI="
47 + https://github.com/eea/odfpy/archive/release-${PV}.tar.gz
48 + -> ${MY_P}.gh.tar.gz
49 +"
50 +S=${WORKDIR}/${MY_P}
51 +
52 +LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +IUSE="examples"
56 +
57 +RDEPEND="
58 + dev-python/defusedxml[${PYTHON_USEDEP}]
59 +"
60 +
61 +distutils_enable_tests pytest
62 +
63 +python_install_all() {
64 + if use examples; then
65 + docinto examples
66 + dodoc -r examples/.
67 + fi
68 + distutils-r1_python_install_all
69 +}