pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-gtkglext import pygtkglext-1.1.0: Python b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f77c7a52ad1
branches:  trunk
changeset: 530892:1f77c7a52ad1
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Jul 13 15:01:27 2007 +0000

description:
import pygtkglext-1.1.0: Python bindings for gtkglext

diffstat:

 graphics/py-gtkglext/DESCR            |   1 +
 graphics/py-gtkglext/Makefile         |  26 +++++++++++++++++++++++++
 graphics/py-gtkglext/PLIST            |  24 +++++++++++++++++++++++
 graphics/py-gtkglext/distinfo         |   6 +++++
 graphics/py-gtkglext/patches/patch-aa |  36 +++++++++++++++++++++++++++++++++++
 5 files changed, 93 insertions(+), 0 deletions(-)

diffs (113 lines):

diff -r 56d526442748 -r 1f77c7a52ad1 graphics/py-gtkglext/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-gtkglext/DESCR        Fri Jul 13 15:01:27 2007 +0000
@@ -0,0 +1,1 @@
+PyGtkGLExt is Python language bindings for GtkGLExt, OpenGL Extension to GTK.
diff -r 56d526442748 -r 1f77c7a52ad1 graphics/py-gtkglext/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-gtkglext/Makefile     Fri Jul 13 15:01:27 2007 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/13 15:01:27 drochner Exp $
+#
+
+DISTNAME=      pygtkglext-1.1.0
+PKGNAME=       ${PYPKGPREFIX}-pygtkglext-1.1.0
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gtkglext/}
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://gtkglext.sourceforge.net/
+COMMENT=       Python bindings for gtkglext
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+PYDISTUTILSPKG=        yes
+
+PYTHON_VERSIONS_ACCEPTED= 24 23
+
+PKGCONFIG_OVERRIDE+=   pygtkglext.pc.in
+
+.include "../../lang/python/extension.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../graphics/gtkglext/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 56d526442748 -r 1f77c7a52ad1 graphics/py-gtkglext/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-gtkglext/PLIST        Fri Jul 13 15:01:27 2007 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/13 15:01:27 drochner Exp $
+lib/pkgconfig/pygtkglext-1.0.pc
+${PYSITELIB}/gtk-2.0/gtk/gdkgl/__init__.py
+${PYSITELIB}/gtk-2.0/gtk/gdkgl/__init__.pyc
+${PYSITELIB}/gtk-2.0/gtk/gdkgl/__init__.pyo
+${PYSITELIB}/gtk-2.0/gtk/gdkgl/_gdkgl.so
+${PYSITELIB}/gtk-2.0/gtk/gdkgl/ext.py
+${PYSITELIB}/gtk-2.0/gtk/gdkgl/ext.pyc
+${PYSITELIB}/gtk-2.0/gtk/gdkgl/ext.pyo
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/__init__.py
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/__init__.pyc
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/__init__.pyo
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/_gtkgl.so
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/apputils.py
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/apputils.pyc
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/apputils.pyo
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/widget.py
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/widget.pyc
+${PYSITELIB}/gtk-2.0/gtk/gtkgl/widget.pyo
+share/pygtk/2.0/defs/gdkglext-types.defs
+share/pygtk/2.0/defs/gdkglext.defs
+share/pygtk/2.0/defs/gtkglext.defs
+@dirrm ${PYSITELIB}/gtk-2.0/gtk/gtkgl
+@dirrm ${PYSITELIB}/gtk-2.0/gtk/gdkgl
diff -r 56d526442748 -r 1f77c7a52ad1 graphics/py-gtkglext/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-gtkglext/distinfo     Fri Jul 13 15:01:27 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/07/13 15:01:27 drochner Exp $
+
+SHA1 (pygtkglext-1.1.0.tar.bz2) = a22962982d12a43acac7601a8b370ec02834eb8f
+RMD160 (pygtkglext-1.1.0.tar.bz2) = a050519f520dc45254f485bdc2c41e2d51a2d26f
+Size (pygtkglext-1.1.0.tar.bz2) = 349067 bytes
+SHA1 (patch-aa) = bbc4f2cd0fce5851c5e1020f2f0dffe1c82eae20
diff -r 56d526442748 -r 1f77c7a52ad1 graphics/py-gtkglext/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-gtkglext/patches/patch-aa     Fri Jul 13 15:01:27 2007 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/07/13 15:01:27 drochner Exp $
+
+--- setup.py.in.orig   2003-09-03 07:42:55.000000000 +0200
++++ setup.py.in
+@@ -58,12 +58,9 @@ if version < [2, 2]:
+ 
+ class PyGtkGLExtInstallLib(InstallLib):
+     def run(self):
+-        self.add_template_option('VERSION', VERSION)
+-        self.add_template_option('PYGTKGLEXT_API_VERSION', API_VERSION)
+-        self.prepare()
+ 
+         self.install_template_as('pygtkglext.pc.in',
+-                                 os.path.join(self.libdir, 'pkgconfig'),
++                                 os.path.join(os.getenv('PREFIX'), 'lib', 'pkgconfig'),
+                                  'pygtkglext-' + API_VERSION + '.pc')
+ 
+         # Modify the base installation dir
+@@ -76,8 +73,6 @@ class PyGtkGLExtInstallLib(InstallLib):
+         """Install template filename into target directory install_dir."""
+         
+         template = open(filename).read()
+-        for key, value in self.template_options.items():
+-            template = template.replace(key, value)
+         
+         output = os.path.join(install_dir, install_filename)
+         self.mkpath(install_dir)
+@@ -86,7 +81,7 @@ class PyGtkGLExtInstallLib(InstallLib):
+         self.local_outputs.append(output)
+         return output
+ 
+-if not pkgc_version_check('pygtk-2.0', 'PyGTK', PYGTK_REQUIRED_VERSION):
++if not pkgc_version_check('pygtk-2.0', PYGTK_REQUIRED_VERSION):
+     raise SystemExit, "Aborting"
+ pygtkincludedir = getoutput('pkg-config --variable pygtkincludedir pygtk-2.0')
+ codegendir = getoutput('pkg-config --variable codegendir pygtk-2.0')



Home | Main Index | Thread Index | Old Index