summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2017-05-22 11:48:52 -0400
committerZero_Chaos <zerochaos@gentoo.org>2017-05-22 11:49:50 -0400
commitdc13fc13c8483662f2aff39517cdf43385c30e75 (patch)
treeed210d32d5fd3f77e53afe3bb396aa0f951ddc74 /net-wireless
parentapp-portage/overlint: Add python3_6, add missed python_usedep (diff)
downloadgentoo-dc13fc13c8483662f2aff39517cdf43385c30e75.tar.gz
gentoo-dc13fc13c8483662f2aff39517cdf43385c30e75.tar.bz2
gentoo-dc13fc13c8483662f2aff39517cdf43385c30e75.zip
net-wireless/urh: bump, add support for native uhd/usrp backend
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/urh/Manifest1
-rw-r--r--net-wireless/urh/metadata.xml1
-rw-r--r--net-wireless/urh/urh-1.6.4.1.ebuild37
3 files changed, 39 insertions, 0 deletions
diff --git a/net-wireless/urh/Manifest b/net-wireless/urh/Manifest
index c5c44bc24af..daea51e99a5 100644
--- a/net-wireless/urh/Manifest
+++ b/net-wireless/urh/Manifest
@@ -1,2 +1,3 @@
DIST urh-1.5.5.tar.gz 10291006 SHA256 b7884cb57e1b40204fce011c1f652df04bff4120a57329a91144d09e30d83612 SHA512 bb4dae138042ffb53aac43368b47527909bbaad487cfb194385d7c2910f40e1f19e870d397596b87a333957ab83dc0418fba07038358519919c8ae90d6ef497b WHIRLPOOL 601a8376834fd2bee948e6b9ab0f8596a73a807e67a4a71b89553ac7e779c4ecebf57719b33c818733843f1ce0187921ec8ce55926d6253bf475da95341057fe
DIST urh-1.6.2.6.tar.gz 11690379 SHA256 e2005df4032a160bd7f484f7c7d44526480bd23fe67e76a5eb284fc99e9f8c16 SHA512 1983f827647de1ce57b8ed4e1860344955c3cba401d153150c8ee55bb424d313290e5005045f61d775cb5076d7ade9404f33a7b616ec96a091b71829f4779891 WHIRLPOOL 044f64e293a1d68536f25c6c3ed4d487b2599572e21daeaf88f21548c25a0a334868b1b181df15ccba131fb1befc174eb209c425a533f26b4a61f0ea1636e404
+DIST urh-1.6.4.1.tar.gz 14993226 SHA256 71f0e60c50f23e86629f803c1783bf4503931a231b46c55e04062f721a0b8e31 SHA512 3e7d3a770c97f4a5653524a2844721336440724611e554ba2fb33529c99abd15206a14249c27bd7a9fd21b5f5c34f2719b64477e4ebc58fa64d94e211383e8e6 WHIRLPOOL 3d38fe8dcfde00b8746e47e82bd719cf0937dbbc33de29617e8d3affce4267f044d8d0eb0967d3ddd2e53f9fe8cc5d02eff1aa97773b560b96d5e1d6adcbc0aa
diff --git a/net-wireless/urh/metadata.xml b/net-wireless/urh/metadata.xml
index 67fa06c322f..caee04cd487 100644
--- a/net-wireless/urh/metadata.xml
+++ b/net-wireless/urh/metadata.xml
@@ -14,6 +14,7 @@
<use>
<flag name="hackrf">use native backend which directly uses <pkg>net-libs/libhackrf</pkg></flag>
<flag name="rtlsdr">use native backend which directly uses <pkg>net-wireless/rtl-sdr</pkg></flag>
+ <flag name="uhd">use native backend which directly uses <pkg>net-wireless/uhd</pkg></flag>
</use>
<upstream>
<remote-id type="github">jopohl/urh</remote-id>
diff --git a/net-wireless/urh/urh-1.6.4.1.ebuild b/net-wireless/urh/urh-1.6.4.1.ebuild
new file mode 100644
index 00000000000..526a67dc694
--- /dev/null
+++ b/net-wireless/urh/urh-1.6.4.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+inherit distutils-r1 eutils
+
+DESCRIPTION="Universal Radio Hacker: investigate wireless protocols like a boss"
+HOMEPAGE="https://github.com/jopohl/urh"
+SRC_URI="https://github.com/jopohl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="hackrf rtlsdr uhd"
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pyzmq[${PYTHON_USEDEP}]
+ hackrf? ( net-libs/libhackrf:= )
+ rtlsdr? ( net-wireless/rtl-sdr:= )
+ uhd? ( net-wireless/uhd:= )"
+RDEPEND="${DEPEND}
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ net-wireless/gr-osmosdr"
+
+python_configure_all() {
+ mydistutilsargs=(
+ $(use_with hackrf)
+ $(use_with rtlsdr)
+ $(use_with uhd usrp)
+ --without-airspy
+ --without-limesdr
+ )
+}