1 |
commit: f89f365f7f33dfa6fb1cdc33b84b3b8d00ad2e9e |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 23 18:17:39 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 23 18:19:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89f365f |
7 |
|
8 |
dev-python/humanize: bump to 2.4.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
dev-python/humanize/Manifest | 1 + |
14 |
dev-python/humanize/humanize-2.4.0.ebuild | 36 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest |
18 |
index a904f7d90a6..b290258b437 100644 |
19 |
--- a/dev-python/humanize/Manifest |
20 |
+++ b/dev-python/humanize/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST humanize-0.5.1.tar.gz 20507 BLAKE2B 55d7b598b32658b1d4c4741b37b5c33bdc9d63a5a779455e2fb93e1e4c3a0d8fd58e8522ef82734e1ba2b161fd881829373ba3569baffd9ea3271ad7ed3e7568 SHA512 dd7ad7f3c564cc6abcb6b128e50dbea7f19f7f418bfd936aae2472961c53ec71202133c5c2b5b930ef41ef807b51d6ba1210565627ed32c0b41acc0abd32a2d5 |
23 |
DIST humanize-2.2.0.tar.gz 42776 BLAKE2B 9df295b7b34bfb12ca132837e16f0ac2affe1e51ef7bfa533501200fd738967bcabc1b27c37a5fcd7301b6f22a7385a36ec4b30314a099202692d59222a1b271 SHA512 d36a92c7552193eb0fa0aa827041811a77239c067d8070895ed5fbfd05b6f9b4124ac53658d316bf9068256be1b9d7ee61b206209ebc17b6eb24cd70b8ae2461 |
24 |
DIST humanize-2.3.0.tar.gz 44892 BLAKE2B 70422658e6234d846779b421eda42ff350156f5308a459bb72986f464a4848cefdf10de73b6e13c820a1ad8ea6a82b229b037ec21417c6e98ddada25c2763fc6 SHA512 4e789f3bc0df23db7838efd121f125399fc3601d0b1984f9c134b6b73d1cfb55b8821ebf9f30ad849dae4aa618e7adf3751666487ad2f2c7a9e19273c972eda1 |
25 |
+DIST humanize-2.4.0.tar.gz 46489 BLAKE2B bb2cfeebd25f4aa073539bb616a5d05db2827dd2aaa6f093d46b51415ef3b954918a45f2434b9ce41845389be986200e23b1cb752e8a0bd03649377ea46fbec6 SHA512 20707a59f2f0bbc52e1e5d906e733561f53c3bc429ce24662ea9014d7f73f87a8f3ae9aa62f2564fafbe9de0d6b250e8fecec4a3cb81968c5b24d61ad9627d1b |
26 |
|
27 |
diff --git a/dev-python/humanize/humanize-2.4.0.ebuild b/dev-python/humanize/humanize-2.4.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..4785489816a |
30 |
--- /dev/null |
31 |
+++ b/dev-python/humanize/humanize-2.4.0.ebuild |
32 |
@@ -0,0 +1,36 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) |
39 |
+# The package uses pkg_resources to determine its version |
40 |
+DISTUTILS_USE_SETUPTOOLS=manual |
41 |
+ |
42 |
+inherit distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="Common humanization utilities" |
45 |
+HOMEPAGE="https://github.com/jmoiron/humanize/" |
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 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
55 |
+BDEPEND=" |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
58 |
+ test? ( |
59 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
60 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+python_test() { |
65 |
+ # The package uses pkg_resources to determine its version |
66 |
+ distutils_install_for_testing |
67 |
+ pytest -vv || die "Tests fail with ${EPYTHON}" |
68 |
+} |