summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2020-11-16 00:41:34 +0100
committerLouis Sautier <sbraz@gentoo.org>2020-11-16 00:53:13 +0100
commit58bb17f3ae4209fa00113116c7936466f10f7354 (patch)
tree97e0d294143d49a7a2a1489ac64c52dc93671206 /dev-python/inflect
parentsys-firmware/intel-microcode: bump (diff)
downloadgentoo-58bb17f3ae4209fa00113116c7936466f10f7354.tar.gz
gentoo-58bb17f3ae4209fa00113116c7936466f10f7354.tar.bz2
gentoo-58bb17f3ae4209fa00113116c7936466f10f7354.zip
dev-python/inflect: bump to 5.0.2, update metadata and HOMEPAGE
* Reflect upstream change. * Use distutils_enable_tests to save a few lines of dependencies. * importlib_metadata is no longer required (__version__ has been removed). Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/inflect')
-rw-r--r--dev-python/inflect/Manifest1
-rw-r--r--dev-python/inflect/inflect-5.0.2.ebuild31
-rw-r--r--dev-python/inflect/metadata.xml3
3 files changed, 34 insertions, 1 deletions
diff --git a/dev-python/inflect/Manifest b/dev-python/inflect/Manifest
index 36ee7fb3e271..c25924b8c25c 100644
--- a/dev-python/inflect/Manifest
+++ b/dev-python/inflect/Manifest
@@ -1 +1,2 @@
DIST inflect-4.1.0.tar.gz 72200 BLAKE2B c15f6b0d5d93050283dfc4d691e9fdbc26bb2f71573d6b397834e87af62f3afb8f5cdb0448c531de37e84729c0c6ae0cf4ea7a7b081a9dd784f7c06b962d7def SHA512 9a2ba4777f01475390976f3ac28f046d39d1f86cfdafd161cc7c8d33526aca35d44e6598ccf2a0b68d3511a64b67ed0991b51c78bda8f279cd706fd29a3fa514
+DIST inflect-5.0.2.tar.gz 71323 BLAKE2B 42b2524b00a8b71aca6f164de9b57708be172ce63bc62480e951d082bd68f082ad2fadb502321a5fc97ffa3af95f26935d0de855144863b9bd1dfbdf3bdae516 SHA512 ea97ec4a4a1a94a6218e60c20d63e483026beb1901abe2fa69f186a823f8a786b9a82af231fc42bf705146f650fdbfa5ff660cfbe821eceb53891ef2e91eaec3
diff --git a/dev-python/inflect/inflect-5.0.2.ebuild b/dev-python/inflect/inflect-5.0.2.ebuild
new file mode 100644
index 000000000000..3edb82bfc627
--- /dev/null
+++ b/dev-python/inflect/inflect-5.0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Correctly inflect words and numbers"
+HOMEPAGE="https://github.com/jaraco/inflect"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="
+ >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}]
+ dev-python/toml[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \
+ '>=dev-python/rst-linker-1.9' dev-python/alabaster
+distutils_enable_tests pytest
+
+python_test() {
+ # Override pytest options to skip flake8
+ pytest -vv tests --override-ini="addopts=--doctest-modules" \
+ || die "tests failed with ${EPYTHON}"
+}
diff --git a/dev-python/inflect/metadata.xml b/dev-python/inflect/metadata.xml
index a25053c52f44..96bd609280d9 100644
--- a/dev-python/inflect/metadata.xml
+++ b/dev-python/inflect/metadata.xml
@@ -12,6 +12,7 @@
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">inflect</remote-id>
- <remote-id type="github">jazzband/inflect</remote-id>
+ <remote-id type="github">jaraco/inflect</remote-id>
+ <bugs-to>https://github.com/jaraco/inflect/issues</bugs-to>
</upstream>
</pkgmetadata>