summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-01-27 18:20:16 +0100
committerMike Gilbert <floppym@gentoo.org>2017-01-27 12:33:54 -0500
commitb085603089d3f48ec7c44060ab99c4a9a69ab816 (patch)
tree799136be5441256bbfeee17442b2954ba2984fd4 /net-irc/kvirc
parentnet-libs/neon: Version bump (0.30.2). (diff)
downloadgentoo-b085603089d3f48ec7c44060ab99c4a9a69ab816.tar.gz
gentoo-b085603089d3f48ec7c44060ab99c4a9a69ab816.tar.bz2
gentoo-b085603089d3f48ec7c44060ab99c4a9a69ab816.zip
net-irc/kvirc: Migrate to python-single-r1.eclass.
Diffstat (limited to 'net-irc/kvirc')
-rw-r--r--net-irc/kvirc/kvirc-9999.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/net-irc/kvirc/kvirc-9999.ebuild b/net-irc/kvirc/kvirc-9999.ebuild
index e9f2fdefc083..0ee171940df9 100644
--- a/net-irc/kvirc/kvirc-9999.ebuild
+++ b/net-irc/kvirc/kvirc-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
-PYTHON_DEPEND="python? 2"
+PYTHON_COMPAT=(python2_7)
-inherit cmake-utils flag-o-matic multilib python
+inherit cmake-utils flag-o-matic multilib python-single-r1
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
@@ -58,6 +58,7 @@ RDEPEND="dev-qt/qtcore:5
)
perl? ( dev-lang/perl:0= )
phonon? ( media-libs/phonon:0[qt5] )
+ python? ( ${PYTHON_DEPS} )
spell? ( app-text/enchant )
ssl? ( dev-libs/openssl:0= )
theora? (
@@ -74,14 +75,13 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
RDEPEND="${RDEPEND}
gsm? ( media-sound/gsm )"
-REQUIRED_USE="audiofile? ( oss )"
+REQUIRED_USE="audiofile? ( oss ) python? ( ${PYTHON_REQUIRED_USE} )"
DOCS=(ChangeLog doc/FAQ)
pkg_setup() {
if use python; then
- python_set_active_version 2
- python_pkg_setup
+ python-single-r1_pkg_setup
fi
}