summaryrefslogtreecommitdiff
path: root/graphics/py-gtkglext
diff options
context:
space:
mode:
authordrochner <drochner>2007-07-13 15:01:27 +0000
committerdrochner <drochner>2007-07-13 15:01:27 +0000
commit1c0f4cd41bd1683306eef0c7ccc4bacb179b3cb5 (patch)
tree125bf82770b540ee79611bf636020c318cc4ee6e /graphics/py-gtkglext
parent7484faff729c66dfc1bef6de8cbae39ccdf58c09 (diff)
downloadpkgsrc-1c0f4cd41bd1683306eef0c7ccc4bacb179b3cb5.tar.gz
import pygtkglext-1.1.0: Python bindings for gtkglext
Diffstat (limited to 'graphics/py-gtkglext')
-rw-r--r--graphics/py-gtkglext/DESCR1
-rw-r--r--graphics/py-gtkglext/Makefile26
-rw-r--r--graphics/py-gtkglext/PLIST24
-rw-r--r--graphics/py-gtkglext/distinfo6
-rw-r--r--graphics/py-gtkglext/patches/patch-aa36
5 files changed, 93 insertions, 0 deletions
diff --git a/graphics/py-gtkglext/DESCR b/graphics/py-gtkglext/DESCR
new file mode 100644
index 00000000000..54717195f0b
--- /dev/null
+++ b/graphics/py-gtkglext/DESCR
@@ -0,0 +1 @@
+PyGtkGLExt is Python language bindings for GtkGLExt, OpenGL Extension to GTK.
diff --git a/graphics/py-gtkglext/Makefile b/graphics/py-gtkglext/Makefile
new file mode 100644
index 00000000000..f909b6ffd65
--- /dev/null
+++ b/graphics/py-gtkglext/Makefile
@@ -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
+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 --git a/graphics/py-gtkglext/PLIST b/graphics/py-gtkglext/PLIST
new file mode 100644
index 00000000000..6904f5b28c8
--- /dev/null
+++ b/graphics/py-gtkglext/PLIST
@@ -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 --git a/graphics/py-gtkglext/distinfo b/graphics/py-gtkglext/distinfo
new file mode 100644
index 00000000000..c764cf379ce
--- /dev/null
+++ b/graphics/py-gtkglext/distinfo
@@ -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 --git a/graphics/py-gtkglext/patches/patch-aa b/graphics/py-gtkglext/patches/patch-aa
new file mode 100644
index 00000000000..c56e3b5be54
--- /dev/null
+++ b/graphics/py-gtkglext/patches/patch-aa
@@ -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')