1 |
commit: ea0104c7335f3ac762b508cabae7f0bdd6b6ef7f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 26 08:57:05 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 26 08:57:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0104c7 |
7 |
|
8 |
dev-python/pycparser: use d_e_t to get unittest_or_fail test dependency |
9 |
|
10 |
Closes: https://bugs.gentoo.org/827390 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-python/pycparser/pycparser-2.21.ebuild | 2 ++ |
14 |
1 file changed, 2 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild |
17 |
index 0f74443174f6..449a6b1bde3c 100644 |
18 |
--- a/dev-python/pycparser/pycparser-2.21.ebuild |
19 |
+++ b/dev-python/pycparser/pycparser-2.21.ebuild |
20 |
@@ -20,6 +20,8 @@ RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" |
21 |
BDEPEND="${RDEPEND} |
22 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
23 |
|
24 |
+distutils_enable_tests unittest |
25 |
+ |
26 |
python_prepare_all() { |
27 |
# remove the original files to guarantee their regen |
28 |
rm pycparser/{c_ast,lextab,yacctab}.py || die |