summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-16 18:50:08 +0000
committerSam James <sam@gentoo.org>2024-08-31 08:10:14 +0100
commitde3f4c4ededefda3220a8dd4c7a8622567ed2584 (patch)
tree6cd511b56a36499c7a51fd290ece6d63cc7162e3 /net-dns
parentnet-dns/bind: restore chroot support (diff)
downloadgentoo-de3f4c4ededefda3220a8dd4c7a8622567ed2584.tar.gz
gentoo-de3f4c4ededefda3220a8dd4c7a8622567ed2584.tar.bz2
gentoo-de3f4c4ededefda3220a8dd4c7a8622567ed2584.zip
net-dns/bind: use standard USE=test
USE=test-extra means we lose some of the niceties of emerge ... --with-test-deps and such. In order to avoid circular dependencies, use the normal pattern of: - emerge -v1o --with-test-deps net-dns/bind - FEATURES=test emerge -v1 net-dns/bind Bug: https://bugs.gentoo.org/832218 Bug: https://bugs.gentoo.org/930348 Bug: https://bugs.gentoo.org/936568 Bug: https://bugs.gentoo.org/937907 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind/bind-9.18.0.ebuild7
-rw-r--r--net-dns/bind/metadata.xml1
2 files changed, 4 insertions, 4 deletions
diff --git a/net-dns/bind/bind-9.18.0.ebuild b/net-dns/bind/bind-9.18.0.ebuild
index dd465d39879c..a9242a3570fb 100644
--- a/net-dns/bind/bind-9.18.0.ebuild
+++ b/net-dns/bind/bind-9.18.0.ebuild
@@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit python-any-r1 systemd tmpfiles
MY_PV="${PV/_p/-P}"
@@ -19,7 +19,8 @@ SRC_URI="https://downloads.isc.org/isc/bind9/${PV}/${P}.tar.xz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+caps dnsrps dnstap doc doh fixed-rrset idn geoip gssapi lmdb selinux static-libs test-extra xml"
+IUSE="+caps dnsrps dnstap doc doh fixed-rrset idn geoip gssapi lmdb selinux static-libs test xml"
+RESTRICT="!test? ( test )"
DEPEND="
acct-group/named
@@ -39,7 +40,7 @@ DEPEND="
xml? ( dev-libs/libxml2 )
"
BDEPEND="
- test-extra? (
+ test? (
${PYTHON_DEPS}
dev-python/pytest
dev-perl/Net-DNS-SEC
diff --git a/net-dns/bind/metadata.xml b/net-dns/bind/metadata.xml
index 49012f10c364..aa2583bf5543 100644
--- a/net-dns/bind/metadata.xml
+++ b/net-dns/bind/metadata.xml
@@ -15,6 +15,5 @@
<flag name="gssapi">Enable gssapi support</flag>
<flag name="json">Enable JSON statistics channel</flag>
<flag name="lmdb">Enable LMDB support to store configuration for 'addzone' zones</flag>
- <flag name="test-extra">Pulls in extra dependencies for additional testing</flag>
</use>
</pkgmetadata>