From 6a11020954a0614531881b4e260de3354986a1de Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 23 Apr 2017 22:47:26 +0200 Subject: net-wireless/uhd: [QA] Add missing python metadata variables Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- net-wireless/uhd/uhd-3.8.5.ebuild | 14 ++++++++++---- net-wireless/uhd/uhd-3.9.6.ebuild | 12 +++++++++--- 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 -- cgit v1.2.3-65-gdbad