Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/humanize/
Date: Sun, 28 Jun 2020 22:55:52
Message-Id: 1593384778.f027c145576b1c61cdc28173d32ee7f598fcb40b.sbraz@gentoo
1 commit: f027c145576b1c61cdc28173d32ee7f598fcb40b
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 28 22:52:58 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 28 22:52:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f027c145
7
8 dev-python/humanize: bump to 2.4.1
9
10 Package-Manager: Portage-2.3.100, 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.1.ebuild | 36 +++++++++++++++++++++++++++++++
15 2 files changed, 37 insertions(+)
16
17 diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest
18 index d8adbb8174a..de3e9c5045e 100644
19 --- a/dev-python/humanize/Manifest
20 +++ b/dev-python/humanize/Manifest
21 @@ -1,2 +1,3 @@
22 DIST humanize-0.5.1.tar.gz 20507 BLAKE2B 55d7b598b32658b1d4c4741b37b5c33bdc9d63a5a779455e2fb93e1e4c3a0d8fd58e8522ef82734e1ba2b161fd881829373ba3569baffd9ea3271ad7ed3e7568 SHA512 dd7ad7f3c564cc6abcb6b128e50dbea7f19f7f418bfd936aae2472961c53ec71202133c5c2b5b930ef41ef807b51d6ba1210565627ed32c0b41acc0abd32a2d5
23 DIST humanize-2.4.0.tar.gz 46489 BLAKE2B bb2cfeebd25f4aa073539bb616a5d05db2827dd2aaa6f093d46b51415ef3b954918a45f2434b9ce41845389be986200e23b1cb752e8a0bd03649377ea46fbec6 SHA512 20707a59f2f0bbc52e1e5d906e733561f53c3bc429ce24662ea9014d7f73f87a8f3ae9aa62f2564fafbe9de0d6b250e8fecec4a3cb81968c5b24d61ad9627d1b
24 +DIST humanize-2.4.1.tar.gz 46827 BLAKE2B e9b37283c5a4db1c5b2a9ef61919fe02a4e5720711129910e51b0b3481290c9bfa4e29225db75c37d83884c00065fa71b599ed42fac41414f481167d33091a98 SHA512 5d8534d2e97f375c7ec065dd239334a2a5da9d058f7c0312cb2683c3e42f5b8f99e117782e0888a6e5348f43958523df6609c294f5af7c971d81bd29679a0500
25
26 diff --git a/dev-python/humanize/humanize-2.4.1.ebuild b/dev-python/humanize/humanize-2.4.1.ebuild
27 new file mode 100644
28 index 00000000000..4785489816a
29 --- /dev/null
30 +++ b/dev-python/humanize/humanize-2.4.1.ebuild
31 @@ -0,0 +1,36 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
38 +# The package uses pkg_resources to determine its version
39 +DISTUTILS_USE_SETUPTOOLS=manual
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Common humanization utilities"
44 +HOMEPAGE="https://github.com/jmoiron/humanize/"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="test"
51 +RESTRICT="!test? ( test )"
52 +
53 +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
54 +BDEPEND="
55 + dev-python/setuptools[${PYTHON_USEDEP}]
56 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
57 + test? (
58 + dev-python/freezegun[${PYTHON_USEDEP}]
59 + dev-python/pytest[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +python_test() {
64 + # The package uses pkg_resources to determine its version
65 + distutils_install_for_testing
66 + pytest -vv || die "Tests fail with ${EPYTHON}"
67 +}