summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/urh')
-rw-r--r--net-wireless/urh/Manifest1
-rw-r--r--net-wireless/urh/urh-1.6.2.6.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/net-wireless/urh/Manifest b/net-wireless/urh/Manifest
index 633a3f05a414..c5c44bc24af7 100644
--- a/net-wireless/urh/Manifest
+++ b/net-wireless/urh/Manifest
@@ -1 +1,2 @@
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
diff --git a/net-wireless/urh/urh-1.6.2.6.ebuild b/net-wireless/urh/urh-1.6.2.6.ebuild
new file mode 100644
index 000000000000..ea9cce67800f
--- /dev/null
+++ b/net-wireless/urh/urh-1.6.2.6.ebuild
@@ -0,0 +1,35 @@
+# 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"
+
+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 )"
+RDEPEND="${DEPEND}
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ net-wireless/gr-osmosdr"
+
+python_configure_all() {
+ mydistutilsargs=(
+ $(use_with hackrf)
+ $(use_with rtlsdr)
+ --without-airspy
+ --without-limesdr
+ )
+}