killerbee: migrate to PYTHON_MULTI_USEDEP

This commit is contained in:
Yury Martynov 2020-02-12 21:14:01 +03:00
parent 459ad8883e
commit 2e888e3dae
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
3 changed files with 21 additions and 10 deletions

View file

@ -1,2 +1 @@
DIST killerbee-2.6.1_pre20180626.tar.gz 1471987 BLAKE2B 7c4bff358ce8d61f90b6781b7773a5d574062595d774e35f7461e75e5ea4df27af94e1bc89484375aa91a1809034f6969034d2baaf9b147fb1e6b476f2d55703 SHA512 fe603ee8666659f963757e9eb1e9dde25db6723cc087cbb2656b37ce82e6bee081f48c83b590ca7ed2fe464b48c134b81048e52e6f087d0f5b7bb23a824dcb3f
DIST killerbee-2.7.0_pre20190218.tar.gz 1578316 BLAKE2B 4456466174e2d1ec7fc46d3ef2f8f2ccc491e67acbcc5d8db32cc3bb4c9cf1b305af910cff88d9c6d85f5da946cba43423218416c43a5a248df33fe904765288 SHA512 23c5a3f0726ef475ee56247bc08a2695397488bf099f67d52a4664118cf24877ef754dd38c3017267b23278ca39e76cc35a284db5cf66806cabe6a46f956b84b

View file

@ -1,7 +1,8 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL=1
@ -27,15 +28,18 @@ SLOT="0"
IUSE="doc"
#FIXME: https://bitbucket.org/secdev/scapy-com
DEPEND=""
RDEPEND="python_gen_cond_dep 'dev-python/pyserial[${PYTHON_MULTI_USEDEP}]
dev-python/pyusb[${PYTHON_MULTI_USEDEP}]
dev-python/pycryptodome[${PYTHON_MULTI_USEDEP}]
dev-python/pygtk[${PYTHON_MULTI_USEDEP}]
dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
dev-python/rangeparser[${PYTHON_MULTI_USEDEP}]')
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-libs/libgcrypt:=
>=net-analyzer/scapy-2.4.0_p20180626"
>=net-analyzer/scapy-2.4.0_p20180626
$(python_gen_cond_dep '
dev-python/pyserial[${PYTHON_MULTI_USEDEP}]
dev-python/pyusb[${PYTHON_MULTI_USEDEP}]
dev-python/pycryptodome[${PYTHON_MULTI_USEDEP}]
dev-python/pygtk[${PYTHON_MULTI_USEDEP}]
dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
dev-python/rangeparser[${PYTHON_MULTI_USEDEP}]
')"
python_install_all() {
distutils-r1_python_install_all

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>