1 |
commit: 1c6ac4f7c1e74adf8a49340840b78fa7e7ce955c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 19 14:11:57 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 19 15:23:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c6ac4f7 |
7 |
|
8 |
dev-python/smartypants: Remove irrelevant test |
9 |
|
10 |
Closes: https://bugs.gentoo.org/846455 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/smartypants/smartypants-2.0.1-r1.ebuild | 6 ++++++ |
14 |
1 file changed, 6 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/smartypants/smartypants-2.0.1-r1.ebuild b/dev-python/smartypants/smartypants-2.0.1-r1.ebuild |
17 |
index 826aa0e09c49..773d6e56c5d0 100644 |
18 |
--- a/dev-python/smartypants/smartypants-2.0.1-r1.ebuild |
19 |
+++ b/dev-python/smartypants/smartypants-2.0.1-r1.ebuild |
20 |
@@ -27,6 +27,12 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc x86" |
21 |
distutils_enable_sphinx docs |
22 |
distutils_enable_tests unittest |
23 |
|
24 |
+src_prepare() { |
25 |
+ # relevant only to upstream packaging, requires docutils |
26 |
+ rm tests/test_setup.py || die |
27 |
+ distutils-r1_src_prepare |
28 |
+} |
29 |
+ |
30 |
python_test() { |
31 |
eunittest -s tests |
32 |
} |