net-wireless/kismet: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-02-07 18:47:22 +01:00
parent 981f3943ff
commit 9d34496cb2
3 changed files with 33 additions and 11 deletions

View File

@@ -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 )
"

View File

@@ -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:" \

View File

@@ -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:" \