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
commit19dcdfb0369627b3162b488bc94ef71c2375307a (patch)
tree8cbca3d1296a338bf7328b55340a0bc95366020d /media-video
parentDelete older ebuild. (diff)
downloadgentoo-2-19dcdfb0369627b3162b488bc94ef71c2375307a.tar.gz
gentoo-2-19dcdfb0369627b3162b488bc94ef71c2375307a.tar.bz2
gentoo-2-19dcdfb0369627b3162b488bc94ef71c2375307a.zip
Use Python 2 (bug #313991).
(Portage version: 2.2.0_alpha30_p2/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
-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
}