1 |
commit: 5674bc754a451e1bfeebe9ee25f424c8353416ca |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 29 22:54:21 2019 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 00:07:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5674bc75 |
7 |
|
8 |
dev-python/inflect: v4.0.0, stops supporting Py<3.6, add Py3.8 |
9 |
|
10 |
Also switch to distutils_enable_sphinx. |
11 |
|
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
14 |
|
15 |
dev-python/inflect/Manifest | 1 + |
16 |
dev-python/inflect/inflect-4.0.0.ebuild | 41 +++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 42 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/inflect/Manifest b/dev-python/inflect/Manifest |
20 |
index 605aa2162c6..b960892d155 100644 |
21 |
--- a/dev-python/inflect/Manifest |
22 |
+++ b/dev-python/inflect/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST inflect-0.2.5.tar.gz 109756 BLAKE2B ecb64b0fea04602f112dfba11ade6828eae7a7f3f44d4c4fb15c2300ac18025ea4c51f9c36aae5e7e92bd09e24d08091ce096b888a520fd2d4c40374356333d5 SHA512 68371158ac90d9662c19657cbf697f44ee9ceac090286d53e29ee04252efbb7d0bfbd99ae6847e6eec1991ef4ef670eff60693d1f0a301885bab2a09c7ce4616 |
25 |
DIST inflect-2.1.0.tar.gz 98767 BLAKE2B 2cddbeb7d4ca5e150435e42b75e0eff2e2b20a8cf38c89fe6e8958bc52d69aa070f7ba5c6c73bfdd2dab585ceb32006542f31abbeccc2375760742c70e0c6c50 SHA512 c5230ad6f224a6e9667ce3c135bf43d09939bf457f68fb3d52a4278b110df10c9ddddd05e68d94f04a6902319ad71440440bad019c081d0d781a2dbde9ab98bc |
26 |
DIST inflect-3.0.2.tar.gz 71546 BLAKE2B 951eb818ba1645a9e426468811ad449378aa5a7341575ac2aff5e9d1e06237fe8e96fa64cd678665cd6c05e1dc5e477a65b261b9d8bd170be4fb923d5fb90e9c SHA512 5858548e947f742b91630fc584f568a2221057ada7cd4a55f39de1b52a82c97884d6a78c2f32e5995e354fd1c4eae4d5b3d30491ef57dd5187fd6baca93d2779 |
27 |
+DIST inflect-4.0.0.tar.gz 71091 BLAKE2B 597db3d84cce1660ea92b84af5d07d77f537b2d738caedbe132ed9cb074a3c80c2f9e1cab321f0e231b2a29803f3b25206f27b78672c4917873007f3a56f1a8a SHA512 7d9ef9389b9301e596165fcb1774467ddeb421636094a0f0cebbcaa11558b4529ccb90644e1097f91cff3316911c98f4bb1df92180193a5313ca7da91a282e5c |
28 |
|
29 |
diff --git a/dev-python/inflect/inflect-4.0.0.ebuild b/dev-python/inflect/inflect-4.0.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..d7180e8c2c9 |
32 |
--- /dev/null |
33 |
+++ b/dev-python/inflect/inflect-4.0.0.ebuild |
34 |
@@ -0,0 +1,41 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) |
41 |
+ |
42 |
+inherit distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="Correctly inflect words and numbers" |
45 |
+HOMEPAGE="https://github.com/jazzband/inflect" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
51 |
+IUSE="test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7}) |
56 |
+" |
57 |
+# six can be removed in the next release |
58 |
+# https://github.com/jazzband/inflect/commit/407dfa7e170a562012f37e9bd65c3b50cd3da0cb |
59 |
+BDEPEND=" |
60 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
62 |
+ test? ( |
63 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
64 |
+ dev-python/six[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ |
69 |
+ '>=dev-python/rst-linker-1.9' dev-python/alabaster |
70 |
+ |
71 |
+python_test() { |
72 |
+ # Override pytest options to skip flake8 |
73 |
+ pytest -vv tests --override-ini="addopts=--doctest-modules" \ |
74 |
+ || die "tests failed with ${EPYTHON}" |
75 |
+} |