summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2006-11-19 16:05:41 +0000
committerMart Raudsepp <leio@gentoo.org>2006-11-19 16:05:41 +0000
commit78b74828c110936d565598a029c2fa9e4ee3c25d (patch)
tree1cd593959697a9b0e42c55e724e1b7ebfbf9ae63 /dev-python
parentAdd patch to fix building with libgpod and --as-needed (bug #154022). Thanks ... (diff)
downloadgentoo-2-78b74828c110936d565598a029c2fa9e4ee3c25d.tar.gz
gentoo-2-78b74828c110936d565598a029c2fa9e4ee3c25d.tar.bz2
gentoo-2-78b74828c110936d565598a029c2fa9e4ee3c25d.zip
Version bump
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pygobject/ChangeLog7
-rw-r--r--dev-python/pygobject/files/digest-pygobject-2.12.33
-rw-r--r--dev-python/pygobject/pygobject-2.12.3.ebuild69
3 files changed, 78 insertions, 1 deletions
diff --git a/dev-python/pygobject/ChangeLog b/dev-python/pygobject/ChangeLog
index e4c6ab2328e1..bca17bf9b83c 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.8 2006/10/30 10:07:29 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.9 2006/11/19 16:05:41 leio Exp $
+
+*pygobject-2.12.3 (19 Nov 2006)
+
+ 19 Nov 2006; Mart Raudsepp <leio@gentoo.org> +pygobject-2.12.3.ebuild:
+ Version bump
30 Oct 2006; Robin H. Johnson <robbat2@gentoo.org>
pygobject-2.12.2.ebuild:
diff --git a/dev-python/pygobject/files/digest-pygobject-2.12.3 b/dev-python/pygobject/files/digest-pygobject-2.12.3
new file mode 100644
index 000000000000..6cd5fad5760a
--- /dev/null
+++ b/dev-python/pygobject/files/digest-pygobject-2.12.3
@@ -0,0 +1,3 @@
+MD5 009986021225b7ea6e0ba848707785af pygobject-2.12.3.tar.bz2 339088
+RMD160 b5a8a63235025901fb6a41fae170ca5c22ae4ec9 pygobject-2.12.3.tar.bz2 339088
+SHA256 efa81e0281668988b8cc2af9d0546befa4365662f1ebec37e0c7c863e969da41 pygobject-2.12.3.tar.bz2 339088
diff --git a/dev-python/pygobject/pygobject-2.12.3.ebuild b/dev-python/pygobject/pygobject-2.12.3.ebuild
new file mode 100644
index 000000000000..19b6f45be039
--- /dev/null
+++ b/dev-python/pygobject/pygobject-2.12.3.ebuild
@@ -0,0 +1,69 @@
+# 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.3.ebuild,v 1.1 2006/11/19 16:05:41 leio Exp $
+
+WANT_AUTOMAKE=1.8
+
+inherit gnome2 python eutils autotools
+
+DESCRIPTION="GNOME 2 bindings for Python"
+HOMEPAGE="http://www.pygtk.org/"
+
+LICENSE="LGPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~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 INSTALL NEWS README"
+
+
+pkg_setup() {
+ G2CONF="$(use_enable doc docs)"
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # fix bug #147285 - Robin H. Johnson <robbat2@gentoo.org>
+ # this is caused by upstream's automake-1.8 lacking some Gentoo-specific
+ # patches (for tmpfs amongst other things). Upstreams hit by this should
+ # move to newer automake versions ideally.
+ eautomake
+
+ # 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
+}