- Update to 3.0.0

PR:		133260
Submitted by:	Wen Heping <wenheping@gmail.com>
Approved by:	maintainer timeout
This commit is contained in:
Martin Wilke 2009-05-17 12:35:05 +00:00
parent 053fc3dbd6
commit 6326957238
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234084
3 changed files with 9 additions and 17 deletions

View file

@ -6,13 +6,12 @@
#
PORTNAME= opengl
PORTVERSION= 3.0.0.b8
PORTREVISION= 2
PORTVERSION= 3.0.0
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= py${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyOpenGL-${PORTVERSION:S/.b/b/}
DISTNAME= PyOpenGL-${PORTVERSION}
MAINTAINER= ahze@FreeBSD.org
COMMENT= An OpenGL (and related library) interface for Python
@ -43,6 +42,7 @@ post-patch:
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g'
@${FIND} ${WRKSRC} -name "*.bak" -delete
${REINPLACE_CMD} -e 's|posix |posix|g' ${WRKSRC}/OpenGL/__init__.py
post-install:
@${FIND} ${PYTHON_SITELIBDIR}/OpenGL -type f | \

View file

@ -1,3 +1,6 @@
MD5 (PyOpenGL-3.0.0b8.tar.gz) = 1d9afbf0a403d916997937ef0dde2520
SHA256 (PyOpenGL-3.0.0b8.tar.gz) = 85be2fbbfad70b226caa4b3c15c472a892b76b1e7d6b4a13f8764bb1e4394205
SIZE (PyOpenGL-3.0.0b8.tar.gz) = 438379
MD5 (PyOpenGL-3.0.0.tar.gz) = ab0fd5f95b8aaaa6b3902c2350b5d5c0
SHA256 (PyOpenGL-3.0.0.tar.gz) = f768965d3f37253940fa3a6ac439e31741740e12e9028fe7a2002c12002756aa
SIZE (PyOpenGL-3.0.0.tar.gz) = 638551
MD5 (PyOpenGL-Demo-3.0.0.tar.gz) = 3fbdda39f251545f7828e8b83d0c2f57
SHA256 (PyOpenGL-Demo-3.0.0.tar.gz) = 0f59b92dffeb380570c11e37036b665f2ebfb8247bd92c166bcbc3149079b324
SIZE (PyOpenGL-Demo-3.0.0.tar.gz) = 1307093

View file

@ -1,11 +0,0 @@
--- OpenGL/__init__.py.orig 2008-12-07 06:58:16.000000000 +0300
+++ OpenGL/__init__.py 2009-04-12 07:52:27.000000000 +0400
@@ -102,7 +102,7 @@
# Declarations of plugins provided by PyOpenGL itself
from OpenGL.plugins import PlatformPlugin, FormatHandler
PlatformPlugin( 'nt', 'OpenGL.platform.win32.Win32Platform' )
-PlatformPlugin( 'posix ', 'OpenGL.platform.glx.GLXPlatform' )
+PlatformPlugin( 'posix', 'OpenGL.platform.glx.GLXPlatform' )
PlatformPlugin( 'linux2', 'OpenGL.platform.glx.GLXPlatform' )
PlatformPlugin( 'darwin', 'OpenGL.platform.darwin.DarwinPlatform' )