Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/texttable/
Date: Mon, 21 Jan 2019 22:51:45
Message-Id: 1548110988.49e8474d61bf86da68830072204c176293ce9951.monsieurp@gentoo
1 commit: 49e8474d61bf86da68830072204c176293ce9951
2 Author: Joonas Niilola <juippis <AT> gmail <DOT> com>
3 AuthorDate: Fri Jan 18 07:17:40 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 21 22:49:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e8474d
7
8 dev-python/texttable: bump to 1.6.0.
9
10 Package-Manager: Portage[mgorny]-2.3.51.1
11 Signed-off-by: Joonas Niilola <juippis <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/10859
13 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
14
15 dev-python/texttable/Manifest | 1 +
16 dev-python/texttable/texttable-1.6.0.ebuild | 33 +++++++++++++++++++++++++++++
17 2 files changed, 34 insertions(+)
18
19 diff --git a/dev-python/texttable/Manifest b/dev-python/texttable/Manifest
20 index bc9454b3346..54fd43ed547 100644
21 --- a/dev-python/texttable/Manifest
22 +++ b/dev-python/texttable/Manifest
23 @@ -1,2 +1,3 @@
24 DIST texttable-0.9.1.tar.gz 11074 BLAKE2B 465738a7b980f2a216d63b268044c1a1b8c0deb986fd398f0ba0ae30ab84020ac6f179b5314a2071592c38443f9cb86387b9ed573342533af9e825000472ebe5 SHA512 7ec37336ef4b253879d0232dcdb4500cad33ecce1067dd7ea26c221dc2c003ee56360bdbd1dd1e00133301c51c67fb2fe9b1703628804a65f2a6ab8a1e830e50
25 DIST texttable-1.5.0.tar.gz 10640 BLAKE2B 54bc7f1ac1860e2b88de092528134f8ba63b4f31f621a32e64a242b5f2d3132294818cff6bfdb848d4fa002d515069448dd077a95fa70bdf4e9266e162bb9355 SHA512 f4727947a302c8e1bf09ba08d73f79f083304b42f86f2f181a98f44602961e0b280aedd4e38660630671eac17e6eb92403b89c1ae6ea3cdd3cf861c122b904a3
26 +DIST texttable-1.6.0.tar.gz 10733 BLAKE2B 80a9b8a224ebaa37066df6a3aaccda6237224976076755b8f81a27eb20e3ef1c0811a529a877778b5ea7b1345ad16d510a7f3d9b6a1caadc582f34015faabb4e SHA512 df685004f24b8c1e7aa1bd6a44c658599805f1a0c6999a4a3e95ecf3a68499f515bea9cb5ccd54f5ee2563af15e9fcde2a7e1827934e4a1fc83c9ae2f5e88a52
27
28 diff --git a/dev-python/texttable/texttable-1.6.0.ebuild b/dev-python/texttable/texttable-1.6.0.ebuild
29 new file mode 100644
30 index 00000000000..feb6ae0d924
31 --- /dev/null
32 +++ b/dev-python/texttable/texttable-1.6.0.ebuild
33 @@ -0,0 +1,33 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +PYTHON_COMPAT=( python{2_7,3_{5..7}} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Module for creating simple ASCII tables"
43 +HOMEPAGE="https://github.com/foutaise/texttable https://pypi.org/project/texttable/"
44 +SRC_URI="https://github.com/foutaise/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="cjk test"
50 +
51 +RESTRICT="!test? ( test )"
52 +
53 +DEPEND="
54 + dev-python/setuptools[${PYTHON_USEDEP}]
55 + test? (
56 + dev-python/pytest[${PYTHON_USEDEP}]
57 + dev-python/wcwidth[${PYTHON_USEDEP}]
58 + cjk? ( dev-python/cjkwrap[${PYTHON_USEDEP}] )
59 + )
60 +"
61 +RDEPEND="dev-python/wcwidth[${PYTHON_USEDEP}]
62 + cjk? ( dev-python/cjkwrap[${PYTHON_USEDEP}] )"
63 +
64 +python_test() {
65 + pytest -vv tests.py || die
66 +}