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: Fri, 28 Feb 2020 23:47:11
Message-Id: 1582933621.703b2712e3c30dc2793d366aa5e76a734c19a625.sbraz@gentoo
1 commit: 703b2712e3c30dc2793d366aa5e76a734c19a625
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 28 23:46:31 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 28 23:47:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703b2712
7
8 dev-python/humanize: bump to 1.0.0, drops removed doc, add Py3.8
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
12
13 dev-python/humanize/Manifest | 1 +
14 dev-python/humanize/humanize-1.0.0.ebuild | 32 +++++++++++++++++++++++++++++++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest
18 index 6be0f954afe..10c841b0d84 100644
19 --- a/dev-python/humanize/Manifest
20 +++ b/dev-python/humanize/Manifest
21 @@ -1 +1,2 @@
22 DIST humanize-0.5.1.tar.gz 20507 BLAKE2B 55d7b598b32658b1d4c4741b37b5c33bdc9d63a5a779455e2fb93e1e4c3a0d8fd58e8522ef82734e1ba2b161fd881829373ba3569baffd9ea3271ad7ed3e7568 SHA512 dd7ad7f3c564cc6abcb6b128e50dbea7f19f7f418bfd936aae2472961c53ec71202133c5c2b5b930ef41ef807b51d6ba1210565627ed32c0b41acc0abd32a2d5
23 +DIST humanize-1.0.0.tar.gz 34411 BLAKE2B dc1d2f3c5db2ddbecccf7c1f9894a7fa7ddbb98a530e971ecc1de2b666a1b3a21e2770f25cefa37029d1d439d03e68bbb5a3496cc2fbd074b8bb427a09f52cf1 SHA512 2e012b7be88d0297301f25ecba7ba8083f5fc6384715a657c815373c6f2742f1429e62363e6e16f1bfc85c41b8ab8d4a361112045414e9aef038c12783df2592
24
25 diff --git a/dev-python/humanize/humanize-1.0.0.ebuild b/dev-python/humanize/humanize-1.0.0.ebuild
26 new file mode 100644
27 index 00000000000..be43d73ef82
28 --- /dev/null
29 +++ b/dev-python/humanize/humanize-1.0.0.ebuild
30 @@ -0,0 +1,32 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
37 +# The package uses pkg_resources to determine its version
38 +DISTUTILS_USE_SETUPTOOLS=manual
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Common humanization utilities"
43 +HOMEPAGE="https://github.com/jmoiron/humanize/"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="test"
50 +RESTRICT="!test? ( test )"
51 +
52 +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
53 +BDEPEND="
54 + dev-python/setuptools[${PYTHON_USEDEP}]
55 + test? ( dev-python/freezegun[${PYTHON_USEDEP}] )
56 +"
57 +
58 +python_test() {
59 + # The package uses pkg_resources to determine its version
60 + distutils_install_for_testing
61 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
62 +}