update to py-opengl-3.1.3b2
This commit is contained in:
parent
6bb8f248aa
commit
1455d82095
@ -1,7 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2017/06/19 18:26:30 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2019/04/27 14:02:39 sthen Exp $
|
||||
|
||||
COMMENT = Python bindings for OpenGL
|
||||
MODPY_EGG_VERSION = 3.1.0
|
||||
MODPY_EGG_VERSION = 3.1.3b2
|
||||
DISTNAME = PyOpenGL-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-opengl-${MODPY_EGG_VERSION}
|
||||
|
||||
@ -21,17 +21,8 @@ MODPY_SETUPTOOLS = Yes
|
||||
|
||||
LIB_DEPENDS = graphics/freeglut
|
||||
|
||||
.if ${FLAVOR:Mpython3}
|
||||
# multi version py2+3 test infrastructure using virtualenv,
|
||||
# not handled in this port yet
|
||||
NO_TEST = Yes
|
||||
.else
|
||||
TEST_IS_INTERACTIVE = X11
|
||||
|
||||
TEST_DEPENDS = ${BASE_PKGPATH} \
|
||||
devel/pygame \
|
||||
math/py-numpy
|
||||
|
||||
do-test:
|
||||
${MODPY_BIN} ${WRKSRC}/tests/tests.py
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (PyOpenGL-3.1.0.tar.gz) = m0fFw6CU+lGMqIru01rnWDTVPkKFUSxhh59npIyU3a8=
|
||||
SIZE (PyOpenGL-3.1.0.tar.gz) = 1172688
|
||||
SHA256 (PyOpenGL-3.1.3b2.tar.gz) = rHO0wLQzvgLWpVue12is8HADqSozFbqdYryPjaXwwpE=
|
||||
SIZE (PyOpenGL-3.1.3b2.tar.gz) = 1816589
|
||||
|
@ -1,14 +1,15 @@
|
||||
$OpenBSD: patch-OpenGL___init___py,v 1.4 2017/06/19 18:26:30 landry Exp $
|
||||
$OpenBSD: patch-OpenGL___init___py,v 1.5 2019/04/27 14:02:39 sthen Exp $
|
||||
Index: OpenGL/__init__.py
|
||||
--- OpenGL/__init__.py.orig
|
||||
+++ OpenGL/__init__.py
|
||||
@@ -203,6 +203,9 @@ MODULE_ANNOTATIONS = False
|
||||
@@ -212,6 +212,10 @@ TYPE_ANNOTATIONS = False
|
||||
from OpenGL.plugins import PlatformPlugin, FormatHandler
|
||||
PlatformPlugin( 'nt', 'OpenGL.platform.win32.Win32Platform' )
|
||||
PlatformPlugin( 'linux2', 'OpenGL.platform.glx.GLXPlatform' )
|
||||
+PlatformPlugin( 'openbsd4', 'OpenGL.platform.glx.GLXPlatform' )
|
||||
+PlatformPlugin( 'openbsd5', 'OpenGL.platform.glx.GLXPlatform' )
|
||||
+PlatformPlugin( 'openbsd6', 'OpenGL.platform.glx.GLXPlatform' )
|
||||
+PlatformPlugin( 'openbsd7', 'OpenGL.platform.glx.GLXPlatform' )
|
||||
PlatformPlugin( 'darwin', 'OpenGL.platform.darwin.DarwinPlatform' )
|
||||
PlatformPlugin( 'posix', 'OpenGL.platform.glx.GLXPlatform' )
|
||||
PlatformPlugin( 'osmesa', 'OpenGL.platform.osmesa.OSMesaPlatform')
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user