1 |
commit: e06343dfcd25aebe6533f812e4caa0c8f1a37bfb |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 29 09:45:42 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 29 18:49:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e06343df |
7 |
|
8 |
dev-python/coloredlogs: Version Bump and Py3.6 support |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/coloredlogs/Manifest | 1 + |
14 |
dev-python/coloredlogs/coloredlogs-6.1.ebuild | 46 +++++++++++++++++++++++++++ |
15 |
2 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/coloredlogs/Manifest b/dev-python/coloredlogs/Manifest |
18 |
index 78b4c40a1bb..dcfd6de692f 100644 |
19 |
--- a/dev-python/coloredlogs/Manifest |
20 |
+++ b/dev-python/coloredlogs/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST coloredlogs-3.1.4.tar.gz 23038 SHA256 c906ef520d55b94ace4f0aad8625a89fc1d324f24ed2892cc1ac5d479183a14c SHA512 0ee97d0b0e12351c006686418b09a951c3f4c04b6533437e41ffd54f9c427c2b9e5a35c486a37c54565d7cb0c4150b1656a87fed5a86f3ed08b3cd2595d59bd5 WHIRLPOOL caeb81a34e2c832a0d75e8123bb0d9d7e9071269b44e103031ab31657225f43a578f4eb10c6f5aaccce24feba08460fceb8bce9e0bba8eb873df2daa65338fa0 |
23 |
DIST coloredlogs-5.0.tar.gz 24933 SHA256 612354a11acd2e1d603c24fe7be21d736c53a23ad27f244cd9e3fdb4a99661d4 SHA512 f20a18779964b0bd4d48b51b6df81a57e3918f0097108510c50d27d88386ae89bc4e6abcb6263e757148c5094aa02edb6fe8829caecae13ed4fe7596db488763 WHIRLPOOL e23012b14689125ac09d3c16dfe32823e7f792030e3be77899f6aa8bbc1c757c23f9fd739907e67ae3a24304bda036e7e690f95ccf6e7793ca75379bff11f726 |
24 |
+DIST coloredlogs-6.1.tar.gz 28057 SHA256 4cc35158baab0a495736eca84020a1a29f8ea470b98133bb94aabd3212d7f3f7 SHA512 834cf993e7ffd3328644d334912fcf5a5156a441c6184643b38e5f356d46d7b5c48e02ee1e1b432265052c7a5ab1071ba456e575217a4a762f8387131059c405 WHIRLPOOL 71f8632736c0c280bd19d1662d9cebfa04c85e70058953f0ff88d5e45c0e9daa189447e9b2053cbf4293e1a3708ddaea6a2b51d7688b2182617a38a6b2cbcf1c |
25 |
|
26 |
diff --git a/dev-python/coloredlogs/coloredlogs-6.1.ebuild b/dev-python/coloredlogs/coloredlogs-6.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..49ae56fe751 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/coloredlogs/coloredlogs-6.1.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Colored stream handler for the logging module" |
42 |
+HOMEPAGE=" |
43 |
+ https://pypi.python.org/pypi/coloredlogs |
44 |
+ https://github.com/xolox/python-coloredlogs |
45 |
+ http://coloredlogs.readthedocs.org" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="test" |
52 |
+ |
53 |
+RDEPEND=">=dev-python/humanfriendly-2.1[${PYTHON_USEDEP}]" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
+ test? ( |
57 |
+ >=dev-python/capturer-2.2[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/coverage-4.2[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pytest-3.0.3[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/pytest-cov-2.3.1[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/verboselogs-1.5[${PYTHON_USEDEP}] |
63 |
+ )" |
64 |
+ |
65 |
+DOCS=( README.rst ) |
66 |
+ |
67 |
+PATCHES=( "${FILESDIR}"/${PN}-2.0-skip-cli-test.patch ) |
68 |
+ |
69 |
+python_test() { |
70 |
+ # Sandbox violations |
71 |
+ sed \ |
72 |
+ -e 's:test_system_logging:_&:g' \ |
73 |
+ -e 's:test_syslog_shortcut_simple:_&:g' \ |
74 |
+ -e 's:test_syslog_shortcut_enhanced:_&:g' \ |
75 |
+ -i ${PN}/tests.py || die |
76 |
+ esetup.py test |
77 |
+} |