net-wireless/uhd: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 20:47:26 +0000 (22:47 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 21:00:47 +0000 (23:00 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

net-wireless/uhd/uhd-3.8.5.ebuild
net-wireless/uhd/uhd-3.9.6.ebuild

index 5fd1110f2b5494eee0bb72bdf177b564cff0b6c1..abd8eb480267730709ce7ae2f89fb7b6f62ede88 100644 (file)
@@ -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
 
index 7ad7928d4f2a18ff63df74dc4ae7909fa5732520..e1278ff8082ca1f2729483c6114c1f11e42069e0 100644 (file)
@@ -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