summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-05 18:08:43 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-05 18:08:43 +0000
commit70e15b2c5efef22407013abc85f22c7e09ef7c98 (patch)
tree2912fa70a33fd1d6c45471381b40c93486d16a89 /net-misc/cnetworkmanager
parentDelete older ebuild. (diff)
downloadgentoo-2-70e15b2c5efef22407013abc85f22c7e09ef7c98.tar.gz
gentoo-2-70e15b2c5efef22407013abc85f22c7e09ef7c98.tar.bz2
gentoo-2-70e15b2c5efef22407013abc85f22c7e09ef7c98.zip
Use Python 2 (bug #315821).
(Portage version: 2.2.0_alpha29_p9/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/cnetworkmanager')
-rw-r--r--net-misc/cnetworkmanager/ChangeLog8
-rw-r--r--net-misc/cnetworkmanager/cnetworkmanager-0.21.1.ebuild17
2 files changed, 18 insertions, 7 deletions
diff --git a/net-misc/cnetworkmanager/ChangeLog b/net-misc/cnetworkmanager/ChangeLog
index 27fb819f47ff..bfca1b0a9f95 100644
--- a/net-misc/cnetworkmanager/ChangeLog
+++ b/net-misc/cnetworkmanager/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/cnetworkmanager
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cnetworkmanager/ChangeLog,v 1.4 2010/02/08 08:52:25 pva Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cnetworkmanager/ChangeLog,v 1.5 2011/04/05 18:08:43 arfrever Exp $
+
+ 05 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ cnetworkmanager-0.21.1.ebuild:
+ Use Python 2 (bug #315821).
08 Feb 2010; Peter Volkov <pva@gentoo.org> cnetworkmanager-0.21-r1.ebuild:
Add inherit eutils for epatch.
diff --git a/net-misc/cnetworkmanager/cnetworkmanager-0.21.1.ebuild b/net-misc/cnetworkmanager/cnetworkmanager-0.21.1.ebuild
index 98b411372a1c..e42a9c98376a 100644
--- a/net-misc/cnetworkmanager/cnetworkmanager-0.21.1.ebuild
+++ b/net-misc/cnetworkmanager/cnetworkmanager-0.21.1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cnetworkmanager/cnetworkmanager-0.21.1.ebuild,v 1.1 2010/01/28 15:43:18 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cnetworkmanager/cnetworkmanager-0.21.1.ebuild,v 1.2 2011/04/05 18:08:43 arfrever Exp $
-EAPI=2
+EAPI=3
+PYTHON_DEPEND="2:2.5"
inherit distutils
@@ -14,9 +15,15 @@ SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
IUSE=""
-RDEPEND=">=dev-lang/python-2.5
- >=dev-python/dbus-python-0.80.2
+RDEPEND=">=dev-python/dbus-python-0.80.2
>=dev-python/pygobject-2.14.0
>=net-misc/networkmanager-0.7.0"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+
+PYTHON_MODNAME="dbusclient networkmanager"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}