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