1 |
commit: dce50ca43a7fc0ffedd5d6ac8f9ac3890b5c0f06 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 30 20:32:34 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 10:31:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dce50ca4 |
7 |
|
8 |
dev-python/cfn-python-lint: Use det --install |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/cfn-python-lint/cfn-python-lint-0.39.0.ebuild | 8 +------- |
13 |
dev-python/cfn-python-lint/cfn-python-lint-0.41.0.ebuild | 8 +------- |
14 |
dev-python/cfn-python-lint/cfn-python-lint-0.42.0.ebuild | 8 +------- |
15 |
3 files changed, 3 insertions(+), 21 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.39.0.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.39.0.ebuild |
18 |
index 64b6dd0c57c..2ee32af274d 100644 |
19 |
--- a/dev-python/cfn-python-lint/cfn-python-lint-0.39.0.ebuild |
20 |
+++ b/dev-python/cfn-python-lint/cfn-python-lint-0.39.0.ebuild |
21 |
@@ -33,7 +33,7 @@ BDEPEND=" |
22 |
) |
23 |
" |
24 |
|
25 |
-distutils_enable_tests unittest |
26 |
+distutils_enable_tests --install unittest |
27 |
|
28 |
PATCHES=( |
29 |
"${FILESDIR}/cfn-python-lint-0.30.1-tests.patch" |
30 |
@@ -47,9 +47,3 @@ src_prepare() { |
31 |
-i test/unit/module/maintenance/test_update_documentation.py || die |
32 |
distutils-r1_src_prepare |
33 |
} |
34 |
- |
35 |
-python_test() { |
36 |
- distutils_install_for_testing |
37 |
- "${EPYTHON}" -m unittest discover -v || |
38 |
- die "tests fail with ${EPYTHON}" |
39 |
-} |
40 |
|
41 |
diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.41.0.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.41.0.ebuild |
42 |
index 8fdc39d88ec..a83123122bc 100644 |
43 |
--- a/dev-python/cfn-python-lint/cfn-python-lint-0.41.0.ebuild |
44 |
+++ b/dev-python/cfn-python-lint/cfn-python-lint-0.41.0.ebuild |
45 |
@@ -33,7 +33,7 @@ BDEPEND=" |
46 |
) |
47 |
" |
48 |
|
49 |
-distutils_enable_tests unittest |
50 |
+distutils_enable_tests --install unittest |
51 |
|
52 |
PATCHES=( |
53 |
"${FILESDIR}/cfn-python-lint-0.30.1-tests.patch" |
54 |
@@ -47,9 +47,3 @@ src_prepare() { |
55 |
-i test/unit/module/maintenance/test_update_documentation.py || die |
56 |
distutils-r1_src_prepare |
57 |
} |
58 |
- |
59 |
-python_test() { |
60 |
- distutils_install_for_testing |
61 |
- "${EPYTHON}" -m unittest discover -v || |
62 |
- die "tests fail with ${EPYTHON}" |
63 |
-} |
64 |
|
65 |
diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.42.0.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.42.0.ebuild |
66 |
index 8fdc39d88ec..a83123122bc 100644 |
67 |
--- a/dev-python/cfn-python-lint/cfn-python-lint-0.42.0.ebuild |
68 |
+++ b/dev-python/cfn-python-lint/cfn-python-lint-0.42.0.ebuild |
69 |
@@ -33,7 +33,7 @@ BDEPEND=" |
70 |
) |
71 |
" |
72 |
|
73 |
-distutils_enable_tests unittest |
74 |
+distutils_enable_tests --install unittest |
75 |
|
76 |
PATCHES=( |
77 |
"${FILESDIR}/cfn-python-lint-0.30.1-tests.patch" |
78 |
@@ -47,9 +47,3 @@ src_prepare() { |
79 |
-i test/unit/module/maintenance/test_update_documentation.py || die |
80 |
distutils-r1_src_prepare |
81 |
} |
82 |
- |
83 |
-python_test() { |
84 |
- distutils_install_for_testing |
85 |
- "${EPYTHON}" -m unittest discover -v || |
86 |
- die "tests fail with ${EPYTHON}" |
87 |
-} |