summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 18:47:22 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:34:30 +0100
commit9d34496cb2ed2d805f5a7ec75b1cac17fbf92d75 (patch)
tree9ea123f60513d00d24a4fecb349c670a21086243 /net-wireless/kismet
parentnet-wireless/gr-specest: Switch to PYTHON_SINGLE_USEDEP (diff)
downloadgentoo-9d34496cb2ed2d805f5a7ec75b1cac17fbf92d75.tar.gz
gentoo-9d34496cb2ed2d805f5a7ec75b1cac17fbf92d75.tar.bz2
gentoo-9d34496cb2ed2d805f5a7ec75b1cac17fbf92d75.zip
net-wireless/kismet: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r--net-wireless/kismet/kismet-2019.09.1-r2.ebuild (renamed from net-wireless/kismet/kismet-2019.09.1-r1.ebuild)10
-rw-r--r--net-wireless/kismet/kismet-2019.12.2-r1.ebuild (renamed from net-wireless/kismet/kismet-2019.12.2.ebuild)17
-rw-r--r--net-wireless/kismet/kismet-9999.ebuild17
3 files changed, 33 insertions, 11 deletions
diff --git a/net-wireless/kismet/kismet-2019.09.1-r1.ebuild b/net-wireless/kismet/kismet-2019.09.1-r2.ebuild
index 01ac8b25a826..178c532ebfb5 100644
--- a/net-wireless/kismet/kismet-2019.09.1-r1.ebuild
+++ b/net-wireless/kismet/kismet-2019.09.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -51,7 +51,9 @@ CDEPEND="
mousejack? ( virtual/libusb:1 )
dev-libs/protobuf-c:=
dev-libs/protobuf:=
- dev-python/protobuf-python[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}]
+ ')
sys-libs/ncurses:=
lm-sensors? ( sys-apps/lm-sensors )
pcre? ( dev-libs/libpcre )
@@ -63,7 +65,9 @@ DEPEND="${CDEPEND}
"
RDEPEND="${CDEPEND}
- dev-python/pyserial[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pyserial[${PYTHON_MULTI_USEDEP}]
+ ')
selinux? ( sec-policy/selinux-kismet )
"
diff --git a/net-wireless/kismet/kismet-2019.12.2.ebuild b/net-wireless/kismet/kismet-2019.12.2-r1.ebuild
index 2a02da5e4246..73b8a86810b3 100644
--- a/net-wireless/kismet/kismet-2019.12.2.ebuild
+++ b/net-wireless/kismet/kismet-2019.12.2-r1.ebuild
@@ -51,7 +51,9 @@ CDEPEND="
libusb? ( virtual/libusb:1 )
dev-libs/protobuf-c:=
dev-libs/protobuf:=
- dev-python/protobuf-python[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}]
+ ')
sys-libs/ncurses:=
lm-sensors? ( sys-apps/lm-sensors )
pcre? ( dev-libs/libpcre )
@@ -64,11 +66,18 @@ DEPEND="${CDEPEND}
"
RDEPEND="${CDEPEND}
- dev-python/pyserial[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pyserial[${PYTHON_MULTI_USEDEP}]
+ ')
selinux? ( sec-policy/selinux-kismet )
"
-PDEPEND="rtlsdr? ( dev-python/numpy[${PYTHON_USEDEP}]
- net-wireless/rtl-sdr )"
+PDEPEND="
+ rtlsdr? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ net-wireless/rtl-sdr
+ )"
src_prepare() {
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild
index 2a02da5e4246..73b8a86810b3 100644
--- a/net-wireless/kismet/kismet-9999.ebuild
+++ b/net-wireless/kismet/kismet-9999.ebuild
@@ -51,7 +51,9 @@ CDEPEND="
libusb? ( virtual/libusb:1 )
dev-libs/protobuf-c:=
dev-libs/protobuf:=
- dev-python/protobuf-python[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}]
+ ')
sys-libs/ncurses:=
lm-sensors? ( sys-apps/lm-sensors )
pcre? ( dev-libs/libpcre )
@@ -64,11 +66,18 @@ DEPEND="${CDEPEND}
"
RDEPEND="${CDEPEND}
- dev-python/pyserial[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pyserial[${PYTHON_MULTI_USEDEP}]
+ ')
selinux? ( sec-policy/selinux-kismet )
"
-PDEPEND="rtlsdr? ( dev-python/numpy[${PYTHON_USEDEP}]
- net-wireless/rtl-sdr )"
+PDEPEND="
+ rtlsdr? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ net-wireless/rtl-sdr
+ )"
src_prepare() {
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \