Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+22 -7
View File
@@ -1,24 +1,39 @@
# $NetBSD: Makefile,v 1.20 2015/04/25 14:23:17 tnn Exp $
# $NetBSD: Makefile,v 1.25 2016/08/21 01:32:45 kamil Exp $
DISTNAME= PyOpenGL-3.0.1
DISTNAME= PyOpenGL-3.1.1a1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^Py//}
PKGREVISION= 6
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyopengl/}
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyOpenGL/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pyopengl.sourceforge.net/
COMMENT= Python bindings for OpenGL
# There are many similar licenses, see license.txt
LICENSE= modified-bsd AND mit
DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-Numeric
REPLACE_PYTHON+= *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
REPLACE_PYTHON+= OpenGL/Tk/__init__.py
# Tests require:
# - devel/py-virtualenv
# - devel/py-game
# - math/py-numpy
# ...
SUBST_CLASSES+= pyver
SUBST_MESSAGE.pyver= Set Python version suffix for virtualenv calls.
SUBST_STAGE.pyver= pre-configure
SUBST_FILES.pyver= tests/tests.py
SUBST_SED.pyver= -e '121s,virtualenv,virtualenv-${PYVERSSUFFIX},'
do-test:
${RUN} ${PYTHONBIN} ${WRKSRC}/tests/tests.py
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../math/py-Numeric/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+4610 -167
View File
File diff suppressed because it is too large Load Diff
+5 -6
View File
@@ -1,7 +1,6 @@
$NetBSD: distinfo,v 1.3 2010/05/20 11:15:17 drochner Exp $
$NetBSD: distinfo,v 1.6 2016/07/24 00:48:16 kamil Exp $
SHA1 (PyOpenGL-3.0.1.tar.gz) = 35ca03f4c9fb452dc07788818fd1683e37f521bf
RMD160 (PyOpenGL-3.0.1.tar.gz) = 2d733ae5a75583b6afd1cf4e6e3d01af650bf5ab
Size (PyOpenGL-3.0.1.tar.gz) = 698420 bytes
SHA1 (patch-ac) = 4f8f078bc5857de1c415b7d84de84a7f9c24628a
SHA1 (patch-ae) = 49db5e58e914ea916a72745eb9a68a6a334c5c2b
SHA1 (PyOpenGL-3.1.1a1.tar.gz) = 54da288efb26d942774c3740fc08a46cb16e3c1f
RMD160 (PyOpenGL-3.1.1a1.tar.gz) = 1548317399f7da7cd6f8f95bace1d8233b7ff3de
SHA512 (PyOpenGL-3.1.1a1.tar.gz) = 8f4f57b153ee014dc238fe83180cc92f8e789a274fc6b0cbef6f5dec9dbc44cb1ae1f6b142a6c2b4c8c000709338d64f5968939eeb6a2384f87fb63ae99b40d8
Size (PyOpenGL-3.1.1a1.tar.gz) = 1246773 bytes
-40
View File
@@ -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:
-12
View File
@@ -1,12 +0,0 @@
$NetBSD: patch-ae,v 1.1 2009/12/16 20:45:20 drochner Exp $
--- OpenGL/__init__.py.orig 2009-11-08 01:45:34.000000000 +0000
+++ OpenGL/__init__.py
@@ -184,6 +184,7 @@ UNSIGNED_BYTE_IMAGES_AS_STRING = True
from OpenGL.plugins import PlatformPlugin, FormatHandler
PlatformPlugin( 'nt', 'OpenGL.platform.win32.Win32Platform' )
PlatformPlugin( 'linux2', 'OpenGL.platform.glx.GLXPlatform' )
+PlatformPlugin( 'netbsd5', 'OpenGL.platform.glx.GLXPlatform' )
PlatformPlugin( 'darwin', 'OpenGL.platform.darwin.DarwinPlatform' )
PlatformPlugin( 'posix', 'OpenGL.platform.glx.GLXPlatform' )