diff options
author | John N. Laliberte <allanonjl@gentoo.org> | 2005-08-27 00:18:15 +0000 |
---|---|---|
committer | John N. Laliberte <allanonjl@gentoo.org> | 2005-08-27 00:18:15 +0000 |
commit | 2e7eed2b4e6379c8044f4256f41edcba53cd4f98 (patch) | |
tree | 43cd5567dce31abb762e10ac3b4a325fb46e5662 /dev-python/gnome-python-extras | |
parent | pmask new version of gnome-python-extras (diff) | |
download | gentoo-2-2e7eed2b4e6379c8044f4256f41edcba53cd4f98.tar.gz gentoo-2-2e7eed2b4e6379c8044f4256f41edcba53cd4f98.tar.bz2 gentoo-2-2e7eed2b4e6379c8044f4256f41edcba53cd4f98.zip |
new version, disable gda module because it relies on python 2.4 API. Re-enable if its necessary for a specific package in portage, or when python 2.4 becomes stable.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-python/gnome-python-extras')
5 files changed, 115 insertions, 12 deletions
diff --git a/dev-python/gnome-python-extras/ChangeLog b/dev-python/gnome-python-extras/ChangeLog index 93bda414b7e5..25a7f1249292 100644 --- a/dev-python/gnome-python-extras/ChangeLog +++ b/dev-python/gnome-python-extras/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-python/gnome-python-extras # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras/ChangeLog,v 1.10 2005/08/16 14:51:38 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras/ChangeLog,v 1.11 2005/08/27 00:18:15 allanonjl Exp $ + +*gnome-python-extras-2.11.4 (27 Aug 2005) + + 27 Aug 2005; John N. Laliberte <allanonjl@gentoo.org> + +gnome-python-extras-2.11.4.ebuild: + new version, disable gda module because it relies on python 2.4 API. + Re-enable if its necessary for a specific package in portage, or when python + 2.4 becomes stable 16 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> gnome-python-extras-2.10.2.ebuild: diff --git a/dev-python/gnome-python-extras/Manifest b/dev-python/gnome-python-extras/Manifest index 1de9c21eb11c..7a24928722f4 100644 --- a/dev-python/gnome-python-extras/Manifest +++ b/dev-python/gnome-python-extras/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 7815efa8e3c1eece4b748785c644df85 metadata.xml 243 MD5 4c22ad55f9938b89f215a19cd27f0a04 gnome-python-extras-2.10.2.ebuild 1677 +MD5 023ef89a7500599b399f154aa7af1a1f gnome-python-extras-2.11.4.ebuild 2069 MD5 7b4b9f020e9436fe7e51bf01f156bc21 ChangeLog 1451 +MD5 7815efa8e3c1eece4b748785c644df85 metadata.xml 243 MD5 dee99b75f4b766a4a588ddb6b8a086c0 files/digest-gnome-python-extras-2.10.2 79 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux) - -iD8DBQFDAf25KRy60XGEcJIRArpQAJ4/iK6UsoDdWUr3ChQ56A3ljhE7/ACeJNgR -B7CcLHdHmK6aeS932//HUfE= -=PHgu ------END PGP SIGNATURE----- +MD5 0ddf31a1f89fea7bd81e10e79c712870 files/digest-gnome-python-extras-2.11.4 79 diff --git a/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.11.4 b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.11.4 new file mode 100644 index 000000000000..5f5b3ceba260 --- /dev/null +++ b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.11.4 @@ -0,0 +1 @@ +MD5 5d48e98dd6ce23ac5b28db1bb6d76c12 gnome-python-extras-2.11.4.tar.bz2 472967 diff --git a/dev-python/gnome-python-extras/files/gnome-python-extras-nogda.patch b/dev-python/gnome-python-extras/files/gnome-python-extras-nogda.patch new file mode 100644 index 000000000000..37f3a2c96afb --- /dev/null +++ b/dev-python/gnome-python-extras/files/gnome-python-extras-nogda.patch @@ -0,0 +1,11 @@ +--- gnome-python-extras-2.11.4/configure.ac 2005-08-09 12:46:34.000000000 -0400 ++++ gnome-python-extras-2.11.4.new/configure.ac 2005-08-26 17:10:28.000000000 -0400 +@@ -288,7 +288,7 @@ + dnl should we build the gda module? + build_gda=false + PKG_CHECK_MODULES(GDA, [libgda >= libgda_required_version pygtk-2.0 >= pygtk_required_version], +- build_gda=true, ++ build_gda=false, + build_gda=false) + AM_CONDITIONAL(BUILD_GDA, $build_gda) + if test -n "$export_dynamic"; then diff --git a/dev-python/gnome-python-extras/gnome-python-extras-2.11.4.ebuild b/dev-python/gnome-python-extras/gnome-python-extras-2.11.4.ebuild new file mode 100644 index 000000000000..191b0f5b4344 --- /dev/null +++ b/dev-python/gnome-python-extras/gnome-python-extras-2.11.4.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras/gnome-python-extras-2.11.4.ebuild,v 1.1 2005/08/27 00:18:15 allanonjl Exp $ + +inherit eutils gnome2 python + +DESCRIPTION="GNOME 2 Bindings for Python" +HOMEPAGE="http://www.pygtk.org" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc sparc x86" +IUSE="doc firefox mozilla" + +RDEPEND=">=dev-lang/python-2.3 + >=x11-libs/gtk+-2.4.0 + >=dev-libs/glib-2.6.0 + >=dev-python/gnome-python-2.10.0 + >=dev-python/pygtk-2.4.0 + >=gnome-extra/libgtkhtml-2.3.1 + >=gnome-base/libgnomeprint-2.2.0 + >=gnome-base/libgnomeprintui-2.2.0 + >=x11-libs/gtksourceview-1.1.90 + >=gnome-base/gnome-panel-2.2.0 + >=x11-libs/libwnck-2.9.92 + firefox? ( >=www-client/mozilla-firefox-1.0 ) + mozilla? ( >=www-client/mozilla-1.2 ) + >=gnome-base/libgtop-2.9.5 + >=gnome-extra/nautilus-cd-burner-2.9.4 + >=app-text/gtkspell-2.0.0 + media-video/totem + " + +DEPEND="${RDEPEND} + dev-util/pkgconfig + app-text/scrollkeeper + " + +G2CONF="" +USE_DESTDIR="1" +DOCS="AUTHORS COPYING* ChangeLog INSTALL NEWS README" + +src_unpack() { + unpack ${A} + cd ${S} + + # necessary to disable gda module because they are using + # functions only available in python 2.4. when 2.4 goes + # stable, this can be removed. + epatch ${FILESDIR}/${PN}-nogda.patch + + automake + libtoolize --copy --force + autoconf +} + +src_compile() { + + # only controls linking, can't disable w/o a patch :) + use firefox && G2CONF="${G2CONF} --with-gtkmozembed=firefox" + if ! use firefox; then + use mozilla && G2CONF="${G2CONF} --with-gtkmozembed=mozilla" + fi + + if ! use firefox && ! use mozilla; then + G2CONF="${G2CONF} --without-gtkmozembed" + fi + + gnome2_src_configure ${G2CONF} + + emake || die "make failed!" +} + +src_install() { + gnome2_src_install + + if use doc; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} + +pkg_postinst() { + python_version + python_mod_optimize ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0 +} + +pkg_postrm() { + python_version + python_mod_cleanup +} |