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/xlwt/
Date: Sat, 26 Feb 2022 08:34:59
Message-Id: 1645864487.bbf79278af4bdd0b23597f95a59b0c232905c82c.mgorny@gentoo
1 commit: bbf79278af4bdd0b23597f95a59b0c232905c82c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 08:25:57 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 08:34:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf79278
7
8 dev-python/xlwt: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/xlwt/xlwt-1.3.0-r2.ebuild | 30 ++++++++++++++++++++++++++++++
13 1 file changed, 30 insertions(+)
14
15 diff --git a/dev-python/xlwt/xlwt-1.3.0-r2.ebuild b/dev-python/xlwt/xlwt-1.3.0-r2.ebuild
16 new file mode 100644
17 index 000000000000..42a90bd7410c
18 --- /dev/null
19 +++ b/dev-python/xlwt/xlwt-1.3.0-r2.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="Python library to create spreadsheet files compatible with Excel"
32 +HOMEPAGE="https://pypi.org/project/xlwt/"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
38 +IUSE="examples"
39 +
40 +distutils_enable_sphinx docs \
41 + dev-python/pkginfo
42 +distutils_enable_tests nose
43 +
44 +python_install_all() {
45 + if use examples; then
46 + dodoc -r examples
47 + docompress -x /usr/share/doc/${PF}
48 + fi
49 + distutils-r1_python_install_all
50 +}