diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-01-07 14:56:57 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-01-07 14:56:57 -0500 |
commit | 604c54cd6321f3e26b2f9dc45ebf1f888eba483e (patch) | |
tree | 2deae4bc3f4a9826a9abc64733c0e79e0ebb1dc4 /sys-apps/net-tools | |
parent | net-wireless/iwd: bump to 1.11 (diff) | |
download | gentoo-604c54cd6321f3e26b2f9dc45ebf1f888eba483e.tar.gz gentoo-604c54cd6321f3e26b2f9dc45ebf1f888eba483e.tar.bz2 gentoo-604c54cd6321f3e26b2f9dc45ebf1f888eba483e.zip |
sys-apps/net-tools: use BDEPEND in EAPI 7
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/net-tools')
-rw-r--r-- | sys-apps/net-tools/net-tools-2.10.ebuild | 17 | ||||
-rw-r--r-- | sys-apps/net-tools/net-tools-9999.ebuild | 15 |
2 files changed, 17 insertions, 15 deletions
diff --git a/sys-apps/net-tools/net-tools-2.10.ebuild b/sys-apps/net-tools/net-tools-2.10.ebuild index 4053b82f9db1..3cb4b0d86c25 100644 --- a/sys-apps/net-tools/net-tools-2.10.ebuild +++ b/sys-apps/net-tools/net-tools-2.10.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="7" inherit flag-o-matic toolchain-funcs @@ -21,16 +21,17 @@ SLOT="0" IUSE="+arp +hostname ipv6 nis nls plipconfig selinux slattach static" REQUIRED_USE="nis? ( hostname )" -RDEPEND="selinux? ( sys-libs/libselinux )" -DEPEND="${RDEPEND} +DEPEND="selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + hostname? ( !sys-apps/coreutils[hostname] ) + !<sys-apps/openrc-0.9.9.3" +BDEPEND=" selinux? ( virtual/pkgconfig ) - app-arch/xz-utils" + app-arch/xz-utils +" if [[ ${PV} == "9999" ]]; then - DEPEND+=" nls? ( sys-devel/gettext )" + BDEPEND+=" nls? ( sys-devel/gettext )" fi -RDEPEND+=" - hostname? ( !sys-apps/coreutils[hostname] ) - !<sys-apps/openrc-0.9.9.3" set_opt() { local opt=$1 ans diff --git a/sys-apps/net-tools/net-tools-9999.ebuild b/sys-apps/net-tools/net-tools-9999.ebuild index 00d07c185f7e..3cb4b0d86c25 100644 --- a/sys-apps/net-tools/net-tools-9999.ebuild +++ b/sys-apps/net-tools/net-tools-9999.ebuild @@ -21,16 +21,17 @@ SLOT="0" IUSE="+arp +hostname ipv6 nis nls plipconfig selinux slattach static" REQUIRED_USE="nis? ( hostname )" -RDEPEND="selinux? ( sys-libs/libselinux )" -DEPEND="${RDEPEND} +DEPEND="selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + hostname? ( !sys-apps/coreutils[hostname] ) + !<sys-apps/openrc-0.9.9.3" +BDEPEND=" selinux? ( virtual/pkgconfig ) - app-arch/xz-utils" + app-arch/xz-utils +" if [[ ${PV} == "9999" ]]; then - DEPEND+=" nls? ( sys-devel/gettext )" + BDEPEND+=" nls? ( sys-devel/gettext )" fi -RDEPEND+=" - hostname? ( !sys-apps/coreutils[hostname] ) - !<sys-apps/openrc-0.9.9.3" set_opt() { local opt=$1 ans |