diff options
Diffstat (limited to 'dev-python/pyspf')
| -rw-r--r-- | dev-python/pyspf/pyspf-2.0.14.ebuild | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/dev-python/pyspf/pyspf-2.0.14.ebuild b/dev-python/pyspf/pyspf-2.0.14.ebuild index 3c0c011e321d..5e9424f9e6b1 100644 --- a/dev-python/pyspf/pyspf-2.0.14.ebuild +++ b/dev-python/pyspf/pyspf-2.0.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,19 +17,26 @@ LICENSE="PSF-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="ipv6 test" +REQUIRED_USE="test? ( ipv6 )" RESTRICT="!test? ( test )" -RDEPEND="dev-python/authres[${PYTHON_USEDEP}] - || ( dev-python/pydns:3[${PYTHON_USEDEP}] - dev-python/dnspython[${PYTHON_USEDEP}] )" - -DEPEND="test? ( ${RDEPEND} - dev-python/pyyaml[${PYTHON_USEDEP}] )" +RDEPEND=" + dev-python/authres[${PYTHON_USEDEP}] + || ( + dev-python/pydns:3[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + ) +" -REQUIRED_USE="test? ( ipv6 )" +DEPEND=" + test? ( + ${RDEPEND} + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" python_test() { - pushd test &> /dev/null + pushd test &> /dev/null || die "${PYTHON}" testspf.py || die - popd &> /dev/null + popd &> /dev/null || die } |
