1 |
commit: 6334fb0c2c6ed9dc4efb5e82169c4f2a3407a78d |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 8 19:16:18 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 8 19:16:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6334fb0c |
7 |
|
8 |
dev-python/workerpool: [QA] Call distutils-r1_python_install_all |
9 |
|
10 |
* Also remove USE=examples, as it was |
11 |
completely broken. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/682648 |
14 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
15 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
16 |
|
17 |
dev-python/workerpool/workerpool-0.9.4.ebuild | 19 +++++++------------ |
18 |
1 file changed, 7 insertions(+), 12 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/workerpool/workerpool-0.9.4.ebuild b/dev-python/workerpool/workerpool-0.9.4.ebuild |
21 |
index 84dc0f5b229..05004de15b0 100644 |
22 |
--- a/dev-python/workerpool/workerpool-0.9.4.ebuild |
23 |
+++ b/dev-python/workerpool/workerpool-0.9.4.ebuild |
24 |
@@ -1,7 +1,8 @@ |
25 |
-# Copyright 1999-2015 Gentoo Foundation |
26 |
+# Copyright 1999-2019 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=5 |
30 |
+EAPI=7 |
31 |
+ |
32 |
PYTHON_COMPAT=( python2_7 pypy ) |
33 |
|
34 |
inherit distutils-r1 |
35 |
@@ -13,20 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
36 |
LICENSE="MIT" |
37 |
SLOT="0" |
38 |
KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="test examples" |
40 |
+IUSE="test" |
41 |
+RESTRICT="!test? ( test )" |
42 |
|
43 |
RDEPEND="" |
44 |
DEPEND="${RDEPEND} |
45 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
46 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
47 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
48 |
|
49 |
python_test() { |
50 |
nosetests -v test || die |
51 |
} |
52 |
- |
53 |
-python_install_all() { |
54 |
- if use examples; then |
55 |
- docompress -x usr/share/doc/${P}/samples |
56 |
- insinto usr/share/doc/${P}/ |
57 |
- doins -r samples |
58 |
- fi |
59 |
-} |