summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-05 20:20:11 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-05 20:20:11 +0000
commit3cf59ec8a4ffb45dbd40a0fec6f4ccf8c6ffb698 (patch)
tree0c11b22c0a698b94814c84940d83a1165f02b76a /net-misc
parent[www-plugins/google-talkplugin] fixed qa (bug #361683#c2) (diff)
downloadgentoo-2-3cf59ec8a4ffb45dbd40a0fec6f4ccf8c6ffb698.tar.gz
gentoo-2-3cf59ec8a4ffb45dbd40a0fec6f4ccf8c6ffb698.tar.bz2
gentoo-2-3cf59ec8a4ffb45dbd40a0fec6f4ccf8c6ffb698.zip
Use Python 2 (bug #315845).
(Portage version: 2.2.0_alpha29_p9/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/switzerland/ChangeLog8
-rw-r--r--net-misc/switzerland/switzerland-0.0.5.ebuild15
2 files changed, 16 insertions, 7 deletions
diff --git a/net-misc/switzerland/ChangeLog b/net-misc/switzerland/ChangeLog
index d244e747e48a..ab27cf9174f4 100644
--- a/net-misc/switzerland/ChangeLog
+++ b/net-misc/switzerland/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/switzerland
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/switzerland/ChangeLog,v 1.1 2008/08/03 12:45:01 cedk Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/switzerland/ChangeLog,v 1.2 2011/04/05 20:20:11 arfrever Exp $
+
+ 05 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ switzerland-0.0.5.ebuild:
+ Use Python 2 (bug #315845).
*switzerland-0.0.5 (03 Aug 2008)
diff --git a/net-misc/switzerland/switzerland-0.0.5.ebuild b/net-misc/switzerland/switzerland-0.0.5.ebuild
index 794e5599cfbd..ef2a431ee34f 100644
--- a/net-misc/switzerland/switzerland-0.0.5.ebuild
+++ b/net-misc/switzerland/switzerland-0.0.5.ebuild
@@ -1,6 +1,9 @@
-# Copyright 1999-2008 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/switzerland/switzerland-0.0.5.ebuild,v 1.1 2008/08/03 12:45:01 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/switzerland/switzerland-0.0.5.ebuild,v 1.2 2011/04/05 20:20:11 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
inherit distutils toolchain-funcs
@@ -16,10 +19,12 @@ IUSE=""
DEPEND="net-libs/libpcap"
RDEPEND=${DEPEND}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+src_prepare() {
cp "${FILESDIR}"/Makefile switzerland/client
sed -i \