summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/html5-parser')
-rw-r--r--dev-python/html5-parser/html5-parser-0.4.4-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/html5-parser/html5-parser-0.4.4-r1.ebuild b/dev-python/html5-parser/html5-parser-0.4.4-r1.ebuild
index 096a8db46e0c..39204b859065 100644
--- a/dev-python/html5-parser/html5-parser-0.4.4-r1.ebuild
+++ b/dev-python/html5-parser/html5-parser-0.4.4-r1.ebuild
@@ -21,8 +21,12 @@ RDEPEND="dev-libs/libxml2:=
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
-python_test() {
+src_prepare() {
# Soup is not used when lxml is available.
rm test/soup.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
esetup.py test || die "Tests failed under ${EPYTHON}"
}