diff --git a/dev-python/weasyprint/weasyprint-51.ebuild b/dev-python/weasyprint/weasyprint-51.ebuild index fdcc64deeca70..dde41858dcdbe 100644 --- a/dev-python/weasyprint/weasyprint-51.ebuild +++ b/dev-python/weasyprint/weasyprint-51.ebuild @@ -1,9 +1,10 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..8} ) inherit distutils-r1 @@ -34,7 +35,7 @@ RDEPEND=" x11-libs/pango:0/0 " -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +DEPEND=" test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}]