summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-08-19 10:17:20 +0000
committerAli Polatel <hawking@gentoo.org>2008-08-19 10:17:20 +0000
commit59d96040dc01f8b009be687aad8668dd5acdc6f9 (patch)
treee401cb3448f5d6c45cb4f6471c8b7068716277db /dev-python/pygtkglext
parentVersion bump. Drop old. (diff)
downloadhistorical-59d96040dc01f8b009be687aad8668dd5acdc6f9.tar.gz
historical-59d96040dc01f8b009be687aad8668dd5acdc6f9.tar.bz2
historical-59d96040dc01f8b009be687aad8668dd5acdc6f9.zip
Drop old.
Package-Manager: portage--svn.wrabbit
Diffstat (limited to 'dev-python/pygtkglext')
-rw-r--r--dev-python/pygtkglext/ChangeLog7
-rw-r--r--dev-python/pygtkglext/Manifest15
-rw-r--r--dev-python/pygtkglext/files/1.0.1-gtk28.patch191
-rw-r--r--dev-python/pygtkglext/files/pygtkglext-1.0.1-gentoo.diff44
-rw-r--r--dev-python/pygtkglext/pygtkglext-1.0.1-r1.ebuild46
-rw-r--r--dev-python/pygtkglext/pygtkglext-1.0.1.ebuild45
6 files changed, 11 insertions, 337 deletions
diff --git a/dev-python/pygtkglext/ChangeLog b/dev-python/pygtkglext/ChangeLog
index 20ae9fb44e39..e76ccc39bd6b 100644
--- a/dev-python/pygtkglext/ChangeLog
+++ b/dev-python/pygtkglext/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pygtkglext
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.36 2008/02/24 21:12:02 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.37 2008/08/19 10:17:19 hawking Exp $
+
+ 19 Aug 2008; Ali Polatel <hawking@gentoo.org> -files/1.0.1-gtk28.patch,
+ -files/pygtkglext-1.0.1-gentoo.diff, -pygtkglext-1.0.1.ebuild,
+ -pygtkglext-1.0.1-r1.ebuild:
+ Drop old.
10 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org>
pygtkglext-1.1.0.ebuild:
diff --git a/dev-python/pygtkglext/Manifest b/dev-python/pygtkglext/Manifest
index 2d5ad20dca8e..51d282e3f26c 100644
--- a/dev-python/pygtkglext/Manifest
+++ b/dev-python/pygtkglext/Manifest
@@ -1,19 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 1.0.1-gtk28.patch 6215 RMD160 04007e1f30feb2616aae6a548360a93a7f7b856a SHA1 ed599662808d74e559ae0ee7d5f44ab336ae6a85 SHA256 45a10de66fddf9b076d531e21fe74d5b7dbc963007737eb6bfd0aea9ccf9d65c
-AUX pygtkglext-1.0.1-gentoo.diff 1985 RMD160 77a746f1743d967824c5232c934e82a6909fd642 SHA1 8e81d001176d51bf38fa7875a2beec982899c7f9 SHA256 a344b9b170fed8ae94e1bbad2730772edc1c865a269417efda0c5e337e4e0d51
-DIST pygtkglext-1.0.1.tar.bz2 321263 RMD160 b547b6c0f6fa9f6455ef8e4614da96d594e845bd SHA1 0732dbaebe5f30375248902c45ee94e9f6d20124 SHA256 2d48b2f108ec4f984bd2457e6eb8c464f359e927fdcddc0eef78b8423b5a70bc
DIST pygtkglext-1.1.0.tar.bz2 349067 RMD160 a050519f520dc45254f485bdc2c41e2d51a2d26f SHA1 a22962982d12a43acac7601a8b370ec02834eb8f SHA256 7f0104347659a81cd5bd84007b97547d18a8a216f5df2629f379ea7f87a1410a
-EBUILD pygtkglext-1.0.1-r1.ebuild 1035 RMD160 a0d838e2e79c56f9a269e80c7413017192335b70 SHA1 38b8a4248f1c50972d0909550a04b83d8944ffa3 SHA256 5fec0d22f00633a6a880bb87f56bec99e7290b645c1a5785902dabbd049bceb5
-EBUILD pygtkglext-1.0.1.ebuild 990 RMD160 0db9d46e3c987a032c83d0e78a2f36fa5a22cd64 SHA1 6b23fbc7c9da5c841ca8981ea6098cdfb9128685 SHA256 9e2ddd333fe9f292b5d85dbe4e3df7b56525e091da8d83099d5d918ce803f7c9
EBUILD pygtkglext-1.1.0.ebuild 1207 RMD160 cd10a331cc321cf706187b178787d5b44891ca0f SHA1 bf848bcf603d4f4e34e0d20d6baa7ffd4365e291 SHA256 6919df549e3d9c313a1853069a2c0576b13f44eb53bfce120fd90aacf634e877
-MISC ChangeLog 4497 RMD160 e1e06b193a1fdacfb2cbfa2301551bf12c79a397 SHA1 c2245f13f17c29174108cc741b4e9bf5a6d879dd SHA256 4aa2db236cd2e0042ca1b8f8bc6ea64b3718a6d40c9167e1420d950b2f12a17d
+MISC ChangeLog 4684 RMD160 434f141a2e6f281399704a6c4ff930fafb22bc63 SHA1 6392e4a4fbdd502aaccd4799a9ba52bd325fe234 SHA256 7f02429f29bdcca6148c24ad5daafe1c29982a8b8f2f7e09e1237307b7d23093
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFHwd2r1fmVwcYIWAYRAtNKAKDorgbAtDvQ/zDUGA8wgX+EjwIpuwCcCoLC
-g/5hwcCKMaqGjLJBe7JGrRE=
-=WDZk
+iEYEARECAAYFAkiqnbgACgkQQU4yORhF8iAL+QCgmxvQssG1eh6O8ucbcxd0adHx
+M0AAoIBq4kbW6GgBeHAK47Ksgq8xYqch
+=5lLl
-----END PGP SIGNATURE-----
diff --git a/dev-python/pygtkglext/files/1.0.1-gtk28.patch b/dev-python/pygtkglext/files/1.0.1-gtk28.patch
deleted file mode 100644
index a6bec34578a9..000000000000
--- a/dev-python/pygtkglext/files/1.0.1-gtk28.patch
+++ /dev/null
@@ -1,191 +0,0 @@
-diff -ur pygtkglext-1.0.1/gtk/gtkgl/apputils.py pygtkglext-1.0.1-gtk28/gtk/gtkgl/apputils.py
---- pygtkglext-1.0.1/gtk/gtkgl/apputils.py 2003-11-14 10:38:38.000000000 +0000
-+++ pygtkglext-1.0.1-gtk28/gtk/gtkgl/apputils.py 2005-11-16 16:15:28.082662000 +0000
-@@ -22,6 +22,7 @@
- import pygtk
- pygtk.require('2.0')
- import gtk
-+import gobject
- import gtk.gtkgl
-
- from OpenGL.GL import *
-@@ -40,10 +41,10 @@
- self.glarea.queue_draw()
-
- def invalidate(self):
-- self.glarea.window.invalidate_rect(self.glarea.allocation, gtk.FALSE)
-+ self.glarea.window.invalidate_rect(self.glarea.allocation, False)
-
- def update(self):
-- self.glarea.window.process_updates(gtk.FALSE)
-+ self.glarea.window.process_updates(False)
-
- def timeout_is_enabled(self):
- return self.glarea.timeout_is_enabled()
-@@ -162,7 +163,7 @@
- """OpenGL drawing area widget."""
-
- def __init__(self, glscene, glconfig=None, share_list=None,
-- direct=gtk.TRUE, render_type=gtk.gdkgl.RGBA_TYPE):
-+ direct=True, render_type=gtk.gdkgl.RGBA_TYPE):
- gtk.DrawingArea.__init__(self)
-
- assert isinstance(glscene, GLScene), "glscene must be GLScene"
-@@ -202,18 +203,18 @@
-
- # Enable timeout
- if isinstance(self.glscene, GLSceneTimeout):
-- self.__enable_timeout = gtk.TRUE
-+ self.__enable_timeout = True
- self.__timeout_interval = self.glscene.timeout_interval
- else:
-- self.__enable_timeout = gtk.FALSE
-+ self.__enable_timeout = False
- self.__timeout_interval = 30
- self.__timeout_id = 0
-
- # Enable idle
- if isinstance(self.glscene, GLSceneIdle):
-- self.__enable_idle = gtk.TRUE
-+ self.__enable_idle = True
- else:
-- self.__enable_idle = gtk.FALSE
-+ self.__enable_idle = False
- self.__idle_id = 0
-
- self.connect('map_event', self.__map_event)
-@@ -241,7 +242,7 @@
- # Call glscene.init()
- self.glscene.init()
- gldrawable.gl_end()
-- return gtk.TRUE
-+ return True
-
- def __configure_event(self, widget, event):
- """'configure_event' signal handler.
-@@ -254,7 +255,7 @@
- self.glscene.reshape(widget.allocation.width,
- widget.allocation.height)
- gldrawable.gl_end()
-- return gtk.TRUE
-+ return True
-
- def __expose_event(self, widget, event):
- """'expose_event' signal handler.
-@@ -272,7 +273,7 @@
- else:
- glFlush()
- gldrawable.gl_end()
-- return gtk.TRUE
-+ return True
-
- def __key_press_event(self, widget, event):
- """'key_press_event' signal handler.
-@@ -282,7 +283,7 @@
- self.glscene.key_press(widget.allocation.width,
- widget.allocation.height,
- event)
-- return gtk.TRUE
-+ return True
-
- def __key_release_event(self, widget, event):
- """'key_release_event' signal handler.
-@@ -292,7 +293,7 @@
- self.glscene.key_release(widget.allocation.width,
- widget.allocation.height,
- event)
-- return gtk.TRUE
-+ return True
-
- def __button_press_event(self, widget, event):
- """'button_press_event' signal handler.
-@@ -306,7 +307,7 @@
- widget.allocation.height,
- event)
- gldrawable.gl_end()
-- return gtk.TRUE
-+ return True
-
- def __button_release_event(self, widget, event):
- """'button_release_event' signal handler.
-@@ -320,7 +321,7 @@
- widget.allocation.height,
- event)
- gldrawable.gl_end()
-- return gtk.TRUE
-+ return True
-
- def __motion_notify_event(self, widget, event):
- """'motion_notify_event' signal handler.
-@@ -342,7 +343,7 @@
- self.glscene.pointer_motion(widget.allocation.width,
- widget.allocation.height,
- event)
-- return gtk.TRUE
-+ return True
-
- ## Timeout function management
-
-@@ -353,7 +354,7 @@
- # Call glscene.timeout()
- self.glscene.timeout(widget.allocation.width,
- widget.allocation.height)
-- return gtk.TRUE
-+ return True
-
- def __timeout_add(self):
- """Add timeout function.
-@@ -395,14 +396,14 @@
- # Call glscene.idle()
- self.glscene.idle(widget.allocation.width,
- widget.allocation.height)
-- return gtk.TRUE
-+ return True
-
- def __idle_add(self):
- """Add idle function.
- """
- if isinstance(self.glscene, GLSceneIdle):
- if self.__idle_id == 0:
-- self.__idle_id = gtk.idle_add(self.__idle, self)
-+ self.__idle_id = gobject.idle_add(self.__idle, self)
-
- def __idle_remove(self):
- """Remove idle function.
-@@ -437,14 +438,14 @@
- if self.__enable_idle:
- self.__idle_add()
-
-- return gtk.TRUE
-+ return True
-
- def __unmap_event(self, widget, event):
- """'unmap_event' signal handler.
- """
- self.__timeout_remove()
- self.__idle_remove()
-- return gtk.TRUE
-+ return True
-
- def __visibility_notify_event(self, widget, event):
- """'visibility_notify_event' signal handler.
-@@ -461,7 +462,7 @@
- else:
- self.__idle_add()
-
-- return gtk.TRUE
-+ return True
-
-
- ### Simple OpenGL application driver
-@@ -474,8 +475,8 @@
- self.set_title(name)
- if sys.platform != 'win32':
- self.set_resize_mode(gtk.RESIZE_IMMEDIATE)
-- self.set_reallocate_redraws(gtk.TRUE)
-- self.connect('destroy', gtk.mainquit)
-+ self.set_reallocate_redraws(True)
-+ self.connect('destroy', gtk.main_quit)
-
- self.glarea = GLArea(glscene)
- self.glarea.set_size_request(300, 300)
diff --git a/dev-python/pygtkglext/files/pygtkglext-1.0.1-gentoo.diff b/dev-python/pygtkglext/files/pygtkglext-1.0.1-gentoo.diff
deleted file mode 100644
index 1ba375667c52..000000000000
--- a/dev-python/pygtkglext/files/pygtkglext-1.0.1-gentoo.diff
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -u examples.old/coolwave.py examples/coolwave.py
---- examples.old/coolwave.py 2004-01-18 11:35:37.000000000 +0100
-+++ examples/coolwave.py 2004-01-18 11:54:32.000000000 +0100
-@@ -246,10 +246,10 @@
- pass
-
- def button_motion (self, width, height, event):
-- if event.state == gtk.gdk.BUTTON1_MASK:
-+ if event.state & gtk.gdk.BUTTON1_MASK:
- self.__sphi += (event.x - self.__beginX)/4.0
- self.__stheta += (self.__beginY - event.y)/4.0
-- elif event.state == gtk.gdk.BUTTON2_MASK:
-+ elif event.state & gtk.gdk.BUTTON2_MASK:
- self.__sdepth += (self.__beginY - event.y)/10.0
- self.__beginX = event.x
- self.__beginY = event.y
-diff -u examples.old/Shapes.py examples/Shapes.py
---- examples.old/Shapes.py 2004-01-18 11:35:37.000000000 +0100
-+++ examples/Shapes.py 2004-01-18 11:54:32.000000000 +0100
-@@ -209,10 +209,10 @@
- pass
-
- def button_motion(self, width, height, event):
-- if event.state == gtk.gdk.BUTTON1_MASK:
-+ if event.state & gtk.gdk.BUTTON1_MASK:
- self.rotx = self.rotx + ((event.y-self.beginy)/width)*360.0
- self.roty = self.roty + ((event.x-self.beginx)/height)*360.0
-- elif event.state == gtk.gdk.BUTTON2_MASK:
-+ elif event.state & gtk.gdk.BUTTON2_MASK:
- self.depth = self.depth - ((event.y-self.beginy)/(height))*50.0;
-
- if self.depth > 130.0: self.depth = 130.0;
-diff -u examples.old/teapot2.py examples/teapot2.py
---- examples.old/teapot2.py 2004-01-18 11:35:37.000000000 +0100
-+++ examples/teapot2.py 2004-01-18 11:54:32.000000000 +0100
-@@ -79,7 +79,7 @@
- pass
-
- def button_motion(self, width, height, event):
-- if event.state == gtk.gdk.BUTTON1_MASK:
-+ if event.state & gtk.gdk.BUTTON1_MASK:
- self.rotx = self.rotx + ((event.y-self.beginy)/width)*360.0
- self.roty = self.roty + ((event.x-self.beginx)/height)*360.0
-
diff --git a/dev-python/pygtkglext/pygtkglext-1.0.1-r1.ebuild b/dev-python/pygtkglext/pygtkglext-1.0.1-r1.ebuild
deleted file mode 100644
index 1c81b244f063..000000000000
--- a/dev-python/pygtkglext/pygtkglext-1.0.1-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/pygtkglext-1.0.1-r1.ebuild,v 1.6 2007/03/12 16:46:59 armin76 Exp $
-
-inherit python eutils
-
-DESCRIPTION="Python bindings to GtkGLExt"
-HOMEPAGE="http://gtkglext.sourceforge.net/"
-SRC_URI="mirror://sourceforge/gtkglext/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ia64 ppc x86"
-IUSE=""
-
-DEPEND=">=dev-lang/python-2.3
- >=dev-python/pygtk-2.8
- >=dev-libs/glib-2.0
- >=x11-libs/gtk+-2.0
- >=x11-libs/gtkglext-1.0.0
- dev-python/pyopengl
- virtual/opengl
- virtual/glu"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.diff
- epatch ${FILESDIR}/${PV}-gtk28.patch
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- dodoc README AUTHORS ChangeLog
- insinto /usr/share/doc/${PF}/examples
- doins examples/*.py
-}
-
-pkg_postinst() {
- python_version
- python_mod_optimize /usr/lib/python${PYVER}/site-packages/gtk-2.0
-}
-
-pkg_postrm() {
- python_mod_cleanup
-}
diff --git a/dev-python/pygtkglext/pygtkglext-1.0.1.ebuild b/dev-python/pygtkglext/pygtkglext-1.0.1.ebuild
deleted file mode 100644
index a41ad567db98..000000000000
--- a/dev-python/pygtkglext/pygtkglext-1.0.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/pygtkglext-1.0.1.ebuild,v 1.9 2006/01/07 07:14:10 spyderous Exp $
-
-inherit python eutils
-
-DESCRIPTION="Python bindings to GtkGLExt"
-HOMEPAGE="http://gtkglext.sourceforge.net/"
-SRC_URI="mirror://sourceforge/gtkglext/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~amd64"
-IUSE=""
-
-DEPEND=">=dev-lang/python-2.2.3-r3
- >=dev-python/pygtk-2
- >=dev-libs/glib-2.0
- >=x11-libs/gtk+-2.0
- >=x11-libs/gtkglext-1.0.0
- dev-python/pyopengl
- virtual/opengl
- virtual/glu"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.diff
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- dodoc README AUTHORS ChangeLog
- insinto /usr/share/doc/${PF}/examples
- doins examples/*.py
-}
-
-pkg_postinst() {
- python_version
- python_mod_optimize /usr/lib/python${PYVER}/site-packages/gtk-2.0
-}
-
-pkg_postrm() {
- python_mod_cleanup
-}