1 |
commit: 66bdec9d52d54839fc1d3eb71feba2fa442fe720 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 4 11:11:57 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 11:11:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66bdec9d |
7 |
|
8 |
dev-python/jaraco-functools: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/jaraco-functools/Manifest | 1 - |
13 |
.../jaraco-functools-2.0-r1.ebuild | 63 ---------------------- |
14 |
2 files changed, 64 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/jaraco-functools/Manifest b/dev-python/jaraco-functools/Manifest |
17 |
index 7fe9ba47401..15667315ef8 100644 |
18 |
--- a/dev-python/jaraco-functools/Manifest |
19 |
+++ b/dev-python/jaraco-functools/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST jaraco.functools-2.0.tar.gz 14340 BLAKE2B 560490b1150c2385f9c4d468fe7ab4fa84475ad43e1ebed784343a71742976ed0c18df3f6240b1d5b69106a6835c0248838331a654f9d3fdc863622c3dda33be SHA512 dce30c08f0e9f3c7b682c78fc3a46a26d9972706f4c8449a12ba11aa5ed130c6d9ca405213fd93b6b4110ef9cea549e5fa925c96bfaf18681cd6957d8ba0889f |
22 |
DIST jaraco.functools-3.0.0.tar.gz 15618 BLAKE2B dbf542148d18069e7e78c718f3f6b62c7a07c674c96d54dfb3c1cebded13f6e24ca579844453352d001d312e718acf58d311c198076e85217362ee1a1446dc23 SHA512 f1ec725e132477f7361f7d0a77f72b69603499c24df25c9e8e0cc9a6d34a4bd4bb10fde60dc324b8176c46035e2babde04de90fcb0aa82273bc2f8559b8b31f5 |
23 |
DIST jaraco.functools-3.0.1.tar.gz 16996 BLAKE2B 8cad1532753ae5c941038d4b8cda17b49f2d131405bb010d3747ecafc1ea4f72ad2c91b1ce2c499cd2885b18a9fe2cd1ac1bf06d58ed6f13a7a379cf9deb0e66 SHA512 96696839d3405e571bd0120443c5494f13d737b7e0fd9324a7a003c88ff45bdaa89a717c81b9c5ecb4eded9781ba2c05f4735e5cf24c1d1c162fc3d55d38eedb |
24 |
|
25 |
diff --git a/dev-python/jaraco-functools/jaraco-functools-2.0-r1.ebuild b/dev-python/jaraco-functools/jaraco-functools-2.0-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index bbe71d0ebbc..00000000000 |
28 |
--- a/dev-python/jaraco-functools/jaraco-functools-2.0-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,63 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} ) |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-MY_PN="${PN/-/.}" |
41 |
-DESCRIPTION="Additional functions used by other projects by developer jaraco" |
42 |
-HOMEPAGE="https://github.com/jaraco/jaraco.functools" |
43 |
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
44 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
45 |
- |
46 |
-LICENSE="MIT" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" |
49 |
-IUSE="test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}] |
54 |
- dev-python/more-itertools[${PYTHON_USEDEP}] |
55 |
- $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7) |
56 |
-" |
57 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
58 |
- test? ( |
59 |
- ${RDEPEND} |
60 |
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
61 |
- dev-python/backports-unittest-mock[${PYTHON_USEDEP}] |
62 |
- dev-python/jaraco-classes[${PYTHON_USEDEP}] |
63 |
- dev-python/six[${PYTHON_USEDEP}] |
64 |
- ) |
65 |
-" |
66 |
- |
67 |
-PATCHES=( "${FILESDIR}/${P}-fix-py37-tests.patch" ) |
68 |
- |
69 |
-distutils_enable_sphinx docs \ |
70 |
- ">=dev-python/jaraco-packaging-3.2" \ |
71 |
- ">=dev-python/rst-linker-1.9" |
72 |
- |
73 |
-python_prepare_all() { |
74 |
- # avoid a setuptools_scm dependency |
75 |
- sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" setup.py || die |
76 |
- sed -r -i "s:setuptools_scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+)[[:space:]]*::" \ |
77 |
- setup.cfg || die |
78 |
- |
79 |
- distutils-r1_python_prepare_all |
80 |
-} |
81 |
- |
82 |
-python_test() { |
83 |
- # Override pytest options to skip flake8 |
84 |
- PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ |
85 |
- || die "tests failed with ${EPYTHON}" |
86 |
-} |
87 |
- |
88 |
-# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages |
89 |
-python_install() { |
90 |
- rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die |
91 |
- # note: eclass may default to --skip-build in the future |
92 |
- distutils-r1_python_install --skip-build |
93 |
-} |