1 |
commit: ac79cc33b641f310452e64df422afd95da17f8ea |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Apr 25 20:00:44 2020 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Apr 25 20:00:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac79cc33 |
7 |
|
8 |
dev-python/check-manifest: now working |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
.../{check-manifest-0.41.ebuild => check-manifest-0.41-r1.ebuild} | 7 ++++++- |
14 |
1 file changed, 6 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-python/check-manifest/check-manifest-0.41.ebuild b/dev-python/check-manifest/check-manifest-0.41-r1.ebuild |
17 |
similarity index 83% |
18 |
rename from dev-python/check-manifest/check-manifest-0.41.ebuild |
19 |
rename to dev-python/check-manifest/check-manifest-0.41-r1.ebuild |
20 |
index 84306ae..bc00f11 100644 |
21 |
--- a/dev-python/check-manifest/check-manifest-0.41.ebuild |
22 |
+++ b/dev-python/check-manifest/check-manifest-0.41-r1.ebuild |
23 |
@@ -18,6 +18,8 @@ SRC_URI="https://github.com/mgedmin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
24 |
LICENSE="MIT" |
25 |
SLOT="0" |
26 |
KEYWORDS="~amd64" |
27 |
+IUSE="test" |
28 |
+RESTRICT="!test? ( test )" |
29 |
|
30 |
#install requires, is right? |
31 |
RDEPEND=" |
32 |
@@ -28,7 +30,10 @@ DEPEND=" |
33 |
${RDEPEND} |
34 |
test? ( |
35 |
dev-python/mock[${PYTHON_USEDEP}] |
36 |
+ dev-python/nose[${PYTHON_USEDEP}] |
37 |
) |
38 |
" |
39 |
|
40 |
-distutils_enable_tests nose |
41 |
+python_test() { |
42 |
+ nosetests -v -e test_build_sdist || die |
43 |
+} |