diff options
author | Mart Raudsepp <leio@gentoo.org> | 2006-10-13 15:03:50 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2006-10-13 15:03:50 +0000 |
commit | df42e18c40b73d5097baf4d97e767dc00adccf22 (patch) | |
tree | e72d8cb65ea5e5019bf46ade9c8cd799084c3987 /dev-python/pygobject | |
parent | Version bump, bug #150771 (diff) | |
download | gentoo-2-df42e18c40b73d5097baf4d97e767dc00adccf22.tar.gz gentoo-2-df42e18c40b73d5097baf4d97e767dc00adccf22.tar.bz2 gentoo-2-df42e18c40b73d5097baf4d97e767dc00adccf22.zip |
Bump
(Portage version: 2.1.2_pre2-r9)
Diffstat (limited to 'dev-python/pygobject')
-rw-r--r-- | dev-python/pygobject/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pygobject/files/digest-pygobject-2.12.2 | 3 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-2.12.2.ebuild | 61 |
3 files changed, 70 insertions, 1 deletions
diff --git a/dev-python/pygobject/ChangeLog b/dev-python/pygobject/ChangeLog index b6659dbc23de..1e36fc907d20 100644 --- a/dev-python/pygobject/ChangeLog +++ b/dev-python/pygobject/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pygobject # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.5 2006/09/22 04:53:44 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.6 2006/10/13 15:03:50 leio Exp $ + +*pygobject-2.12.2 (13 Oct 2006) + + 13 Oct 2006; Mart Raudsepp <leio@gentoo.org> +pygobject-2.12.2.ebuild: + Version bump 22 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml, -pygobject-2.10.1.ebuild: diff --git a/dev-python/pygobject/files/digest-pygobject-2.12.2 b/dev-python/pygobject/files/digest-pygobject-2.12.2 new file mode 100644 index 000000000000..b70c562872e0 --- /dev/null +++ b/dev-python/pygobject/files/digest-pygobject-2.12.2 @@ -0,0 +1,3 @@ +MD5 394999abd1921ceff653c98165c713a0 pygobject-2.12.2.tar.bz2 337829 +RMD160 74622988ead65fe3512e5d1b69ae6f86c7d31d43 pygobject-2.12.2.tar.bz2 337829 +SHA256 83787be6e11f6c7a45c111fa37f674a153274c45c2ab3f4b38b3b6dad933fcda pygobject-2.12.2.tar.bz2 337829 diff --git a/dev-python/pygobject/pygobject-2.12.2.ebuild b/dev-python/pygobject/pygobject-2.12.2.ebuild new file mode 100644 index 000000000000..39380eafba75 --- /dev/null +++ b/dev-python/pygobject/pygobject-2.12.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.12.2.ebuild,v 1.1 2006/10/13 15:03:50 leio Exp $ + +inherit gnome2 python eutils + +DESCRIPTION="GNOME 2 bindings for Python" +HOMEPAGE="http://www.pygtk.org/" + +LICENSE="LGPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=dev-lang/python-2.3.5 + >=dev-libs/glib-2.8 + !<dev-python/pygtk-2.9" + +DEPEND="${RDEPEND} + doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 ) + >=dev-util/pkgconfig-0.12.0" + +DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README" + +pkg_setup() { + G2CONF="$(use_enable doc docs)" +} + +src_unpack() { + gnome2_src_unpack + + # disable pyc compiling + mv py-compile py-compile.orig + ln -s /bin/true py-compile +} + +src_install() { + gnome2_src_install + + insinto /usr/share/doc/${P} + doins -r examples + + python_version + mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \ + ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0 + mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \ + ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0 +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/lib/python${PYVER}/site-packages/gtk-2.0 + alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9] + alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9] + python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py +} + +pkg_postrm() { + python_version + python_mod_cleanup +} |