summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-27 15:26:00 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-27 15:26:00 +0000
commita727e00897d62bc80f61f3e92e7033d146bf901a (patch)
tree6e2059c0bfc6c298ace4ba45d709978278e2b18d /dev-libs/zziplib
parentvmware workstation version bump (diff)
downloadgentoo-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')
-rw-r--r--dev-libs/zziplib/ChangeLog6
-rw-r--r--dev-libs/zziplib/zziplib-0.13.60-r1.ebuild12
2 files changed, 14 insertions, 4 deletions
diff --git a/dev-libs/zziplib/ChangeLog b/dev-libs/zziplib/ChangeLog
index 0464ed5b0a70..2eb3863e26a4 100644
--- a/dev-libs/zziplib/ChangeLog
+++ b/dev-libs/zziplib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/zziplib
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.97 2011/03/20 18:27:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.98 2011/03/27 15:26:00 arfrever Exp $
+
+ 27 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ zziplib-0.13.60-r1.ebuild:
+ Use Python 2 (bug #312207).
20 Mar 2011; Mike Frysinger <vapier@gentoo.org>
files/zziplib-0.13.60-ldflags.patch:
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