1 |
commit: 2a15211a4847ff660aeef79ac9b272e4e2af9afe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 4 09:45:00 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 09:45:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a15211a |
7 |
|
8 |
dev-python/PyUtilib: Remove redundant |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/PyUtilib/Manifest | 1 - |
13 |
dev-python/PyUtilib/PyUtilib-5.6.5.ebuild | 52 ------------------------------- |
14 |
2 files changed, 53 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/PyUtilib/Manifest b/dev-python/PyUtilib/Manifest |
17 |
index 7920e7a33a5..728046d1d58 100644 |
18 |
--- a/dev-python/PyUtilib/Manifest |
19 |
+++ b/dev-python/PyUtilib/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST PyUtilib-5.6.5.tar.gz 1504220 BLAKE2B 2d00b8b9a0a787413dce5dd4380382efa4c8788e9a8f5188eb0decf9e55bc07ce5ceb8e6f32ed2fa7cf58c331fe936ea07d9b599ff8e7e9593327d3c0f05d4e9 SHA512 5e7f86c29ff81cfffea5862d09ec8d026739f09b172606acd4d08dc4a9bde28c8b63b8e51634d17c3161b46e7e8c8881050044baa22bc07b0926efe46ed7331d |
22 |
DIST PyUtilib-5.7.2.tar.gz 1566034 BLAKE2B 913c6576b39f14c19e2e633c36ade33fe812c77a37374c7c14d2fb4384ca38f68efd55209d70e96d9a78fea2fcf1cf83423680d0787da2d03cab88e59a208b96 SHA512 d9d7d890cdb524bb055885354784f2af01967164ce88cf3b144ccffb0a855ef34243fd518c58193517ecfc50f3c2e3ca333f026951c1ab0b38ce181ecf9e7750 |
23 |
|
24 |
diff --git a/dev-python/PyUtilib/PyUtilib-5.6.5.ebuild b/dev-python/PyUtilib/PyUtilib-5.6.5.ebuild |
25 |
deleted file mode 100644 |
26 |
index 32506e723c9..00000000000 |
27 |
--- a/dev-python/PyUtilib/PyUtilib-5.6.5.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,52 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_6 ) |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-DESCRIPTION="A collection of Python utilities" |
39 |
-HOMEPAGE="https://github.com/PyUtilib/pyutilib" |
40 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="BSD" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~amd64 ~x86" |
45 |
-IUSE="test" |
46 |
-RESTRICT="!test? ( test )" |
47 |
- |
48 |
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
49 |
-BDEPEND="${RDEPEND} |
50 |
- test? ( |
51 |
- dev-python/nose[${PYTHON_USEDEP}] |
52 |
- dev-python/six[${PYTHON_USEDEP}] |
53 |
- )" |
54 |
- |
55 |
-PATCHES=( |
56 |
- "${FILESDIR}/pyutilib-5.6.5-tests.patch" |
57 |
-) |
58 |
- |
59 |
-python_prepare() { |
60 |
- # shells out to run nosetests |
61 |
- rm pyutilib/dev/tests/test_runtests.py || die |
62 |
-} |
63 |
- |
64 |
-python_install_all() { |
65 |
- distutils-r1_python_install_all |
66 |
- find "${ED}" -name '*.pth' -delete || die |
67 |
-} |
68 |
- |
69 |
-python_install() { |
70 |
- distutils-r1_python_install |
71 |
- |
72 |
- if ! python_is_python3; then |
73 |
- printf "# Placeholder for python2\n" \ |
74 |
- > "${D}$(python_get_sitedir)/${PN,,}/__init__.py" |
75 |
- fi |
76 |
-} |
77 |
- |
78 |
-python_test() { |
79 |
- COLUMNS="80" "${EPYTHON}" -W ignore::DeprecationWarning \ |
80 |
- -m unittest discover -v || die |
81 |
-} |