diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2006-09-07 04:36:50 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2006-09-07 04:36:50 +0000 |
commit | 3fd0c5651b66789dccd0488628df76053ec31b60 (patch) | |
tree | c31351831292f299030bf8c74acbd34aa9c81156 /dev-python/pygobject | |
parent | Oops, bad keywords (diff) | |
download | gentoo-2-3fd0c5651b66789dccd0488628df76053ec31b60.tar.gz gentoo-2-3fd0c5651b66789dccd0488628df76053ec31b60.tar.bz2 gentoo-2-3fd0c5651b66789dccd0488628df76053ec31b60.zip |
gnome 2.16
(Portage version: 2.1.1_rc1-r2)
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.1 | 3 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-2.12.1.ebuild | 61 |
3 files changed, 70 insertions, 1 deletions
diff --git a/dev-python/pygobject/ChangeLog b/dev-python/pygobject/ChangeLog index da486a3e7363..bdd730c0c326 100644 --- a/dev-python/pygobject/ChangeLog +++ b/dev-python/pygobject/ChangeLog @@ -1,11 +1,16 @@ # 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.2 2006/09/07 03:57:18 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.3 2006/09/07 04:36:50 dang Exp $ 07 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; pygobject-2.10.1.ebuild: Sync with gnome overlay ebuild, add back in blocker on pygtk < 2.9 that I wrongly removed. +*pygobject-2.12.1 (07 Sep 2006) + + 07 Sep 2006; Daniel Gryniewicz <dang@gentoo.org> +pygobject-2.12.1.ebuild: + New version for gnome 2.16 + *pygobject-2.10.1 (05 Sep 2006) 05 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; +metadata.xml, diff --git a/dev-python/pygobject/files/digest-pygobject-2.12.1 b/dev-python/pygobject/files/digest-pygobject-2.12.1 new file mode 100644 index 000000000000..54200450e424 --- /dev/null +++ b/dev-python/pygobject/files/digest-pygobject-2.12.1 @@ -0,0 +1,3 @@ +MD5 bc2cb314be7d66c19b75805609556aaa pygobject-2.12.1.tar.bz2 336007 +RMD160 6842be3ad69572f4c1df828cfeadec64046119c3 pygobject-2.12.1.tar.bz2 336007 +SHA256 802d63871a9c5712b09b30e337fa6bc569355b88d198784ad2c58521cb95d7d7 pygobject-2.12.1.tar.bz2 336007 diff --git a/dev-python/pygobject/pygobject-2.12.1.ebuild b/dev-python/pygobject/pygobject-2.12.1.ebuild new file mode 100644 index 000000000000..14ac5cd152f8 --- /dev/null +++ b/dev-python/pygobject/pygobject-2.12.1.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.1.ebuild,v 1.1 2006/09/07 04:36:50 dang 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 +} |