summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn N. Laliberte <allanonjl@gentoo.org>2006-07-02 00:14:36 +0000
committerJohn N. Laliberte <allanonjl@gentoo.org>2006-07-02 00:14:36 +0000
commit9d51fa9556fce6c3846a615302daedfca11c2e37 (patch)
tree0fc2096ab336f9821fb3ffe75053e51cbf8eed3d /dev-python/gnome-python-extras
parentseamonkey global flag (diff)
downloadgentoo-2-9d51fa9556fce6c3846a615302daedfca11c2e37.tar.gz
gentoo-2-9d51fa9556fce6c3846a615302daedfca11c2e37.tar.bz2
gentoo-2-9d51fa9556fce6c3846a615302daedfca11c2e37.zip
Add initial version without mozilla support, but with seamonkey support. See comments in ebuild for explanation of logic. Includes configure fix to add seamonkey support.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'dev-python/gnome-python-extras')
-rw-r--r--dev-python/gnome-python-extras/ChangeLog10
-rw-r--r--dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.10.22
-rw-r--r--dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.12.12
-rw-r--r--dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.14.02
-rw-r--r--dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.14.0-r13
-rw-r--r--dev-python/gnome-python-extras/gnome-python-extras-2.14.0-r1.ebuild87
6 files changed, 105 insertions, 1 deletions
diff --git a/dev-python/gnome-python-extras/ChangeLog b/dev-python/gnome-python-extras/ChangeLog
index b6464cd9dfd2..d077951b3cc9 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras/ChangeLog,v 1.30 2006/06/06 22:35:03 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras/ChangeLog,v 1.31 2006/07/02 00:14:36 allanonjl Exp $
+
+*gnome-python-extras-2.14.0-r1 (02 Jul 2006)
+
+ 02 Jul 2006; John N. Laliberte <allanonjl@gentoo.org>
+ +gnome-python-extras-2.14.0-r1.ebuild:
+ Add initial version without mozilla support, but with seamonkey support. See
+ comments in ebuild for explanation of logic. Includes configure fix to add
+ seamonkey support.
06 Jun 2006; Carsten Lohrke <carlo@gentoo.org>
gnome-python-extras-2.12.1.ebuild, gnome-python-extras-2.14.0.ebuild:
diff --git a/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.10.2 b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.10.2
index ae57c40b3423..8c8a74ffbc5f 100644
--- a/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.10.2
+++ b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.10.2
@@ -1 +1,3 @@
MD5 0b7a276032646582e6e266beaef7a090 gnome-python-extras-2.10.2.tar.bz2 351085
+RMD160 991d8ce3f3766d38a6098b33393b1b6f4f37b831 gnome-python-extras-2.10.2.tar.bz2 351085
+SHA256 1559c6f60d0a61dfb349e81e4948507d48ee731f941cc853f83eb1e795caab1e gnome-python-extras-2.10.2.tar.bz2 351085
diff --git a/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.12.1 b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.12.1
index 6ce5e7b2101f..fb6d2d00c022 100644
--- a/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.12.1
+++ b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.12.1
@@ -1 +1,3 @@
MD5 62a3d8bb5bd5c1696c7200c001ea34f2 gnome-python-extras-2.12.1.tar.bz2 476483
+RMD160 278bf74c35644ea27689dddbd89d6c0cd8ca7706 gnome-python-extras-2.12.1.tar.bz2 476483
+SHA256 d1f93adf096bd739cba988d9cdea8978faa97ac928bad26352e62830e8806ab5 gnome-python-extras-2.12.1.tar.bz2 476483
diff --git a/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.14.0 b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.14.0
index 87ad893e88ff..8d6dc057c778 100644
--- a/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.14.0
+++ b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.14.0
@@ -1 +1,3 @@
MD5 e9390569e18a5e71da1ed9476fa750b3 gnome-python-extras-2.14.0.tar.bz2 347462
+RMD160 bc8652aa285ca5af2b57fae97907e7dd06c11e66 gnome-python-extras-2.14.0.tar.bz2 347462
+SHA256 72108b6327b1894cc302b423aa18c0aad14d066c3befad403c7247148745aef3 gnome-python-extras-2.14.0.tar.bz2 347462
diff --git a/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.14.0-r1 b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.14.0-r1
new file mode 100644
index 000000000000..8d6dc057c778
--- /dev/null
+++ b/dev-python/gnome-python-extras/files/digest-gnome-python-extras-2.14.0-r1
@@ -0,0 +1,3 @@
+MD5 e9390569e18a5e71da1ed9476fa750b3 gnome-python-extras-2.14.0.tar.bz2 347462
+RMD160 bc8652aa285ca5af2b57fae97907e7dd06c11e66 gnome-python-extras-2.14.0.tar.bz2 347462
+SHA256 72108b6327b1894cc302b423aa18c0aad14d066c3befad403c7247148745aef3 gnome-python-extras-2.14.0.tar.bz2 347462
diff --git a/dev-python/gnome-python-extras/gnome-python-extras-2.14.0-r1.ebuild b/dev-python/gnome-python-extras/gnome-python-extras-2.14.0-r1.ebuild
new file mode 100644
index 000000000000..c18c21bd0ac5
--- /dev/null
+++ b/dev-python/gnome-python-extras/gnome-python-extras-2.14.0-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2006 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.14.0-r1.ebuild,v 1.1 2006/07/02 00:14:36 allanonjl Exp $
+
+NEED_PYTHON=2.4
+
+inherit eutils gnome2 python virtualx autotools
+
+DESCRIPTION="GNOME 2 Bindings for Python"
+HOMEPAGE="http://www.pygtk.org"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc firefox seamonkey"
+
+# seamonkey is not keyworded on sparc/ia64, so only give them the
+# firefox option.
+# logic:
+# if they aren't sparc or ia64, they can choose seamonkey
+# everyone can choose whether or not to choose firefox
+RDEPEND=">=x11-libs/gtk+-2.4
+ >=dev-libs/glib-2.6
+ >=dev-python/gnome-python-2.10
+ >=dev-python/pygtk-2.4
+ =gnome-extra/gtkhtml-2.6*
+ firefox? ( >=www-client/mozilla-firefox-1.0 )
+ !sparc? ( !ia64? (
+ !firefox? ( seamonkey? ( >=www-client/seamonkey-1.0 ) )
+ )
+ )
+ >=gnome-extra/libgda-1.2.0
+ >=app-text/gtkspell-2"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+DOCS="AUTHORS COPYING* ChangeLog INSTALL NEWS README"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # change mozilla to seamonkey
+ sed -i -e 's:1.2b):1.0.0):' configure.ac
+ sed -i -e 's:mozilla):seamonkey):' configure.ac
+
+ eautoreconf
+}
+
+src_compile() {
+
+ # only controls linking, can't disable w/o a patch :)
+ if use firefox; then
+ G2CONF="${G2CONF} --with-gtkmozembed=firefox"
+ fi
+
+ if ! use firefox && ! use sparc && ! use ia64; then
+ use seamonkey && G2CONF="${G2CONF} --with-gtkmozembed=seamonkey"
+ fi
+
+ gnome2_src_configure ${G2CONF}
+
+ emake || die "make failed!"
+}
+
+src_test() {
+ Xmake check || die "tests 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
+}