1 |
commit: 1090aad3d6349bc47b716cbf04c0e95a607d360e |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 22 01:04:58 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 22 01:04:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1090aad3 |
7 |
|
8 |
dev-python/loguru: bump to 0.3.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
dev-python/loguru/Manifest | 1 + |
14 |
dev-python/loguru/loguru-0.3.2.ebuild | 46 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/loguru/Manifest b/dev-python/loguru/Manifest |
18 |
index 3e89eed5c55..61d19abdb29 100644 |
19 |
--- a/dev-python/loguru/Manifest |
20 |
+++ b/dev-python/loguru/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST loguru-0.2.6_pre20190412.tar.gz 362315 BLAKE2B 8273fd42522396d4a17c405bebf01f8de272a56515e4a63766126494b4449333e7c25f5be5851bdbcf922d35affa9ee091ac7138482f9e2daf30f48093cee812 SHA512 49320c19f2bfdc55569290740b49889133003329dbf6cae2e993730a957d69e5200b41b75d255d2e19d937658778945ffe44350431661162eaa6141edfcfc499 |
23 |
DIST loguru-0.3.1.tar.gz 377834 BLAKE2B 4402a6dfd8e36efb966eb0f31ba2161183c03a7072f45ef86110587b1f3653e4711c0461d39d5e0047fb7b84c7da417c011644ffee815f82bf1f4847588b17b8 SHA512 b0b75aa265839be0a522101671bf9992c1fe548439988a5c2feb58702be77944137e4f78920ec5dd4fe5953daf7160714a4de940527d0987dba4907ac27a0e15 |
24 |
+DIST loguru-0.3.2.tar.gz 378160 BLAKE2B 83301f5bb79d0edb20d211e8ee4d05b3b93a0a9f13f13b2ff103f1e9759f227b80e5571ccda48098a1e45658d99a54768fdf456ffef7a13d08375ce62ad876e1 SHA512 e78f5f43fbf4891ff9b9a21c1a29e4f02877f73a09b7b7df25076bffb25a094eef561c469b22cbb999979de4dbf81df2298681fa219dc684f15fe7c52ecb5359 |
25 |
|
26 |
diff --git a/dev-python/loguru/loguru-0.3.2.ebuild b/dev-python/loguru/loguru-0.3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..332532b9b7b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/loguru/loguru-0.3.2.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Python logging made (stupidly) simple" |
42 |
+HOMEPAGE="https://github.com/Delgan/loguru" |
43 |
+SRC_URI="https://github.com/Delgan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+RDEPEND=">=dev-python/colorama-0.3.4[${PYTHON_USEDEP}]" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ doc? ( |
54 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
55 |
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+ test? ( |
58 |
+ ${RDEPEND} |
59 |
+ >=dev-python/pytest-4.5.0[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
64 |
+ |
65 |
+python_compile_all() { |
66 |
+ use doc && esetup.py build_sphinx |
67 |
+} |
68 |
+ |
69 |
+python_install_all() { |
70 |
+ use doc && HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) |
71 |
+ distutils-r1_python_install_all |
72 |
+} |
73 |
+ |
74 |
+python_test() { |
75 |
+ distutils_install_for_testing |
76 |
+ pytest -vv || die "Tests failed with ${EPYTHON}" |
77 |
+} |