pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/py-OpenGL import PyOpenGL-3.0.0a6: Python bin...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7827a684ee8f
branches: trunk
changeset: 530893:7827a684ee8f
user: drochner <drochner%pkgsrc.org@localhost>
date: Fri Jul 13 15:06:09 2007 +0000
description:
import PyOpenGL-3.0.0a6: Python bindings for OpenGL
prepered by Quentin Garnier in pkgsrc-wip
diffstat:
graphics/py-OpenGL/DESCR | 1 +
graphics/py-OpenGL/Makefile | 24 ++++++++++++++++++++++++
graphics/py-OpenGL/PLIST | 2 ++
graphics/py-OpenGL/distinfo | 6 ++++++
graphics/py-OpenGL/patches/patch-ac | 27 +++++++++++++++++++++++++++
5 files changed, 60 insertions(+), 0 deletions(-)
diffs (80 lines):
diff -r 1f77c7a52ad1 -r 7827a684ee8f graphics/py-OpenGL/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-OpenGL/DESCR Fri Jul 13 15:06:09 2007 +0000
@@ -0,0 +1,1 @@
+Python bindings to OpenGL functions.
diff -r 1f77c7a52ad1 -r 7827a684ee8f graphics/py-OpenGL/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-OpenGL/Makefile Fri Jul 13 15:06:09 2007 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/13 15:06:09 drochner Exp $
+#
+
+DISTNAME= PyOpenGL-3.0.0a6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^Py//}
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyopengl/}
+
+MAINTAINER= cube%cubidou.net@localhost
+HOMEPAGE= http://pyopengl.sourceforge.net/
+COMMENT= Pyhton bindings for OpenGL
+
+PYDISTUTILSPKG= YES
+PY_PATCHPLIST= YES
+
+DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c1nb1:../../devel/py-setuptools
+
+.include "../../lang/python/extension.mk"
+.include "../../graphics/Mesa/buildlink3.mk"
+.include "../../math/py-Numeric/buildlink3.mk"
+.include "../../x11/py-Tk/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../devel/py-ctypes/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1f77c7a52ad1 -r 7827a684ee8f graphics/py-OpenGL/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-OpenGL/PLIST Fri Jul 13 15:06:09 2007 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/13 15:06:09 drochner Exp $
+${PYSITELIB}/PyOpenGL-3.0.0a6-py2.4.egg
diff -r 1f77c7a52ad1 -r 7827a684ee8f graphics/py-OpenGL/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-OpenGL/distinfo Fri Jul 13 15:06:09 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/07/13 15:06:09 drochner Exp $
+
+SHA1 (PyOpenGL-3.0.0a6.tar.gz) = be787436ef51217e1658a1ef049314a00bb6e49d
+RMD160 (PyOpenGL-3.0.0a6.tar.gz) = 7f0bc5bade1b3016a2c99b08d3033a66cdd26939
+Size (PyOpenGL-3.0.0a6.tar.gz) = 1184773 bytes
+SHA1 (patch-ac) = 1a0a8545b388b94b360ac6d88252a08e3664df06
diff -r 1f77c7a52ad1 -r 7827a684ee8f graphics/py-OpenGL/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-OpenGL/patches/patch-ac Fri Jul 13 15:06:09 2007 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/07/13 15:06:09 drochner Exp $
+
+--- OpenGL/platform/glx.py.orig 2007-07-12 23:07:36.000000000 +0200
++++ OpenGL/platform/glx.py
+@@ -25,19 +25,19 @@ __all__ = (
+
+ GL = OpenGL = ctypesloader.loadLibrary(
+ ctypes.cdll,
+- 'GL',
++ 'libGL.so',
+ mode=ctypes.RTLD_GLOBAL
+ )
+ GLU = ctypesloader.loadLibrary(
+ ctypes.cdll,
+- 'GLU',
++ 'libGLU.so',
+ mode=ctypes.RTLD_GLOBAL
+ )
+ # glut shouldn't need to be global, but just in case a dependent library makes
+ # the same assumption GLUT does...
+ GLUT = ctypesloader.loadLibrary(
+ ctypes.cdll,
+- 'glut',
++ 'libglut.so',
+ mode=ctypes.RTLD_GLOBAL
+ )
+ # GLX doesn't seem to have its own loadable module?
Home |
Main Index |
Thread Index |
Old Index