Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/kvirc/
Date: Fri, 27 Jan 2017 17:34:47
Message-Id: 1485538434.b085603089d3f48ec7c44060ab99c4a9a69ab816.floppym@gentoo
1 commit: b085603089d3f48ec7c44060ab99c4a9a69ab816
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Fri Jan 27 17:20:16 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 27 17:33:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0856030
7
8 net-irc/kvirc: Migrate to python-single-r1.eclass.
9
10 net-irc/kvirc/kvirc-9999.ebuild | 12 ++++++------
11 1 file changed, 6 insertions(+), 6 deletions(-)
12
13 diff --git a/net-irc/kvirc/kvirc-9999.ebuild b/net-irc/kvirc/kvirc-9999.ebuild
14 index e9f2fde..0ee1719 100644
15 --- a/net-irc/kvirc/kvirc-9999.ebuild
16 +++ b/net-irc/kvirc/kvirc-9999.ebuild
17 @@ -1,11 +1,11 @@
18 -# Copyright 1999-2016 Gentoo Foundation
19 +# Copyright 1999-2017 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21 # $Id$
22
23 EAPI="5"
24 -PYTHON_DEPEND="python? 2"
25 +PYTHON_COMPAT=(python2_7)
26
27 -inherit cmake-utils flag-o-matic multilib python
28 +inherit cmake-utils flag-o-matic multilib python-single-r1
29
30 if [[ "${PV}" == "9999" ]]; then
31 inherit git-r3
32 @@ -58,6 +58,7 @@ RDEPEND="dev-qt/qtcore:5
33 )
34 perl? ( dev-lang/perl:0= )
35 phonon? ( media-libs/phonon:0[qt5] )
36 + python? ( ${PYTHON_DEPS} )
37 spell? ( app-text/enchant )
38 ssl? ( dev-libs/openssl:0= )
39 theora? (
40 @@ -74,14 +75,13 @@ DEPEND="${RDEPEND}
41 nls? ( sys-devel/gettext )"
42 RDEPEND="${RDEPEND}
43 gsm? ( media-sound/gsm )"
44 -REQUIRED_USE="audiofile? ( oss )"
45 +REQUIRED_USE="audiofile? ( oss ) python? ( ${PYTHON_REQUIRED_USE} )"
46
47 DOCS=(ChangeLog doc/FAQ)
48
49 pkg_setup() {
50 if use python; then
51 - python_set_active_version 2
52 - python_pkg_setup
53 + python-single-r1_pkg_setup
54 fi
55 }