diff options
author | 2011-04-05 20:20:11 +0000 | |
---|---|---|
committer | 2011-04-05 20:20:11 +0000 | |
commit | 3cf59ec8a4ffb45dbd40a0fec6f4ccf8c6ffb698 (patch) | |
tree | 0c11b22c0a698b94814c84940d83a1165f02b76a /net-misc/switzerland/switzerland-0.0.5.ebuild | |
parent | [www-plugins/google-talkplugin] fixed qa (bug #361683#c2) (diff) | |
download | gentoo-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/switzerland/switzerland-0.0.5.ebuild')
-rw-r--r-- | net-misc/switzerland/switzerland-0.0.5.ebuild | 15 |
1 files changed, 10 insertions, 5 deletions
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 \ |