diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-03-27 15:26:00 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-03-27 15:26:00 +0000 |
commit | a727e00897d62bc80f61f3e92e7033d146bf901a (patch) | |
tree | 6e2059c0bfc6c298ace4ba45d709978278e2b18d /dev-libs/zziplib/zziplib-0.13.60-r1.ebuild | |
parent | vmware workstation version bump (diff) | |
download | gentoo-2-a727e00897d62bc80f61f3e92e7033d146bf901a.tar.gz gentoo-2-a727e00897d62bc80f61f3e92e7033d146bf901a.tar.bz2 gentoo-2-a727e00897d62bc80f61f3e92e7033d146bf901a.zip |
Use Python 2 (bug #312207).
(Portage version: 2.2.0_alpha28_p36/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/zziplib/zziplib-0.13.60-r1.ebuild')
-rw-r--r-- | dev-libs/zziplib/zziplib-0.13.60-r1.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/dev-libs/zziplib/zziplib-0.13.60-r1.ebuild b/dev-libs/zziplib/zziplib-0.13.60-r1.ebuild index 09d7a37c18ee..5c3eec371d53 100644 --- a/dev-libs/zziplib/zziplib-0.13.60-r1.ebuild +++ b/dev-libs/zziplib/zziplib-0.13.60-r1.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/zziplib-0.13.60-r1.ebuild,v 1.2 2011/02/10 02:21:26 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/zziplib-0.13.60-r1.ebuild,v 1.3 2011/03/27 15:26:00 arfrever Exp $ EAPI="2" +# PYTHON_BDEPEND="2" -inherit libtool eutils flag-o-matic +inherit libtool eutils flag-o-matic python DESCRIPTION="Lightweight library used to easily extract data from files archived in a single zip file" HOMEPAGE="http://zziplib.sourceforge.net/" @@ -18,10 +19,15 @@ IUSE="doc sdl static-libs test" RDEPEND="sys-libs/zlib sdl? ( >=media-libs/libsdl-1.2.6 )" DEPEND="${RDEPEND} - >=dev-lang/python-2.4 + =dev-lang/python-2* dev-util/pkgconfig test? ( app-arch/zip )" +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_prepare() { epatch "${FILESDIR}"/${PN}-0.13.49-SDL-test.patch epatch "${FILESDIR}"/${PN}-0.13.60-ldflags.patch #354051 |