1 |
commit: 271e6c41320606e81b9831660eb8fe65a90ed877 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Nov 20 07:16:53 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 21 15:18:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=271e6c41 |
7 |
|
8 |
dev-python/humanfriendly: bump to 4.17 |
9 |
|
10 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
11 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/10452 |
13 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
14 |
|
15 |
dev-python/humanfriendly/Manifest | 1 + |
16 |
dev-python/humanfriendly/humanfriendly-4.17.ebuild | 40 ++++++++++++++++++++++ |
17 |
2 files changed, 41 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/humanfriendly/Manifest b/dev-python/humanfriendly/Manifest |
20 |
index cedb22b5d02..f089ba78572 100644 |
21 |
--- a/dev-python/humanfriendly/Manifest |
22 |
+++ b/dev-python/humanfriendly/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST humanfriendly-2.4.tar.gz 51037 BLAKE2B 3775505a8a32c19b921d6f397951dc61da9d5c4d3c8313a519cb350d4dcee09797b4d3412c7084d6a722397e675be345af946e132058e57d77e426d3ca2a3230 SHA512 e35017c6be9d80ac5e3465836aae4f5b1ea4358224e250c7c1b7e3a93c2764832382e0ec24ea54e1d656fd8874c12b23ffc535440870b55a532800c5953cc676 |
25 |
+DIST humanfriendly-4.17.tar.gz 344455 BLAKE2B 985ae142ea5378fcceb9f5f28773ac4dcaf0ea55ef1a7269fd1840a0b7119b54362aa93c330aa62e5424cc6f329e88717b45255c62b8e1d3f9ff5dd43a3c16c2 SHA512 a5786f28eaa0ff33919d9164ff30037fef5dbf60a31aece7679d1dddf3239f5a0d27209c710053cb0ac6779c1ef39102b1441fc620063283e90ef2ae11f8b621 |
26 |
|
27 |
diff --git a/dev-python/humanfriendly/humanfriendly-4.17.ebuild b/dev-python/humanfriendly/humanfriendly-4.17.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..bb442e83cbb |
30 |
--- /dev/null |
31 |
+++ b/dev-python/humanfriendly/humanfriendly-4.17.ebuild |
32 |
@@ -0,0 +1,40 @@ |
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=( python2_7 python3_{4,5,6} ) |
39 |
+PYTHON_REQ_USE="threads(+)" |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+MY_PN="python-${PN}" |
44 |
+MY_P="${MY_PN}-${PV}" |
45 |
+ |
46 |
+DESCRIPTION="Human friendly output for text interfaces using Python" |
47 |
+HOMEPAGE="https://pypi.org/project/humanfriendly/ https://humanfriendly.readthedocs.org" |
48 |
+SRC_URI="https://github.com/xolox/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ |
50 |
+SLOT="0" |
51 |
+LICENSE="MIT" |
52 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
53 |
+IUSE="test" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-python/monotonic[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
60 |
+ test? ( |
61 |
+ >=dev-python/capturer-2.1[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/coloredlogs-2.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/pytest-3.0.7[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/pytest-2.4.0[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+ " |
67 |
+ |
68 |
+S="${WORKDIR}/${MY_P}" |
69 |
+ |
70 |
+python_test() { |
71 |
+ pytest -v || die |
72 |
+} |