* [gentoo-commits] gentoo-x86 commit in net-misc/switzerland: switzerland-0.0.5.ebuild ChangeLog
@ 2011-04-05 20:20 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2011-04-05 20:20 UTC (permalink / raw
To: gentoo-commits
arfrever 11/04/05 20:20:11
Modified: switzerland-0.0.5.ebuild ChangeLog
Log:
Use Python 2 (bug #315845).
(Portage version: 2.2.0_alpha29_p9/cvs/Linux x86_64)
Revision Changes Path
1.2 net-misc/switzerland/switzerland-0.0.5.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/switzerland/switzerland-0.0.5.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/switzerland/switzerland-0.0.5.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/switzerland/switzerland-0.0.5.ebuild?r1=1.1&r2=1.2
Index: switzerland-0.0.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/switzerland/switzerland-0.0.5.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- switzerland-0.0.5.ebuild 3 Aug 2008 12:45:01 -0000 1.1
+++ switzerland-0.0.5.ebuild 5 Apr 2011 20:20:11 -0000 1.2
@@ -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 @@
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 \
1.2 net-misc/switzerland/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/switzerland/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/switzerland/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/switzerland/ChangeLog?r1=1.1&r2=1.2
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/switzerland/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog 3 Aug 2008 12:45:01 -0000 1.1
+++ ChangeLog 5 Apr 2011 20:20:11 -0000 1.2
@@ -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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-05 20:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 20:20 [gentoo-commits] gentoo-x86 commit in net-misc/switzerland: switzerland-0.0.5.ebuild ChangeLog Arfrever Frehtes Taifersar Arahesis (arfrever)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox