Gentoo Archives: gentoo-dev

From: "M. J. Everitt" <m.j.everitt@×××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-air-modes/
Date: Mon, 20 Feb 2017 18:27:37
Message-Id: d5587a07-ca04-bc88-80ca-0984e2f354f8@iee.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-air-modes/ by "Robin H. Johnson"
1 On 20/02/17 18:09, Robin H. Johnson wrote:
2 > * ERROR: net-wireless/gr-air-modes-9999::gentoo failed (depend phase):
3 > * PYTHON_COMPAT not declared.
4 >
5 > On Mon, Feb 20, 2017 at 05:43:10PM +0000, Michał Górny wrote:
6 >> commit: 5458c6d9da6bbb3b4009a4ff9d9ab17737d07849
7 >> Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
8 >> AuthorDate: Mon Feb 20 16:43:24 2017 +0000
9 >> Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
10 >> CommitDate: Mon Feb 20 17:43:03 2017 +0000
11 >> URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5458c6d9
12 >>
13 >> net-wireless/gr-air-modes: python-single-r1
14 >>
15 >> net-wireless/gr-air-modes/gr-air-modes-9999.ebuild | 16 +++++++---------
16 >> 1 file changed, 7 insertions(+), 9 deletions(-)
17 >>
18 >> diff --git a/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
19 >> index 130d60dfad..6b9482d54e 100644
20 >> --- a/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
21 >> +++ b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
22 >> @@ -1,9 +1,9 @@
23 >> -# Copyright 1999-2016 Gentoo Foundation
24 >> +# Copyright 1999-2017 Gentoo Foundation
25 >> # Distributed under the terms of the GNU General Public License v2
26 >> # $Header: $
27 >>
28 >> EAPI=5
29 >> -inherit python cmake-utils git-2
30 >> +inherit python-single-r1 cmake-utils git-2
31 >>
32 >> DESCRIPTION="This module implements a complete Mode S and ADS-B receiver for Gnuradio"
33 >> HOMEPAGE="https://www.cgran.org/wiki/gr-air-modes"
34 >> @@ -18,18 +18,16 @@ SLOT="0"
35 >> IUSE="rtlsdr fgfs +gui uhd"
36 >> DEPEND=">=net-wireless/gnuradio-3.7.0:=
37 >> net-wireless/gr-osmosdr
38 >> - dev-python/pyzmq
39 >> + dev-python/pyzmq[${PYTHON_USEDEP}]
40 >> fgfs? ( sci-libs/scipy
41 >> games-simulation/flightgear )
42 >> rtlsdr? ( net-wireless/rtl-sdr )
43 >> uhd? ( >=net-wireless/uhd-3.4.0 )
44 >> - gui? ( dev-python/pyqwt )"
45 >> + gui? ( dev-python/pyqwt[${PYTHON_USEDEP}] )
46 >> + ${PYTHON_DEPS}"
47 >> RDEPEND="${DEPEND}"
48 >>
49 >> -pkg_setup() {
50 >> - python_set_active_version 2
51 >> - python_pkg_setup
52 >> -}
53 >> +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
54 >>
55 >> src_compile() {
56 >> cmake-utils_src_compile -j1
57 >> @@ -37,5 +35,5 @@ src_compile() {
58 >>
59 >> src_install() {
60 >> cmake-utils_src_install
61 >> - python_convert_shebangs 2 "${ED}"usr/bin/*
62 >> + python_fix_shebang "${ED}"usr/bin
63 >> }
64 >>
65 Nice .. esp. coming from a QA dev ...

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies