summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2005-03-16 10:39:15 +0000
committerAlastair Tse <liquidx@gentoo.org>2005-03-16 10:39:15 +0000
commitf0774c8c284f6b9de428a53c2f36f3890e07418b (patch)
tree19cab98110577f3603e2385358851a0c338d2c20 /dev-python/pygtk
parentVersion bump. (diff)
downloadgentoo-2-f0774c8c284f6b9de428a53c2f36f3890e07418b.tar.gz
gentoo-2-f0774c8c284f6b9de428a53c2f36f3890e07418b.tar.bz2
gentoo-2-f0774c8c284f6b9de428a53c2f36f3890e07418b.zip
version bump
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-python/pygtk')
-rw-r--r--dev-python/pygtk/ChangeLog7
-rw-r--r--dev-python/pygtk/Manifest12
-rw-r--r--dev-python/pygtk/files/digest-pygtk-2.6.12
-rw-r--r--dev-python/pygtk/pygtk-2.6.1.ebuild83
4 files changed, 93 insertions, 11 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog
index 4f6653be4460..fa637e39e4c7 100644
--- a/dev-python/pygtk/ChangeLog
+++ b/dev-python/pygtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pygtk
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.76 2005/03/15 12:18:05 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.77 2005/03/16 10:39:14 liquidx Exp $
+
+*pygtk-2.6.1 (16 Mar 2005)
+
+ 16 Mar 2005; Alastair Tse <liquidx@gentoo.org> +pygtk-2.6.1.ebuild:
+ version bump
15 Mar 2005; Alastair Tse <liquidx@gentoo.org> pygtk-2.4.1.ebuild,
pygtk-2.6.0.ebuild:
diff --git a/dev-python/pygtk/Manifest b/dev-python/pygtk/Manifest
index f25b5df1363d..1cb5ea57e6ea 100644
--- a/dev-python/pygtk/Manifest
+++ b/dev-python/pygtk/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 183dd12c7e106a0967c789f5e85e65a3 ChangeLog 9619
MD5 8f03582f883634bcb2007a13b8350931 metadata.xml 487
MD5 a244841efdd7989d4e751e0742ea911d pygtk-0.6.11-r1.ebuild 1948
@@ -11,6 +8,7 @@ MD5 7ffd433ac94020e9547ed67c93806054 pygtk-2.0.0.ebuild 925
MD5 5d2c87676a6ea4abbff3e7d05936c8fd pygtk-2.2.0.ebuild 2171
MD5 a862b32cceff3054ef8e02b1294104fc pygtk-2.4.1.ebuild 2555
MD5 6924a45f11d242201f4f1fe2dd5ec03d pygtk-2.6.0.ebuild 2541
+MD5 6924a45f11d242201f4f1fe2dd5ec03d pygtk-2.6.1.ebuild 2541
MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11 64
MD5 f7476a916a6add9b10800b1f5bf31e98 files/digest-pygtk-0.6.11-r1 64
MD5 24c9de51067b362e1e30dd1d3019e1b0 files/digest-pygtk-1.99.13-r1 65
@@ -19,10 +17,4 @@ MD5 f0923e335952213318838067c14df0a0 files/digest-pygtk-2.0.0-r1 64
MD5 a6372d851a8b936f2df258b93a5bc719 files/digest-pygtk-2.2.0 64
MD5 39ecd0ee60f11eff2a596002e0ddf34d files/digest-pygtk-2.4.1 129
MD5 19690d7b7578eaf46c0ce7d12936dac3 files/digest-pygtk-2.6.0 129
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCNtMJRkyva5PS18kRAj3SAJ4pM1AqwtMr0hv+oSvPhKJsiDSyCQCdGaiw
-o3azJGBnlAeLHr7Tm71hB44=
-=Kh8m
------END PGP SIGNATURE-----
+MD5 305e4c07dfd9d7d6969fd60f0d3941fc files/digest-pygtk-2.6.1 129
diff --git a/dev-python/pygtk/files/digest-pygtk-2.6.1 b/dev-python/pygtk/files/digest-pygtk-2.6.1
new file mode 100644
index 000000000000..46ef3c87d9a9
--- /dev/null
+++ b/dev-python/pygtk/files/digest-pygtk-2.6.1
@@ -0,0 +1,2 @@
+MD5 b4610829e4f57b5538dfa3b8f1fbe026 pygtk-2.6.1.tar.bz2 729460
+MD5 b7c7f1aaaf24165d4cb2a5f4e2225d34 pygtk2reference.tbz2 604463
diff --git a/dev-python/pygtk/pygtk-2.6.1.ebuild b/dev-python/pygtk/pygtk-2.6.1.ebuild
new file mode 100644
index 000000000000..47c1d644c88e
--- /dev/null
+++ b/dev-python/pygtk/pygtk-2.6.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.6.1.ebuild,v 1.1 2005/03/16 10:39:14 liquidx Exp $
+
+inherit gnome.org python flag-o-matic
+
+DESCRIPTION="GTK+2 bindings for Python"
+HOMEPAGE="http://www.pygtk.org/"
+SRC_URI="${SRC_URI}
+ doc? ( http://www.pygtk.org/dist/pygtk2reference.tbz2 )"
+
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+IUSE="gnome opengl doc"
+
+RDEPEND=">=dev-lang/python-2.3
+ >=x11-libs/gtk+-2.6.0
+ >=dev-libs/glib-2.4.0
+ !arm? ( dev-python/numeric )
+ gnome? ( >=gnome-base/libglade-2.3.6 )
+ opengl? ( virtual/opengl
+ dev-python/pyopengl
+ >=x11-libs/gtkglarea-1.99 )"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9"
+
+src_unpack() {
+ unpack ${A}
+ if use doc; then
+ unpack pygtk2reference.tbz2
+ fi
+ # disable pyc compiling
+ mv ${S}/py-compile ${S}/py-compile.orig
+ ln -s /bin/true ${S}/py-compile
+}
+
+src_compile() {
+ use hppa && append-flags -ffunction-sections
+ econf --enable-thread || die
+ # possible problems with parallel builds (#45776)
+ emake -j1 || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
+ rm examples/Makefile*
+ cp -r examples ${D}/usr/share/doc/${PF}/
+
+ 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
+
+ if use doc; then
+ cd ${S}/../pygtk2reference
+ dohtml -r *
+ fi
+}
+
+src_test() {
+ cd tests
+ make check-local
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/share/pygtk/2.0/codegen /usr/$(get_libdir)/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 /usr/share/pygtk/2.0/codegen
+ python_mod_cleanup
+ rm -f ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth}
+ 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]
+}