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/openpyxl/
Date: Sat, 26 Feb 2022 11:39:48
Message-Id: 1645875578.076c5ab6adc83d4c0937278b794d3816cedecc2e.mgorny@gentoo
1 commit: 076c5ab6adc83d4c0937278b794d3816cedecc2e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 11:23:45 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 11:39:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076c5ab6
7
8 dev-python/openpyxl: Migrate to PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild | 30 ++++++++++++++++++++++++++++
13 1 file changed, 30 insertions(+)
14
15 diff --git a/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild b/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild
16 new file mode 100644
17 index 000000000000..83a8c222caa7
18 --- /dev/null
19 +++ b/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild
20 @@ -0,0 +1,30 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Pure python reader and writer of Excel OpenXML files"
32 +HOMEPAGE="https://openpyxl.readthedocs.io/en/stable/"
33 +SRC_URI="https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${PV}/${P}.tar.bz2"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
38 +
39 +RDEPEND="
40 + dev-python/et_xmlfile[${PYTHON_USEDEP}]
41 +"
42 +BDEPEND="
43 + test? (
44 + dev-python/lxml[${PYTHON_USEDEP}]
45 + dev-python/pillow[${PYTHON_USEDEP},tiff,jpeg]
46 + )
47 +"
48 +
49 +distutils_enable_sphinx doc
50 +distutils_enable_tests pytest