From dc13fc13c8483662f2aff39517cdf43385c30e75 Mon Sep 17 00:00:00 2001 From: Zero_Chaos <zerochaos@gentoo.org> Date: Mon, 22 May 2017 11:48:52 -0400 Subject: net-wireless/urh: bump, add support for native uhd/usrp backend Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- net-wireless/urh/Manifest | 1 + net-wireless/urh/metadata.xml | 1 + net-wireless/urh/urh-1.6.4.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 net-wireless/urh/urh-1.6.4.1.ebuild (limited to 'net-wireless') diff --git a/net-wireless/urh/Manifest b/net-wireless/urh/Manifest index c5c44bc24af7..daea51e99a5f 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 67fa06c322ff..caee04cd4878 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 000000000000..526a67dc694f --- /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 + ) +} -- cgit v1.2.3-65-gdbad