Skip to content

Commit

Permalink
net-wireless/urh: bump, add support for native uhd/usrp backend
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
ZeroChaos- committed May 22, 2017
1 parent 42a5514 commit dc13fc1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-wireless/urh/Manifest
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions net-wireless/urh/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
37 changes: 37 additions & 0 deletions net-wireless/urh/urh-1.6.4.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
)
}

0 comments on commit dc13fc1

Please sign in to comment.