Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/texttable/
Date: Mon, 16 May 2022 18:58:21
Message-Id: 1652727485.6b15d75e2c79b3e1b47cd9a6bff733cda9e9cd62.arthurzam@gentoo
1 commit: 6b15d75e2c79b3e1b47cd9a6bff733cda9e9cd62
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 16 18:46:16 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 16 18:58:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b15d75e
7
8 dev-python/texttable: EAPI=8, PEP517
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/texttable/texttable-1.6.4-r1.ebuild | 29 ++++++++++++++++++++++++++
13 1 file changed, 29 insertions(+)
14
15 diff --git a/dev-python/texttable/texttable-1.6.4-r1.ebuild b/dev-python/texttable/texttable-1.6.4-r1.ebuild
16 new file mode 100644
17 index 000000000000..34cfa4fab568
18 --- /dev/null
19 +++ b/dev-python/texttable/texttable-1.6.4-r1.ebuild
20 @@ -0,0 +1,29 @@
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_{7..10} )
28 +
29 +inherit distutils-r1 optfeature
30 +
31 +DESCRIPTION="Module for creating simple ASCII tables"
32 +HOMEPAGE="https://github.com/foutaise/texttable https://pypi.org/project/texttable/"
33 +SRC_URI="https://github.com/foutaise/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm64 ~x86"
38 +
39 +RDEPEND="dev-python/wcwidth[${PYTHON_USEDEP}]"
40 +
41 +distutils_enable_tests pytest
42 +
43 +python_test() {
44 + pytest -vv tests.py || die
45 +}
46 +
47 +pkg_postinst() {
48 + optfeature "better wrapping of CJK text" dev-python/cjkwrap
49 +}