From 027d30416d355a80e1128e6d78ce13ba087af2e4 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Thu, 14 May 2009 07:17:13 +0000 Subject: Revision bump to correctly handle bytecompiling and autotools. (Portage version: 2.1.6.13/cvs/Linux x86_64) --- dev-python/gst-python/ChangeLog | 8 +++- dev-python/gst-python/gst-python-0.10.15-r1.ebuild | 50 +++++++++++++++++++++ dev-python/gst-python/gst-python-0.10.15.ebuild | 51 ---------------------- 3 files changed, 57 insertions(+), 52 deletions(-) create mode 100644 dev-python/gst-python/gst-python-0.10.15-r1.ebuild delete mode 100644 dev-python/gst-python/gst-python-0.10.15.ebuild (limited to 'dev-python/gst-python') diff --git a/dev-python/gst-python/ChangeLog b/dev-python/gst-python/ChangeLog index a48671de0da3..be4958c70a41 100644 --- a/dev-python/gst-python/ChangeLog +++ b/dev-python/gst-python/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/gst-python # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/ChangeLog,v 1.49 2009/05/13 15:46:37 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/ChangeLog,v 1.50 2009/05/14 07:17:13 ssuominen Exp $ + +*gst-python-0.10.15-r1 (14 May 2009) + + 14 May 2009; Samuli Suominen + -gst-python-0.10.15.ebuild, +gst-python-0.10.15-r1.ebuild: + Revision bump to correctly handle bytecompiling and autotools. *gst-python-0.10.15 (13 May 2009) diff --git a/dev-python/gst-python/gst-python-0.10.15-r1.ebuild b/dev-python/gst-python/gst-python-0.10.15-r1.ebuild new file mode 100644 index 000000000000..6fc0ca91be9e --- /dev/null +++ b/dev-python/gst-python/gst-python-0.10.15-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.10.15-r1.ebuild,v 1.1 2009/05/14 07:17:13 ssuominen Exp $ + +EAPI=2 +NEED_PYTHON=2.4 +inherit autotools eutils multilib python + +DESCRIPTION="A Python Interface to GStreamer" +HOMEPAGE="http://gstreamer.freedesktop.org" +SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0.10" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +RDEPEND="|| ( >=dev-python/pygobject-2.11.2 >=dev-python/pygtk-2.6.3 ) + >=media-libs/gstreamer-0.10.23 + >=media-libs/gst-plugins-base-0.10.23 + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.10.9-lazy.patch + rm -f py-compile + ln -s $(type -P true) py-compile + AT_M4DIR="common/m4" eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README TODO + + if use examples; then + docinto examples + dodoc examples/* + fi +} + +pkg_postinst() { + python_version + python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pygst.py + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gst-0.10 +} + +pkg_postrm() { + python_mod_cleanup +} diff --git a/dev-python/gst-python/gst-python-0.10.15.ebuild b/dev-python/gst-python/gst-python-0.10.15.ebuild deleted file mode 100644 index fe2920df11bf..000000000000 --- a/dev-python/gst-python/gst-python-0.10.15.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.10.15.ebuild,v 1.1 2009/05/13 15:46:37 tester Exp $ - -NEED_PYTHON=2.4 - -inherit autotools eutils multilib python - -DESCRIPTION="A Python Interface to GStreamer" -HOMEPAGE="http://gstreamer.freedesktop.org" -SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2" - -LICENSE="LGPL-2" -SLOT="0.10" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="examples" - -RDEPEND="|| ( >=dev-python/pygobject-2.11.2 >=dev-python/pygtk-2.6.3 ) - >=media-libs/gstreamer-0.10.23 - >=media-libs/gst-plugins-base-0.10.23 - dev-libs/libxml2" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-0.10.9-lazy.patch - - eautoconf -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - dodoc AUTHORS ChangeLog NEWS README TODO - - if use examples; then - docinto examples - dodoc examples/* - fi -} - -pkg_postinst() { - python_version - python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pygst.py - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gst-0.10 -} - -pkg_postrm() { - python_mod_cleanup -} -- cgit v1.2.3-65-gdbad