summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2018-11-13 11:53:56 +0100
committerLouis Sautier <sbraz@gentoo.org>2018-11-13 13:32:35 +0100
commit59dd352a74ba7416c8b89628025d50ebcb334e45 (patch)
treea6e80d4594f33e03b1bfad9d6c5afd942d386a65
parentnet-im/psi: Fix psi-l10n Manifest (diff)
downloadgentoo-59dd352a74ba7416c8b89628025d50ebcb334e45.tar.gz
gentoo-59dd352a74ba7416c8b89628025d50ebcb334e45.tar.bz2
gentoo-59dd352a74ba7416c8b89628025d50ebcb334e45.zip
dev-python/inflect: bump to 2.1.0, relicensed as MIT
Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
-rw-r--r--dev-python/inflect/Manifest1
-rw-r--r--dev-python/inflect/inflect-2.1.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/inflect/Manifest b/dev-python/inflect/Manifest
index 37acb79ca88..dc25ccc2287 100644
--- a/dev-python/inflect/Manifest
+++ b/dev-python/inflect/Manifest
@@ -1,3 +1,4 @@
DIST inflect-0.2.5.tar.gz 109756 BLAKE2B ecb64b0fea04602f112dfba11ade6828eae7a7f3f44d4c4fb15c2300ac18025ea4c51f9c36aae5e7e92bd09e24d08091ce096b888a520fd2d4c40374356333d5 SHA512 68371158ac90d9662c19657cbf697f44ee9ceac090286d53e29ee04252efbb7d0bfbd99ae6847e6eec1991ef4ef670eff60693d1f0a301885bab2a09c7ce4616
DIST inflect-1.0.0.tar.gz 110186 BLAKE2B c9a47237e7fabfbbf512c3c88632e910e1bdc2f6b370f0224f1ae775a63de75c0c5ab25385b44786e349fb7243ef5d22f22d9001dec3c1a6adde3112551bdcb5 SHA512 7a82789ebd3db279589844752ab4e6c99a664ad5058778a9049d484c63a391c7e6623e80c07ca6a4845971062a496cb3062e7fc94607c5843b99a92860708b90
DIST inflect-1.0.1.tar.gz 110413 BLAKE2B 4c7a5801fde8e0825c7a18612d7d4b6e92534c742ca9021e31c77ffb346e4e5b83f2ca1336d4a4116b721c14d1d6d7387838eff5a52b198c6490a1d00fa8d1a0 SHA512 000cd0e16d16b67cd36914c11d2230268e49be524f184f247d5cea29cc6b69d7b7259b9a67174efd570a2fb9eb6c392a7a6e223d48fd04d824a625fb7fc7f2a7
+DIST inflect-2.1.0.tar.gz 98767 BLAKE2B 2cddbeb7d4ca5e150435e42b75e0eff2e2b20a8cf38c89fe6e8958bc52d69aa070f7ba5c6c73bfdd2dab585ceb32006542f31abbeccc2375760742c70e0c6c50 SHA512 c5230ad6f224a6e9667ce3c135bf43d09939bf457f68fb3d52a4278b110df10c9ddddd05e68d94f04a6902319ad71440440bad019c081d0d781a2dbde9ab98bc
diff --git a/dev-python/inflect/inflect-2.1.0.ebuild b/dev-python/inflect/inflect-2.1.0.ebuild
new file mode 100644
index 00000000000..259154f23de
--- /dev/null
+++ b/dev-python/inflect/inflect-2.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Correctly inflect words and numbers"
+HOMEPAGE="https://github.com/jazzband/inflect"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+BDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ nosetests -v tests || die "tests failed with ${EPYTHON}"
+}