ports/85829: [PATCH] graphics/py-cgkit: update to 2.0.0alpha5

Nicola Vitale nivit at email.it
Wed Sep 7 11:30:12 UTC 2005


>Number:         85829
>Category:       ports
>Synopsis:       [PATCH] graphics/py-cgkit: update to 2.0.0alpha5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 07 11:30:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Nicola Vitale
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:

	System: FreeBSD stellina.domo.sva 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #1: Mon Sep  5 09:56:50 CEST
>Description:

	- Update to 2.0.0alpha5
	  This new pre-release includes an option for installing
	  a light version of the kit.

	Generated with FreeBSD Port Tools 0.63

>How-To-Repeat:
>Fix:

--- py24-cgkit-2.0.0a.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/py-cgkit/Makefile /usr/ports/graphics/py-cgkit.update-2.0.0alpha5/Makefile
--- /usr/ports/graphics/py-cgkit/Makefile	Thu Sep  1 12:27:39 2005
+++ /usr/ports/graphics/py-cgkit.update-2.0.0alpha5/Makefile	Wed Sep  7 13:12:01 2005
@@ -12,24 +12,31 @@
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	${PORTNAME}-${PORTVERSION}lpha4
+DISTNAME=	${PORTNAME}-${PORTVERSION}lpha5
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Python Computer Graphics Kit
 
 BUILD_DEPENDS=	bjam:${PORTSDIR}/devel/boost-python scons:${PORTSDIR}/devel/scons
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/OpenGL:${PORTSDIR}/graphics/py-opengl \
-		${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray \
-		${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
-		${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \
-		${PYTHON_SITELIBDIR}/protocols/__init__.py:${PORTSDIR}/devel/py-protocols \
-		aqsis:${PORTSDIR}/graphics/aqsis
 
 USE_XLIB=	yes
 USE_REINPLACE=	yes
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
+.if defined(INSTALL_CGKIT_LIGHT)
+PLIST_SUB+=	CGKIT_LIGHT="@comment "
+.else
+PLIST_SUB+=	CGKIT_LIGHT=""
+RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/OpenGL:${PORTSDIR}/graphics/py-opengl \
+		${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray \
+		${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
+		${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \
+		${PYTHON_SITELIBDIR}/protocols/__init__.py:${PORTSDIR}/devel/py-protocols \
+		${PYTHON_SITELIBDIR}/serial/__init__.py:${PORTSDIR}/comms/py-serial \
+		aqsis:${PORTSDIR}/graphics/aqsis
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ( ${OSVERSION} < 502126 )
@@ -48,6 +55,13 @@
 	@${ECHO_MSG} "Define WITH_LIB3DS if you want to be able to import 3ds files"
 	@${ECHO_MSG}
 .endif
+
+.if !defined(INSTALL_CGKIT_LIGHT)
+	@${ECHO_MSG}
+	@${ECHO_MSG} "Define INSTALL_CGKIT_LIGHT if you do not want to install any external dependencies"
+	@${ECHO_MSG}
+.endif
+
 post-extract:
 	@cd ${WRKSRC}; \
 	for FILE in $($$DOS2UNIX_FILES); do \
@@ -61,6 +75,9 @@
 	${CP} ${FILESDIR}/config.cfg ${WRKSRC};
 .if defined(WITH_LIB3DS)
 	@${REINPLACE_CMD} -e "s/^#//1" ${WRKSRC}/config.cfg;
+.endif
+.if defined(INSTALL_CGKIT_LIGHT)
+	@${ECHO} "INSTALL_CGKIT_LIGHT = True" >> ${WRKSRC}/config.cfg;
 .endif
 	@${REINPLACE_CMD} -e "/%%LOCALBASE%%/s//${LOCALBASE:S/\//\\\//g}/g" \
 	    -e "/%%X11BASE%%/s//${X11BASE:S/\//\\\//g}/g" ${WRKSRC}/supportlib/cpp_config.cfg ${WRKSRC}/config.cfg; \
diff -ruN --exclude=CVS /usr/ports/graphics/py-cgkit/distinfo /usr/ports/graphics/py-cgkit.update-2.0.0alpha5/distinfo
--- /usr/ports/graphics/py-cgkit/distinfo	Thu Sep  1 12:27:39 2005
+++ /usr/ports/graphics/py-cgkit.update-2.0.0alpha5/distinfo	Tue Sep  6 16:15:15 2005
@@ -1,2 +1,2 @@
-MD5 (cgkit-2.0.0alpha4.tar.gz) = 63dc4e4e6d42b7a9b910c64f448b56af
-SIZE (cgkit-2.0.0alpha4.tar.gz) = 583080
+MD5 (cgkit-2.0.0alpha5.tar.gz) = 445ec6c79397bc3567bb60e0692223bc
+SIZE (cgkit-2.0.0alpha5.tar.gz) = 636565
diff -ruN --exclude=CVS /usr/ports/graphics/py-cgkit/pkg-plist /usr/ports/graphics/py-cgkit.update-2.0.0alpha5/pkg-plist
--- /usr/ports/graphics/py-cgkit/pkg-plist	Thu Sep  1 12:27:39 2005
+++ /usr/ports/graphics/py-cgkit.update-2.0.0alpha5/pkg-plist	Tue Sep  6 18:57:37 2005
@@ -53,13 +53,34 @@
 %%PYTHON_SITELIBDIR%%/cgkit/Interfaces/iworldobject.py
 %%PYTHON_SITELIBDIR%%/cgkit/Interfaces/iworldobject.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/Interfaces/iworldobject.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/_Image.py
+%%PYTHON_SITELIBDIR%%/cgkit/_Image.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/_Image.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/_ImageDraw.py
+%%PYTHON_SITELIBDIR%%/cgkit/_ImageDraw.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/_ImageDraw.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/GL.py
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/GL.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/GL.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/GLU.py
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/GLU.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/GLU.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/GLUT.py
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/GLUT.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/GLUT.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/__init__.py
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/__init__.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/_OpenGL/__init__.pyo
 %%PYTHON_SITELIBDIR%%/cgkit/__init__.py
 %%PYTHON_SITELIBDIR%%/cgkit/__init__.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/__init__.pyo
-%%PYTHON_SITELIBDIR%%/cgkit/_core.so
+%%CGKIT_LIGHT%%%%PYTHON_SITELIBDIR%%/cgkit/_core.so
 %%PYTHON_SITELIBDIR%%/cgkit/_slparser.py
 %%PYTHON_SITELIBDIR%%/cgkit/_slparser.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/_slparser.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/all/__init__.py
+%%PYTHON_SITELIBDIR%%/cgkit/all/__init__.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/all/__init__.pyo
 %%PYTHON_SITELIBDIR%%/cgkit/application.py
 %%PYTHON_SITELIBDIR%%/cgkit/application.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/application.pyo
@@ -72,6 +93,12 @@
 %%PYTHON_SITELIBDIR%%/cgkit/autocam.py
 %%PYTHON_SITELIBDIR%%/cgkit/autocam.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/autocam.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/beziercurve.py
+%%PYTHON_SITELIBDIR%%/cgkit/beziercurve.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/beziercurve.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/beziercurvegeom.py
+%%PYTHON_SITELIBDIR%%/cgkit/beziercurvegeom.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/beziercurvegeom.pyo
 %%PYTHON_SITELIBDIR%%/cgkit/boundingbox.py
 %%PYTHON_SITELIBDIR%%/cgkit/boundingbox.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/boundingbox.pyo
@@ -195,6 +222,30 @@
 %%PYTHON_SITELIBDIR%%/cgkit/keydefs.py
 %%PYTHON_SITELIBDIR%%/cgkit/keydefs.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/keydefs.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/light/__init__.py
+%%PYTHON_SITELIBDIR%%/cgkit/light/__init__.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/light/__init__.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/light/_core.py
+%%PYTHON_SITELIBDIR%%/cgkit/light/_core.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/light/_core.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/__init__.py
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/__init__.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/__init__.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/mat3.py
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/mat3.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/mat3.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/mat4.py
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/mat4.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/mat4.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/quat.py
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/quat.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/quat.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/vec3.py
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/vec3.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/vec3.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/vec4.py
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/vec4.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes/vec4.pyo
 %%PYTHON_SITELIBDIR%%/cgkit/lightsource.py
 %%PYTHON_SITELIBDIR%%/cgkit/lightsource.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/lightsource.pyo
@@ -213,6 +264,9 @@
 %%PYTHON_SITELIBDIR%%/cgkit/mayaascii.py
 %%PYTHON_SITELIBDIR%%/cgkit/mayaascii.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/mayaascii.pyo
+%%PYTHON_SITELIBDIR%%/cgkit/motionpath.py
+%%PYTHON_SITELIBDIR%%/cgkit/motionpath.pyc
+%%PYTHON_SITELIBDIR%%/cgkit/motionpath.pyo
 %%PYTHON_SITELIBDIR%%/cgkit/noise.py
 %%PYTHON_SITELIBDIR%%/cgkit/noise.pyc
 %%PYTHON_SITELIBDIR%%/cgkit/noise.pyo
@@ -365,7 +419,11 @@
 %%PYTHON_SITELIBDIR%%/cgkit/x3dimport.pyo
 @dirrm %%PYTHON_SITELIBDIR%%/cgkit/GUI
 @dirrm %%PYTHON_SITELIBDIR%%/cgkit/Interfaces
+ at dirrm %%PYTHON_SITELIBDIR%%/cgkit/_OpenGL
+ at dirrm %%PYTHON_SITELIBDIR%%/cgkit/all
 @dirrm %%PYTHON_SITELIBDIR%%/cgkit/glove
+ at dirrm %%PYTHON_SITELIBDIR%%/cgkit/light/cgtypes
+ at dirrm %%PYTHON_SITELIBDIR%%/cgkit/light
 @dirrm %%PYTHON_SITELIBDIR%%/cgkit/spacedevice
 @dirrm %%PYTHON_SITELIBDIR%%/cgkit/wintab
 @dirrm %%PYTHON_SITELIBDIR%%/cgkit
--- py24-cgkit-2.0.0a.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list