1 |
commit: 130e9502b0a2b9cefc0445fa081c8f61fe2f2004 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 2 12:02:57 2019 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 2 12:15:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=130e9502 |
7 |
|
8 |
dev-python/jaraco-text: bump to 3.2.0, add Python 3.8 support |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
dev-python/jaraco-text/Manifest | 1 + |
14 |
dev-python/jaraco-text/jaraco-text-3.2.0.ebuild | 53 +++++++++++++++++++++++++ |
15 |
2 files changed, 54 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest |
18 |
index cc89054018a..f601b8de7ae 100644 |
19 |
--- a/dev-python/jaraco-text/Manifest |
20 |
+++ b/dev-python/jaraco-text/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST jaraco.text-1.10.1.tar.gz 8790 BLAKE2B 268c13a9a84c4b29ac9141d8a43c716d8248b87c2b71f6bb8a34c2cf1568acdd012e84b1be0469f70ee8e102f723e218b6d551a9bd0cab5192a28d712ed39f03 SHA512 5c09b90f586d5ddf7419013f7e36814598337c257e6bd1c1eec993d7df021440798ec9300a6d45c960c5458c4197b458d1863f478b60a9a003241e98a644f28e |
23 |
DIST jaraco.text-3.0.1.tar.gz 11969 BLAKE2B 8eed750e81aa6a82baaa25483a2b60d2adb9f7a1769f92556a3a5c3fc53c3dc63a7910615317007dd0b934e73987da5de53d0e52a3cd44da955b717b48348dd4 SHA512 dcac7de44de4f1ae4dcfbe3e1857a4017b967bbbfc46df05cbf7d0f319a0f841440406b75a6e84b3283d8946ee1753c99f16438228dd2393fa023571c3911a10 |
24 |
DIST jaraco.text-3.1.tar.gz 13220 BLAKE2B f52ca11b8b20a42d2c36102d4d48cf27952314bf5304521fde020c6e52e92bf6f534b2c6c4d8cc0b73aec8bd118030e455d8a5eeb19fb4e927105fa7e4477817 SHA512 9edd50e3b67d40a1a5dfe8796dd55f80aac52cef9ba2f1ad565cf597c1ff8824d2c61900cedd104210b60dcc6dced8c01321af67e2e1a755be89e1c15945da1e |
25 |
+DIST jaraco.text-3.2.0.tar.gz 14279 BLAKE2B aa8c8903bac61db3d1017408e1aa525f66060422c27b754af343a64e586b64c6623b66881bea62b9b2e89821a40c933d54c9a8cddc7bda08ac108ad08a9524dc SHA512 4107ef1078b44714b6ee5fb6ebd2bb7c35415debc6eaedd8bc18a70a2936cc7c7757acd7b3fac9587201ef52a25d9b29e49f2385a0a08afffb1d0c3de6ecc377 |
26 |
|
27 |
diff --git a/dev-python/jaraco-text/jaraco-text-3.2.0.ebuild b/dev-python/jaraco-text/jaraco-text-3.2.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..af0f4eceead |
30 |
--- /dev/null |
31 |
+++ b/dev-python/jaraco-text/jaraco-text-3.2.0.ebuild |
32 |
@@ -0,0 +1,53 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+MY_PN="${PN/-/.}" |
43 |
+DESCRIPTION="Text utilities used by other projects by developer jaraco" |
44 |
+HOMEPAGE="https://github.com/jaraco/jaraco.text" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/jaraco-functools[${PYTHON_USEDEP}] |
55 |
+ dev-python/six[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}] |
57 |
+ $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python{2_7,3_{5,6}}) |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
62 |
+ test? ( |
63 |
+ ${RDEPEND} |
64 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
69 |
+ |
70 |
+distutils_enable_sphinx docs \ |
71 |
+ ">=dev-python/jaraco-packaging-3.2" \ |
72 |
+ ">=dev-python/rst-linker-1.9" |
73 |
+ |
74 |
+python_test() { |
75 |
+ # Override pytest options to skip flake8 |
76 |
+ PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ |
77 |
+ || die "tests failed with ${EPYTHON}" |
78 |
+} |
79 |
+ |
80 |
+# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages |
81 |
+python_install() { |
82 |
+ rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die |
83 |
+ # note: eclass may default to --skip-build in the future |
84 |
+ distutils-r1_python_install --skip-build |
85 |
+} |