summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-04-23 22:47:26 +0200
committerDavid Seifert <soap@gentoo.org>2017-04-23 23:00:47 +0200
commit6a11020954a0614531881b4e260de3354986a1de (patch)
treedbf1ebd4b962433b31cf041d49417b638dbea519 /net-wireless
parentnet-wireless/multimode: [QA] Add missing python metadata variables (diff)
downloadgentoo-6a11020954a0614531881b4e260de3354986a1de.tar.gz
gentoo-6a11020954a0614531881b4e260de3354986a1de.tar.bz2
gentoo-6a11020954a0614531881b4e260de3354986a1de.zip
net-wireless/uhd: [QA] Add missing python metadata variables
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/uhd/uhd-3.8.5.ebuild14
-rw-r--r--net-wireless/uhd/uhd-3.9.6.ebuild12
2 files changed, 19 insertions, 7 deletions
diff --git a/net-wireless/uhd/uhd-3.8.5.ebuild b/net-wireless/uhd/uhd-3.8.5.ebuild
index 5fd1110f2b54..abd8eb480267 100644
--- a/net-wireless/uhd/uhd-3.8.5.ebuild
+++ b/net-wireless/uhd/uhd-3.8.5.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
+
PYTHON_COMPAT=( python2_7 )
+
inherit versionator python-single-r1 gnome2-utils cmake-utils multilib
DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver"
@@ -13,13 +15,15 @@ SRC_URI="https://github.com/EttusResearch/uhd/archive/release_00$(get_version_co
http://files.ettus.com/binaries/images/${image_version}.zip"
#https://github.com/EttusResearch/UHD-Mirror/tags
#http://files.ettus.com/binaries/images/
-KEYWORDS="~amd64 ~arm ~x86"
-S="${WORKDIR}"/uhd-release_00$(get_version_component_range 1)_00$(get_version_component_range 2)_00$(get_version_component_range 3)/host
LICENSE="GPL-3"
SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
-RDEPEND="virtual/libusb:1
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ virtual/libusb:1
dev-lang/orc
dev-libs/boost:=
sys-libs/ncurses:0
@@ -28,6 +32,8 @@ DEPEND="${RDEPEND}
dev-python/cheetah
app-arch/unzip"
+S="${WORKDIR}"/uhd-release_00$(get_version_component_range 1)_00$(get_version_component_range 2)_00$(get_version_component_range 3)/host
+
src_prepare() {
gnome2_environment_reset #534582
diff --git a/net-wireless/uhd/uhd-3.9.6.ebuild b/net-wireless/uhd/uhd-3.9.6.ebuild
index 7ad7928d4f2a..e1278ff8082c 100644
--- a/net-wireless/uhd/uhd-3.9.6.ebuild
+++ b/net-wireless/uhd/uhd-3.9.6.ebuild
@@ -2,7 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
+
PYTHON_COMPAT=( python2_7 )
+
inherit versionator python-single-r1 gnome2-utils cmake-utils multilib
DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver"
@@ -13,13 +15,15 @@ SRC_URI="https://github.com/EttusResearch/uhd/archive/release_00$(get_version_co
http://files.ettus.com/binaries/images/${image_version}.zip"
#https://github.com/EttusResearch/UHD-Mirror/tags
#http://files.ettus.com/binaries/images/
-KEYWORDS="~amd64 ~arm ~x86"
-S="${WORKDIR}"/uhd-release_00$(get_version_component_range 1)_00$(get_version_component_range 2)_00$(get_version_component_range 3)/host
LICENSE="GPL-3"
SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
-RDEPEND="virtual/libusb:1
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ virtual/libusb:1
dev-lang/orc
dev-libs/boost:=
sys-libs/ncurses:0
@@ -29,6 +33,8 @@ DEPEND="${RDEPEND}
dev-python/cheetah
app-arch/unzip"
+S="${WORKDIR}"/uhd-release_00$(get_version_component_range 1)_00$(get_version_component_range 2)_00$(get_version_component_range 3)/host
+
src_prepare() {
gnome2_environment_reset #534582