Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-air-modes/
Date: Mon, 20 Feb 2017 18:09:46
Message-Id: robbat2-20170220T180910-479236042Z@orbis-terrarum.net
1 * ERROR: net-wireless/gr-air-modes-9999::gentoo failed (depend phase):
2 * PYTHON_COMPAT not declared.
3
4 On Mon, Feb 20, 2017 at 05:43:10PM +0000, Michał Górny wrote:
5 > commit: 5458c6d9da6bbb3b4009a4ff9d9ab17737d07849
6 > Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
7 > AuthorDate: Mon Feb 20 16:43:24 2017 +0000
8 > Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
9 > CommitDate: Mon Feb 20 17:43:03 2017 +0000
10 > URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5458c6d9
11 >
12 > net-wireless/gr-air-modes: python-single-r1
13 >
14 > net-wireless/gr-air-modes/gr-air-modes-9999.ebuild | 16 +++++++---------
15 > 1 file changed, 7 insertions(+), 9 deletions(-)
16 >
17 > diff --git a/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
18 > index 130d60dfad..6b9482d54e 100644
19 > --- a/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
20 > +++ b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
21 > @@ -1,9 +1,9 @@
22 > -# Copyright 1999-2016 Gentoo Foundation
23 > +# Copyright 1999-2017 Gentoo Foundation
24 > # Distributed under the terms of the GNU General Public License v2
25 > # $Header: $
26 >
27 > EAPI=5
28 > -inherit python cmake-utils git-2
29 > +inherit python-single-r1 cmake-utils git-2
30 >
31 > DESCRIPTION="This module implements a complete Mode S and ADS-B receiver for Gnuradio"
32 > HOMEPAGE="https://www.cgran.org/wiki/gr-air-modes"
33 > @@ -18,18 +18,16 @@ SLOT="0"
34 > IUSE="rtlsdr fgfs +gui uhd"
35 > DEPEND=">=net-wireless/gnuradio-3.7.0:=
36 > net-wireless/gr-osmosdr
37 > - dev-python/pyzmq
38 > + dev-python/pyzmq[${PYTHON_USEDEP}]
39 > fgfs? ( sci-libs/scipy
40 > games-simulation/flightgear )
41 > rtlsdr? ( net-wireless/rtl-sdr )
42 > uhd? ( >=net-wireless/uhd-3.4.0 )
43 > - gui? ( dev-python/pyqwt )"
44 > + gui? ( dev-python/pyqwt[${PYTHON_USEDEP}] )
45 > + ${PYTHON_DEPS}"
46 > RDEPEND="${DEPEND}"
47 >
48 > -pkg_setup() {
49 > - python_set_active_version 2
50 > - python_pkg_setup
51 > -}
52 > +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 >
54 > src_compile() {
55 > cmake-utils_src_compile -j1
56 > @@ -37,5 +35,5 @@ src_compile() {
57 >
58 > src_install() {
59 > cmake-utils_src_install
60 > - python_convert_shebangs 2 "${ED}"usr/bin/*
61 > + python_fix_shebang "${ED}"usr/bin
62 > }
63 >
64
65 --
66 Robin Hugh Johnson
67 Gentoo Linux: Dev, Infra Lead, Foundation Trustee & Treasurer
68 E-Mail : robbat2@g.o
69 GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
70 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136

Replies