mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
urh: add live ebuild for testing
This commit is contained in:
parent
9639688bd0
commit
8c29ebf1bb
1 changed files with 46 additions and 0 deletions
46
net-wireless/urh/urh-9999.ebuild
Normal file
46
net-wireless/urh/urh-9999.ebuild
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Universal Radio Hacker: investigate wireless protocols like a boss"
|
||||
HOMEPAGE="https://github.com/jopohl/urh"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/jopohl/urh.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/jopohl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="hackrf rtlsdr uhd"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
net-wireless/gnuradio[zeromq]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyzmq[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
hackrf? ( net-libs/libhackrf:= )
|
||||
rtlsdr? ( net-wireless/rtl-sdr:= )
|
||||
uhd? ( net-wireless/uhd:= )"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},testlib]
|
||||
net-wireless/gr-osmosdr"
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=(
|
||||
$(use_with hackrf)
|
||||
$(use_with rtlsdr)
|
||||
$(use_with uhd usrp)
|
||||
--without-airspy
|
||||
--without-limesdr
|
||||
)
|
||||
}
|
||||
Loading…
Reference in a new issue