summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-25 21:30:47 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-25 21:30:47 +0000
commitc0c9684aec2a5b5b2d7a48f9ffb1a43bcd47a36d (patch)
tree5ec9f66fe2a57daacd2811dbff9c5f1806256c38 /media-video/istanbul
parentDelete older ebuild. (diff)
downloadhistorical-c0c9684aec2a5b5b2d7a48f9ffb1a43bcd47a36d.tar.gz
historical-c0c9684aec2a5b5b2d7a48f9ffb1a43bcd47a36d.tar.bz2
historical-c0c9684aec2a5b5b2d7a48f9ffb1a43bcd47a36d.zip
Use Python 2 (bug #313991).
Package-Manager: portage-2.2.0_alpha30_p2/cvs/Linux x86_64
Diffstat (limited to 'media-video/istanbul')
-rw-r--r--media-video/istanbul/ChangeLog6
-rw-r--r--media-video/istanbul/istanbul-0.2.2.ebuild17
2 files changed, 16 insertions, 7 deletions
diff --git a/media-video/istanbul/ChangeLog b/media-video/istanbul/ChangeLog
index 12be01f75f0d..dad7ce5b75be 100644
--- a/media-video/istanbul/ChangeLog
+++ b/media-video/istanbul/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/istanbul
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/istanbul/ChangeLog,v 1.17 2011/02/23 13:15:30 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/istanbul/ChangeLog,v 1.18 2011/04/25 21:30:47 arfrever Exp $
+
+ 25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ istanbul-0.2.2.ebuild:
+ Use Python 2 (bug #313991).
23 Feb 2011; Gilles Dartiguelongue <eva@gentoo.org> -istanbul-0.2.1.ebuild:
Clean up old revision.
diff --git a/media-video/istanbul/istanbul-0.2.2.ebuild b/media-video/istanbul/istanbul-0.2.2.ebuild
index da1d6b349085..a0dd924eb60c 100644
--- a/media-video/istanbul/istanbul-0.2.2.ebuild
+++ b/media-video/istanbul/istanbul-0.2.2.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/istanbul/istanbul-0.2.2.ebuild,v 1.7 2010/06/13 19:26:42 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/istanbul/istanbul-0.2.2.ebuild,v 1.8 2011/04/25 21:30:47 arfrever Exp $
-EAPI="2"
+EAPI="3"
GCONF_DEBUG="no"
+PYTHON_DEPEND="2"
inherit eutils gnome2 python autotools
@@ -17,7 +18,6 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=media-libs/gst-plugins-base-0.10.8
- dev-lang/python
>=dev-python/pygtk-2.6
>=gnome-base/gconf-2.0
>=dev-python/gst-python-0.10.0
@@ -34,6 +34,11 @@ DEPEND="${RDEPEND}
>=dev-util/intltool-0.35.0
dev-util/pkgconfig"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
gnome2_src_prepare
@@ -62,10 +67,10 @@ src_configure() {
pkg_postinst() {
gnome2_pkg_postinst
- python_mod_optimize $(python_get_sitedir)/istanbul
+ python_mod_optimize istanbul
}
pkg_postrm() {
gnome2_pkg_postrm
- python_mod_cleanup $(python_get_sitedir)/istanbul
+ python_mod_cleanup istanbul
}