1 |
commit: 2e03026a37a19f35efbd7d085f259fe1deb25799 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 31 17:54:28 2018 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 31 17:58:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e03026a |
7 |
|
8 |
dev-python/colorama: 0.4.0 |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
|
13 |
dev-python/colorama/Manifest | 1 + |
14 |
dev-python/colorama/colorama-0.4.0.ebuild | 43 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/colorama/Manifest b/dev-python/colorama/Manifest |
18 |
index b28409a2b9f..d3609e31aec 100644 |
19 |
--- a/dev-python/colorama/Manifest |
20 |
+++ b/dev-python/colorama/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST colorama-0.3.3.tar.gz 22765 BLAKE2B 3dc399c3a073fba825e85c667c6af1a5b8777dc65ff5ae8fcdb7fe6d20a3193ff391a28140ee90316893250a61b77bd8efca9df03ae88c7f20c24545c8f30e4c SHA512 8e6177ea60ab8f1267ce982f23803a9d2eb0c4550d7eac4776416d62a99d1ce03254fc64cc959ca95e2409ceeff081d4d19359c383e969dfb921b44c56914495 |
23 |
DIST colorama-0.3.9.github.tar.gz 122180 BLAKE2B 0ef1b2876a8d790e434548649d34bc38940eb48883080168d11cca79fc17c2cab258831ac2660be69eca28000864d617cb4a448558f8e473bca22cce090a8e03 SHA512 7bf6ec19181431d91f5c7a5334d01f9934d4555004e985f82ad74fc325c465339a4c3fdf017af6e0682e0b22e2bf78938cd222b670e5035f305d2d616b03d1d1 |
24 |
DIST colorama-0.3.9.tar.gz 25053 BLAKE2B f633a188d032c41d0b6de60540ca1774dd8f3e8fe2e558333baf09855db30fa7a7ade5944ff12e4ca1a3685930d10a02009162733666d711ad25a16ee96ace55 SHA512 248e3d3d1f95cb85baf55ef4d705508213b81edfb04b39fe9a7bc9c7ac564986726ab6e9d9f73d64ee02e1c9b86d4c6bba40543590dbd170180a37d69e07b627 |
25 |
+DIST colorama-0.4.0.github.tar.gz 104679 BLAKE2B 416a8bc5af470dc22b71a84279e4d984b57fad7ddb617c80c9104830127efa4f545eb08c003d263e48edbc0db39bc150e74f64f68f22075e759c11a6e84c75d5 SHA512 e2214c0a4ce1dd5515cf12cbb91220d2314da747b1a1246641117e70ea81b162cb4748b2b5dff049e102540470617a0076a3afff64bfe67158bf7bd95e1cc6f8 |
26 |
|
27 |
diff --git a/dev-python/colorama/colorama-0.4.0.ebuild b/dev-python/colorama/colorama-0.4.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..d997623f09f |
30 |
--- /dev/null |
31 |
+++ b/dev-python/colorama/colorama-0.4.0.ebuild |
32 |
@@ -0,0 +1,43 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="ANSI escape character sequences for colored terminal text & cursor positioning" |
43 |
+HOMEPAGE=" |
44 |
+ https://pypi.org/project/colorama/ |
45 |
+ https://github.com/tartley/colorama |
46 |
+" |
47 |
+# https://github.com/tartley/colorama/pull/183 |
48 |
+SRC_URI="https://github.com/tartley/${PN}/archive/${PV}.tar.gz -> ${P}.github.tar.gz" |
49 |
+ |
50 |
+LICENSE="BSD" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
53 |
+IUSE="examples test" |
54 |
+ |
55 |
+BDEPEND=" |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
58 |
+" |
59 |
+ |
60 |
+python_install_all() { |
61 |
+ distutils-r1_python_install_all |
62 |
+ |
63 |
+ if use examples; then |
64 |
+ docinto examples |
65 |
+ dodoc -r demos/. |
66 |
+ docompress -x /usr/share/doc/${PF}/examples |
67 |
+ fi |
68 |
+} |
69 |
+ |
70 |
+python_test() { |
71 |
+ # Some tests require stdout to be a TTY |
72 |
+ # https://github.com/tartley/colorama/issues/169 |
73 |
+ script -eqc "pytest -vv -s" /dev/null \ |
74 |
+ || die "tests failed with ${EPYTHON}" |
75 |
+} |