summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-26 08:57:05 +0000
committerSam James <sam@gentoo.org>2021-11-26 08:57:05 +0000
commitea0104c7335f3ac762b508cabae7f0bdd6b6ef7f (patch)
treeffc42a9f186bf88bf8e05f6b65234d6d600e741f /dev-python/pycparser
parentdev-java/pdfbox: Stabilize 2.0.24 ppc64, #824042 (diff)
downloadgentoo-ea0104c7335f3ac762b508cabae7f0bdd6b6ef7f.tar.gz
gentoo-ea0104c7335f3ac762b508cabae7f0bdd6b6ef7f.tar.bz2
gentoo-ea0104c7335f3ac762b508cabae7f0bdd6b6ef7f.zip
dev-python/pycparser: use d_e_t to get unittest_or_fail test dependency
Closes: https://bugs.gentoo.org/827390 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/pycparser')
-rw-r--r--dev-python/pycparser/pycparser-2.21.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild
index 0f74443174f6..449a6b1bde3c 100644
--- a/dev-python/pycparser/pycparser-2.21.ebuild
+++ b/dev-python/pycparser/pycparser-2.21.ebuild
@@ -20,6 +20,8 @@ RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]"
BDEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
+distutils_enable_tests unittest
+
python_prepare_all() {
# remove the original files to guarantee their regen
rm pycparser/{c_ast,lextab,yacctab}.py || die