pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-OpenGL Remove wrong patch for ctypesloader



details:   https://anonhg.NetBSD.org/pkgsrc/rev/833d7b73d4c1
branches:  trunk
changeset: 350105:833d7b73d4c1
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sat Jul 23 17:23:58 2016 +0000

description:
Remove wrong patch for ctypesloader

The Python's function find_library() is works for a string in a form of
'GL', not 'libGL.so'.

Bump PKGREVISION.

diffstat:

 graphics/py-OpenGL/Makefile         |   4 +-
 graphics/py-OpenGL/distinfo         |   3 +-
 graphics/py-OpenGL/patches/patch-ac |  40 -------------------------------------
 3 files changed, 3 insertions(+), 44 deletions(-)

diffs (71 lines):

diff -r 7d8d7b360191 -r 833d7b73d4c1 graphics/py-OpenGL/Makefile
--- a/graphics/py-OpenGL/Makefile       Sat Jul 23 15:20:17 2016 +0000
+++ b/graphics/py-OpenGL/Makefile       Sat Jul 23 17:23:58 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2016/07/09 13:03:50 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2016/07/23 17:23:58 kamil Exp $
 
 DISTNAME=      PyOpenGL-3.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^Py//}
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pyopengl/}
 
diff -r 7d8d7b360191 -r 833d7b73d4c1 graphics/py-OpenGL/distinfo
--- a/graphics/py-OpenGL/distinfo       Sat Jul 23 15:20:17 2016 +0000
+++ b/graphics/py-OpenGL/distinfo       Sat Jul 23 17:23:58 2016 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 21:34:15 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/07/23 17:23:58 kamil Exp $
 
 SHA1 (PyOpenGL-3.0.1.tar.gz) = 35ca03f4c9fb452dc07788818fd1683e37f521bf
 RMD160 (PyOpenGL-3.0.1.tar.gz) = 2d733ae5a75583b6afd1cf4e6e3d01af650bf5ab
 SHA512 (PyOpenGL-3.0.1.tar.gz) = 2e50aad3c044dfc524766f742f19fc31a2bf97adbbd82cd48de3abe61c445305b543f5d9dbb9f9c4cb7ace01a590a0bde03bbdde57b846e5949182b69eec47a1
 Size (PyOpenGL-3.0.1.tar.gz) = 698420 bytes
-SHA1 (patch-ac) = 4f8f078bc5857de1c415b7d84de84a7f9c24628a
 SHA1 (patch-ae) = 49db5e58e914ea916a72745eb9a68a6a334c5c2b
diff -r 7d8d7b360191 -r 833d7b73d4c1 graphics/py-OpenGL/patches/patch-ac
--- a/graphics/py-OpenGL/patches/patch-ac       Sat Jul 23 15:20:17 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2010/05/20 11:15:17 drochner Exp $
-
---- OpenGL/platform/glx.py.orig        2009-11-25 20:08:32.000000000 +0000
-+++ OpenGL/platform/glx.py
-@@ -13,7 +13,7 @@ class GLXPlatform( baseplatform.BasePlat
-     try:
-         GL = OpenGL = ctypesloader.loadLibrary(
-             ctypes.cdll,
--            'GL', 
-+            'libGL.so', 
-             mode=ctypes.RTLD_GLOBAL 
-         )
-     except OSError, err:
-@@ -21,7 +21,7 @@ class GLXPlatform( baseplatform.BasePlat
-     try:
-         GLU = ctypesloader.loadLibrary(
-             ctypes.cdll,
--            'GLU',
-+            'libGLU.so',
-             mode=ctypes.RTLD_GLOBAL 
-         )
-     except OSError, err:
-@@ -31,7 +31,7 @@ class GLXPlatform( baseplatform.BasePlat
-     try:
-         GLUT = ctypesloader.loadLibrary(
-             ctypes.cdll,
--            'glut', 
-+            'libglut.so', 
-             mode=ctypes.RTLD_GLOBAL 
-         )
-     except OSError, err:
-@@ -44,7 +44,7 @@ class GLXPlatform( baseplatform.BasePlat
-     try:
-         GLE = ctypesloader.loadLibrary(
-             ctypes.cdll,
--            'gle', 
-+            'libgle.so', 
-             mode=ctypes.RTLD_GLOBAL 
-         )
-     except OSError, err:



Home | Main Index | Thread Index | Old Index