diff --git a/dev-python/html5-parser/html5-parser-0.4.4.ebuild b/dev-python/html5-parser/html5-parser-0.4.4-r1.ebuild similarity index 80% rename from dev-python/html5-parser/html5-parser-0.4.4.ebuild rename to dev-python/html5-parser/html5-parser-0.4.4-r1.ebuild index 638a6fe3e5b12..096a8db46e0cd 100644 --- a/dev-python/html5-parser/html5-parser-0.4.4.ebuild +++ b/dev-python/html5-parser/html5-parser-0.4.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,10 +16,13 @@ KEYWORDS="~amd64 ~arm ~x86" IUSE="" RDEPEND="dev-libs/libxml2:= + dev-python/chardet[${PYTHON_USEDEP}] >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}]" python_test() { + # Soup is not used when lxml is available. + rm test/soup.py || die esetup.py test || die "Tests failed under ${EPYTHON}" }