diff options
author | Louis Sautier <sbraz@gentoo.org> | 2020-10-19 23:31:51 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2020-10-19 23:33:13 +0200 |
commit | 3ceeb7810f3af865f2aacdb078c29b6777b7e18c (patch) | |
tree | fc3b0b3e2cebbdf581c01e51ff41387826f82153 /dev-python/humanize | |
parent | dev-python/python-saharaclient: set DISTUTILS_USE_SETUPTOOLS=bdepend (diff) | |
download | gentoo-3ceeb7810f3af865f2aacdb078c29b6777b7e18c.tar.gz gentoo-3ceeb7810f3af865f2aacdb078c29b6777b7e18c.tar.bz2 gentoo-3ceeb7810f3af865f2aacdb078c29b6777b7e18c.zip |
dev-python/humanize: bump to 3.1.0
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/humanize')
-rw-r--r-- | dev-python/humanize/Manifest | 1 | ||||
-rw-r--r-- | dev-python/humanize/humanize-3.1.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index 91c9c98f6b85..1c4311eb1ce5 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1,3 +1,4 @@ DIST humanize-2.6.0.tar.gz 53753 BLAKE2B 7908100cde103846554264df887ddb54223900cdbf1e52b2a19f029084b2997ab7a02e275f437d0cc04c3c42d6f8c371fbdab23468cdeb8f98a8cd6a64c1c288 SHA512 d1e57672c80ccabc48dadb2bafe65ac0b5b23de13907d7d51a06b6a1f2f01ef254e36afa203c9393420ad3bb5aaa22616a0d5c4c71cc53cf47727436be0b1599 DIST humanize-3.0.0.tar.gz 53458 BLAKE2B c75ddbeed88aaef0019b50691576e6c8dd8ffdbf0ed1f1d1221c40ebfbaa502176f2db463afea3c8384f1b9acea7daaeca1e81f72919dbe2c476ff9d95db166b SHA512 8d566b4fba6b1f7f025e30d5d0402cb7ef7bf4881fb14608b011474d3e6991a0a058d444ccfdbb796205d959c2c4192e0eb98c6c15c31ba9e304f39a7cf8d025 DIST humanize-3.0.1.tar.gz 53151 BLAKE2B 2f4ddb2f49b8de3ddf7d68620844f476c1ce349b6cfc01a810bb5b52a57739c615f6fd98a18faa108636fd75f2ff624c542279ae62535da2ff187964e5c21c62 SHA512 d2c0dfcc32923d70bb01b384299b3735436ff84328921b57bc436a938b4b8e65b22ce56ef07487aa3ddfc017e649c25a848129a11f1c9d7cd1e808359a1a30c3 +DIST humanize-3.1.0.tar.gz 54352 BLAKE2B 0e25f4f7f01244f5b24a33c54546c2b2d82e0e069d2cabbe67ff0e5f8e2bc9d3aa2eb7f4d63d4a01dc8ff4ddcfee030b33015ede00d769dfafccb6c2af95171a SHA512 71cb2766a791481f4dc5e02b77357e8e4e7332e533ee055a207cf145f2b2f9041c5bc4ce25f061f0cc1498f37edbc6243f63b888a322c0cf19e5216e120542dc diff --git a/dev-python/humanize/humanize-3.1.0.ebuild b/dev-python/humanize/humanize-3.1.0.ebuild new file mode 100644 index 000000000000..258783280144 --- /dev/null +++ b/dev-python/humanize/humanize-3.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Common humanization utilities" +HOMEPAGE="https://github.com/jmoiron/humanize/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( dev-python/freezegun[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +python_test() { + # The package uses pkg_resources to determine its version + distutils_install_for_testing + pytest -vv || die "Tests fail with ${EPYTHON}" +} |