From: Zac Medico Date: Sun, 26 Apr 2020 23:17:47 +0000 (-0700) Subject: dev-python/css-parser: Update PYTHON_COMPAT X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=315d95092d7a32cfe600ef8c8632e89950c8f4aa;p=gentoo.git dev-python/css-parser: Update PYTHON_COMPAT Bug: https://bugs.gentoo.org/710390 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Zac Medico --- diff --git a/dev-python/css-parser/css-parser-1.0.4-r1.ebuild b/dev-python/css-parser/css-parser-1.0.4-r1.ebuild index 6e64e14284fe..16d755705e6f 100644 --- a/dev-python/css-parser/css-parser-1.0.4-r1.ebuild +++ b/dev-python/css-parser/css-parser-1.0.4-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -15,3 +15,9 @@ SLOT="0" KEYWORDS="amd64 ~arm x86" BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +# Tests fail under network-sandbox. +RESTRICT+=" test" + +python_test() { + esetup.py test || die "tests failed under ${EPYTHON}" +}