net-wireless/urh: version bump and no more automagic deps, thanks upstream :-)
authorZero_Chaos <zerochaos@gentoo.org>
Thu, 2 Mar 2017 19:24:05 +0000 (14:24 -0500)
committerZero_Chaos <zerochaos@gentoo.org>
Thu, 2 Mar 2017 20:16:21 +0000 (15:16 -0500)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-wireless/urh/Manifest
net-wireless/urh/metadata.xml
net-wireless/urh/urh-1.5.5.ebuild [moved from net-wireless/urh/urh-1.5.2-r1.ebuild with 74% similarity]

index 8f9bba4b4fde4fc508294f7a872c7ef1c0ebc9d1..633a3f05a414ff71a7684df41d442e19caad774a 100644 (file)
@@ -1 +1 @@
-DIST urh-1.5.2.tar.gz 10288709 SHA256 25e8d4bcabcb165291c3f8c933f2eb566f5dbb4a68bafe3ef9e7db2ff171cb7b SHA512 adceff382495df01470225b600c8b05912ad1796baeaaae4991eea8fc033bae8732e956facdcb80a0d8c9d8c13f8e5989a907700a894b0196d06195ac7259c84 WHIRLPOOL 8819d5c6c859a7ccf85caeb598931cb6da3a5b64ab924dbfc3036b099d91ba422378f096a3c84617a2bcdb672004af11253489489e1e2d7b1e5768fcb9e69bbf
+DIST urh-1.5.5.tar.gz 10291006 SHA256 b7884cb57e1b40204fce011c1f652df04bff4120a57329a91144d09e30d83612 SHA512 bb4dae138042ffb53aac43368b47527909bbaad487cfb194385d7c2910f40e1f19e870d397596b87a333957ab83dc0418fba07038358519919c8ae90d6ef497b WHIRLPOOL 601a8376834fd2bee948e6b9ab0f8596a73a807e67a4a71b89553ac7e779c4ecebf57719b33c818733843f1ce0187921ec8ce55926d6253bf475da95341057fe
index 54556ed6cd12d519f8f88e35b9879377b708d087..67fa06c322ff0528b92b1afeef2900b7f6093ffb 100644 (file)
        </maintainer>
        <longdescription lang="en">
 </longdescription>
+       <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>
+       </use>
        <upstream>
                <remote-id type="github">jopohl/urh</remote-id>
        </upstream>
similarity index 74%
rename from net-wireless/urh/urh-1.5.2-r1.ebuild
rename to net-wireless/urh/urh-1.5.5.ebuild
index a20cf22c1665b83a7a2e08e6624ad962b1291d11..27b0f19a2c8cd871346b1b104cc390c110e0c97d 100644 (file)
@@ -5,7 +5,7 @@
 EAPI=6
 
 PYTHON_COMPAT=( python{3_4,3_5} )
-inherit distutils-r1
+inherit distutils-r1 eutils
 
 DESCRIPTION="Universal Radio Hacker: investigate wireless protocols like a boss"
 HOMEPAGE="https://github.com/jopohl/urh"
@@ -14,14 +14,21 @@ 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=""
+IUSE="hackrf rtlsdr"
 
 DEPEND="${PYTHON_DEPS}
                dev-python/numpy[${PYTHON_USEDEP}]
                dev-python/psutil[${PYTHON_USEDEP}]
                dev-python/pyzmq[${PYTHON_USEDEP}]
-               net-libs/libhackrf
-               net-wireless/rtl-sdr"
+               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)
+                       )
+}