net-wireless/gr-baz: EAPI-7 bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 1 Jan 2019 00:08:47 +0000 (01:08 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 7 Jan 2019 22:59:54 +0000 (23:59 +0100)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
net-wireless/gr-baz/gr-baz-9999.ebuild

index 96b816847e01c5cde0a8adad274740dcda2c8c63..e43cd434a9af83f08ca5ea769f75ab611dfc3d2d 100644 (file)
@@ -1,35 +1,41 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit cmake-utils git-r3 python-single-r1
+if [[ ${PV} == 9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/balint256/gr-baz.git"
+else
+       KEYWORDS=""
+fi
+inherit cmake-utils python-single-r1
 
 DESCRIPTION="Gnuradio baz"
-HOMEPAGE="http://wiki.spench.net/wiki/Gr-baz"
-EGIT_REPO_URI="https://github.com/balint256/gr-baz.git"
+HOMEPAGE="https://wiki.spench.net/wiki/Gr-baz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
 IUSE="armadillo doc rtlsdr uhd"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-RDEPEND="dev-libs/boost[threads,${PYTHON_USEDEP}]
+RDEPEND="${PYTHON_DEPS}
+       dev-libs/boost:=[threads,${PYTHON_USEDEP}]
        >=net-wireless/gnuradio-3.7.0:=[${PYTHON_USEDEP}]
        armadillo? ( sci-libs/armadillo )
        rtlsdr? ( virtual/libusb:1 )
        uhd? ( net-wireless/uhd[${PYTHON_USEDEP}] )
-       ${PYTHON_DEPS}"
+"
 DEPEND="${RDEPEND}
+       virtual/pkgconfig
        doc? ( app-doc/doxygen )
-       virtual/pkgconfig"
+"
 
 src_configure() {
-       mycmakeargs=(
+       local mycmakeargs=(
                -DPYTHON_EXECUTABLE="${PYTHON}"
        )
        cmake-utils_src_configure