1 |
commit: afd61924dd487e5c84e982a86cd8f2f8f6ae8db1 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 27 11:25:49 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 27 13:59:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd61924 |
7 |
|
8 |
dev-python/jaraco-functools: bump v3.0.1, re-add setuptools_scm dep. |
9 |
|
10 |
The sed call didn't work properly with the changed setup.py file. |
11 |
|
12 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
13 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
14 |
|
15 |
dev-python/jaraco-functools/Manifest | 1 + |
16 |
.../jaraco-functools/jaraco-functools-3.0.1.ebuild | 54 ++++++++++++++++++++++ |
17 |
2 files changed, 55 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/jaraco-functools/Manifest b/dev-python/jaraco-functools/Manifest |
20 |
index 68c4a31fd88..7fe9ba47401 100644 |
21 |
--- a/dev-python/jaraco-functools/Manifest |
22 |
+++ b/dev-python/jaraco-functools/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST jaraco.functools-2.0.tar.gz 14340 BLAKE2B 560490b1150c2385f9c4d468fe7ab4fa84475ad43e1ebed784343a71742976ed0c18df3f6240b1d5b69106a6835c0248838331a654f9d3fdc863622c3dda33be SHA512 dce30c08f0e9f3c7b682c78fc3a46a26d9972706f4c8449a12ba11aa5ed130c6d9ca405213fd93b6b4110ef9cea549e5fa925c96bfaf18681cd6957d8ba0889f |
25 |
DIST jaraco.functools-3.0.0.tar.gz 15618 BLAKE2B dbf542148d18069e7e78c718f3f6b62c7a07c674c96d54dfb3c1cebded13f6e24ca579844453352d001d312e718acf58d311c198076e85217362ee1a1446dc23 SHA512 f1ec725e132477f7361f7d0a77f72b69603499c24df25c9e8e0cc9a6d34a4bd4bb10fde60dc324b8176c46035e2babde04de90fcb0aa82273bc2f8559b8b31f5 |
26 |
+DIST jaraco.functools-3.0.1.tar.gz 16996 BLAKE2B 8cad1532753ae5c941038d4b8cda17b49f2d131405bb010d3747ecafc1ea4f72ad2c91b1ce2c499cd2885b18a9fe2cd1ac1bf06d58ed6f13a7a379cf9deb0e66 SHA512 96696839d3405e571bd0120443c5494f13d737b7e0fd9324a7a003c88ff45bdaa89a717c81b9c5ecb4eded9781ba2c05f4735e5cf24c1d1c162fc3d55d38eedb |
27 |
|
28 |
diff --git a/dev-python/jaraco-functools/jaraco-functools-3.0.1.ebuild b/dev-python/jaraco-functools/jaraco-functools-3.0.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..d4b3d6ee6cf |
31 |
--- /dev/null |
32 |
+++ b/dev-python/jaraco-functools/jaraco-functools-3.0.1.ebuild |
33 |
@@ -0,0 +1,54 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) |
40 |
+# [options.entry_points] is present in setup.cfg but it is empty |
41 |
+DISTUTILS_USE_SETUPTOOLS=manual |
42 |
+ |
43 |
+inherit distutils-r1 |
44 |
+ |
45 |
+MY_PN="${PN/-/.}" |
46 |
+DESCRIPTION="Additional functions used by other projects by developer jaraco" |
47 |
+HOMEPAGE="https://github.com/jaraco/jaraco.functools" |
48 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
49 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
54 |
+IUSE="test" |
55 |
+RESTRICT="!test? ( test )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}] |
59 |
+ dev-python/more-itertools[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+BDEPEND=" |
62 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
63 |
+ dev-python/toml[${PYTHON_USEDEP}] |
64 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
65 |
+ test? ( |
66 |
+ ${RDEPEND} |
67 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
68 |
+ dev-python/jaraco-classes[${PYTHON_USEDEP}] |
69 |
+ ) |
70 |
+" |
71 |
+ |
72 |
+distutils_enable_sphinx docs \ |
73 |
+ ">=dev-python/jaraco-packaging-3.2" \ |
74 |
+ ">=dev-python/rst-linker-1.9" |
75 |
+ |
76 |
+python_test() { |
77 |
+ # Override pytest options to skip flake8 |
78 |
+ PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ |
79 |
+ || die "tests failed with ${EPYTHON}" |
80 |
+} |
81 |
+ |
82 |
+# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages |
83 |
+python_install() { |
84 |
+ rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die |
85 |
+ # note: eclass may default to --skip-build in the future |
86 |
+ distutils-r1_python_install --skip-build |
87 |
+} |