1 |
commit: bc667cdf16fc0f38395f9168b4942449698f6938 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 12 06:12:06 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 12 06:39:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc667cdf |
7 |
|
8 |
dev-python/coloredlogs: Bump to 15.0.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/coloredlogs/Manifest | 1 + |
13 |
dev-python/coloredlogs/coloredlogs-15.0.1.ebuild | 43 ++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/coloredlogs/Manifest b/dev-python/coloredlogs/Manifest |
17 |
index 33c860803bc..b338c23d8ef 100644 |
18 |
--- a/dev-python/coloredlogs/Manifest |
19 |
+++ b/dev-python/coloredlogs/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST coloredlogs-14.0.tar.gz 275863 BLAKE2B 0a8c026220955397378ad2b43a69c89c5710a09e2d9ed81a3f25408c60e171f4b8f78239696a0bc1b51fc3dd9bfca80df63e1f1d7afb6bee0046209a089e0d6d SHA512 3434a95f3216d19af5d7a48324e5afd5e975f92d9f6b99f40df2c0a635f1738e0bc6d7277a549a42a0fec5a8601f82908c4b0205ceeb3666f49210f66fe58671 |
22 |
+DIST coloredlogs-15.0.1.tar.gz 278520 BLAKE2B 446aea9adfc8a1ea7f2e5b4a0279d124a3e174feec4a6d9346059fa00fbcb2717d6480392051cc44f0c1f66e022cfc03238acae59b9496e9f70695d99143dfd6 SHA512 577af26af8d27bca3f10e6aaa257245aba608cc3832985ba57bcb2b590b10bf054796a2210749c15ee1b1a17623e007e4ac3ba17bed6af95544f85f5dfafaf21 |
23 |
|
24 |
diff --git a/dev-python/coloredlogs/coloredlogs-15.0.1.ebuild b/dev-python/coloredlogs/coloredlogs-15.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..806bf1c5c1a |
27 |
--- /dev/null |
28 |
+++ b/dev-python/coloredlogs/coloredlogs-15.0.1.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy3 python3_{8..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Colored stream handler for the logging module" |
39 |
+HOMEPAGE=" |
40 |
+ https://pypi.org/project/coloredlogs/ |
41 |
+ https://github.com/xolox/python-coloredlogs |
42 |
+ https://coloredlogs.readthedocs.io/en/latest/ |
43 |
+" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/humanfriendly-9.1[${PYTHON_USEDEP}]" |
52 |
+BDEPEND=" |
53 |
+ test? ( |
54 |
+ dev-python/capturer[${PYTHON_USEDEP}] |
55 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
56 |
+ dev-python/mock[${PYTHON_USEDEP}] |
57 |
+ dev-python/verboselogs[${PYTHON_USEDEP}] |
58 |
+ ) |
59 |
+" |
60 |
+ |
61 |
+PATCHES=( "${FILESDIR}/coloredlogs-14.0-fix-install-prefix.patch" ) |
62 |
+ |
63 |
+distutils_enable_sphinx docs |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+python_test() { |
67 |
+ # test_cli_conversion requires the package to be installed |
68 |
+ distutils_install_for_testing |
69 |
+ # test_auto_install fails because the pth file isn't being loaded |
70 |
+ epytest coloredlogs/tests.py \ |
71 |
+ --deselect coloredlogs/tests.py::ColoredLogsTestCase::test_auto_install |
72 |
+} |