Skip site navigation (1)Skip section navigation (2)
Date:      6 Mar 2006 16:15:57 -0000
From:      nivit@email.it (Nicola Vitale)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94142: [MAINTAINER] graphics/py-visual: update to 3.2.9
Message-ID:  <20060306161557.16647.qmail@stellina>
Resent-Message-ID: <200603061630.k26GU7cw044684@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94142
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/py-visual: update to 3.2.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 06 16:30:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nicola Vitale
>Release:        FreeBSD 5.4-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD stellina.domo.sva 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #8: Sun Feb 26 11:58:03 CET 2006
>Description:
- Update to 3.2.9
- Add WITH_EXAMPLES option

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- py24-visual-3.2.9.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/py-visual/Makefile /usr/ports/graphics/py-visual.update-3.2.9/Makefile
--- /usr/ports/graphics/py-visual/Makefile	Fri Feb 24 16:10:57 2006
+++ /usr/ports/graphics/py-visual.update-3.2.9/Makefile	Mon Mar  6 17:07:03 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	visual
-PORTVERSION=	3.2.7
-PORTREVISION=	1
+PORTVERSION=	3.2.9
 CATEGORIES=	graphics python
 MASTER_SITES=	http://www.vpython.org/download/ \
 		${MASTER_SITE_SOURCEFORGE}
@@ -28,9 +27,11 @@
 USE_PYTHON=	2.3+
 USE_XLIB=	yes
 
+OPTIONS=	EXAMPLES "install example files" on
+OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-html-dir=${DOCSDIR} \
-		--with-example-dir=${EXAMPLESDIR}
+CONFIGURE_ARGS=	--with-html-dir=${DOCSDIR}
 CONFIGURE_ENV=	PYTHONPATH=${PYTHON_LIBDIR}
 .if defined(NOPORTDOCS)
 CONFIGURE_ARGS+=	--disable-docs
@@ -46,6 +47,14 @@
 
 .if ${ARCH} == amd64
 IGNORE=		loops infinitely during build
+.endif
+
+.if !defined(WITH_EXAMPLES)
+CONFIGURE_ARGS+=	--disable-examples
+PLIST_SUB=	PORTEXAMPLES="@comment "
+.else
+CONFIGURE_ARGS+=	--with-example-dir=${EXAMPLESDIR}
+PLIST_SUB=	PORTEXAMPLES=""
 .endif
 
 post-patch:
diff -ruN --exclude=CVS /usr/ports/graphics/py-visual/distinfo /usr/ports/graphics/py-visual.update-3.2.9/distinfo
--- /usr/ports/graphics/py-visual/distinfo	Sat Feb 18 10:10:18 2006
+++ /usr/ports/graphics/py-visual.update-3.2.9/distinfo	Mon Mar  6 14:26:33 2006
@@ -1,3 +1,3 @@
-MD5 (visual-3.2.7.tar.bz2) = 3fd2ac486835f1412833022776df1aab
-SHA256 (visual-3.2.7.tar.bz2) = 7c644884f6ab60f4bfda048348ecf7cdf97f1b18b3bda8f61c163468a931e921
-SIZE (visual-3.2.7.tar.bz2) = 414863
+MD5 (visual-3.2.9.tar.bz2) = 58e46ecb628a4fdbb5c58540b6cbede1
+SHA256 (visual-3.2.9.tar.bz2) = 613df56208b668f7ebe9fbebc862d5684883ab27658fb8a89c8c05d5e1720f49
+SIZE (visual-3.2.9.tar.bz2) = 419962
diff -ruN --exclude=CVS /usr/ports/graphics/py-visual/pkg-plist /usr/ports/graphics/py-visual.update-3.2.9/pkg-plist
--- /usr/ports/graphics/py-visual/pkg-plist	Fri Feb 24 16:30:29 2006
+++ /usr/ports/graphics/py-visual.update-3.2.9/pkg-plist	Mon Mar  6 14:58:37 2006
@@ -85,40 +85,40 @@
 %%PORTDOCS%%%%DOCSDIR%%/visual/sphere.html
 %%PORTDOCS%%%%DOCSDIR%%/visual/spherebox.gif
 %%PORTDOCS%%%%DOCSDIR%%/visual/vector.html
-%%EXAMPLESDIR%%/Tk-Visual.py
-%%EXAMPLESDIR%%/bounce.py
-%%EXAMPLESDIR%%/bounce2.py
-%%EXAMPLESDIR%%/colorsliders.py
-%%EXAMPLESDIR%%/controlstest.py
-%%EXAMPLESDIR%%/convex.py
-%%EXAMPLESDIR%%/crossproduct.py
-%%EXAMPLESDIR%%/crystal.py
-%%EXAMPLESDIR%%/dipole.py
-%%EXAMPLESDIR%%/doublependulum.py
-%%EXAMPLESDIR%%/drape.py
-%%EXAMPLESDIR%%/faces_cone.py
-%%EXAMPLESDIR%%/faces_heightfield.py
-%%EXAMPLESDIR%%/gas.py
-%%EXAMPLESDIR%%/glinfo.py
-%%EXAMPLESDIR%%/graphtest.py
-%%EXAMPLESDIR%%/gyro.py
-%%EXAMPLESDIR%%/gyro2.py
-%%EXAMPLESDIR%%/hanoi.py
-%%EXAMPLESDIR%%/lathe.py
-%%EXAMPLESDIR%%/lorenz.py
-%%EXAMPLESDIR%%/orbit.py
-%%EXAMPLESDIR%%/planar.py
-%%EXAMPLESDIR%%/randombox.py
-%%EXAMPLESDIR%%/stars.py
-%%EXAMPLESDIR%%/stonehenge.py
-%%EXAMPLESDIR%%/texttest.py
-%%EXAMPLESDIR%%/tictac.py
-%%EXAMPLESDIR%%/tictacdat.py
-%%EXAMPLESDIR%%/toroid.py
-%%EXAMPLESDIR%%/toroid_drag.py
-%%EXAMPLESDIR%%/wave.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Tk-Visual.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bounce.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bounce2.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/colorsliders.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/controlstest.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/convex.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crossproduct.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crystal.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dipole.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/doublependulum.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drape.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/faces_cone.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/faces_heightfield.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gas.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glinfo.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/graphtest.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gyro.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gyro2.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hanoi.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lathe.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lorenz.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/orbit.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/planar.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/randombox.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stars.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stonehenge.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/texttest.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tictac.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tictacdat.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toroid.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toroid_drag.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wave.py
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/visual/icons
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/visual
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 @dirrm %%PYTHON_SITELIBDIR%%/visual
--- py24-visual-3.2.9.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060306161557.16647.qmail>