diff options
author | Zac Medico <zmedico@gentoo.org> | 2018-02-10 21:47:33 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2018-02-10 21:47:33 -0800 |
commit | d2fa0efd4c23a0131cea1b5e7f8e850104079426 (patch) | |
tree | 3b7193a7327c7cbabfc60fc7f8cb4e1052df09cd /dev-python/html5-parser | |
parent | dev-python/html5-parser: disable soup test (diff) | |
download | gentoo-d2fa0efd4c23a0131cea1b5e7f8e850104079426.tar.gz gentoo-d2fa0efd4c23a0131cea1b5e7f8e850104079426.tar.bz2 gentoo-d2fa0efd4c23a0131cea1b5e7f8e850104079426.zip |
dev-python/html5-parser: use src_prepare
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-python/html5-parser')
-rw-r--r-- | dev-python/html5-parser/html5-parser-0.4.4-r1.ebuild | 6 |
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}" } |