Bug 94142 - [MAINTAINER] graphics/py-visual: update to 3.2.9
Summary: [MAINTAINER] graphics/py-visual: update to 3.2.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sam Lawrance
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 16:30 UTC by Nicola Vitale
Modified: 2006-05-03 14:56 UTC (History)
0 users

See Also:


Attachments
py24-visual-3.2.9.patch (4.73 KB, patch)
2006-03-06 16:30 UTC, Nicola Vitale
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Vitale 2006-03-06 16:30:07 UTC
- Update to 3.2.9
- Add WITH_EXAMPLES option

Generated with FreeBSD Port Tools 0.63
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2006-05-01 22:18:50 UTC
tar: %%PYTHON_SITELIBDIR%%/cvisualmodule.la: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/cvisualmodule.so: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/cvisualmodule.so.1: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/visual/__init__.py: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/visual/__init__.pyc: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/__init__.pyo: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/array_backend.py: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/array_backend.pyc: Cannot stat: No
such file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/array_backend.pyo: Cannot stat: No
such file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/controls.py: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/visual/controls.pyc: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/controls.pyo: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/crayola.py: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/visual/crayola.pyc: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/visual/crayola.pyo: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/visual/factorial.py: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/factorial.pyc: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/factorial.pyo: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/graph.py: Cannot stat: No such file or
directory
tar: %%PYTHON_SITELIBDIR%%/visual/graph.pyc: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/visual/graph.pyo: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/visual/macevent.py: Cannot stat: No such file
or directory
tar: %%PYTHON_SITELIBDIR%%/visual/macevent.pyc: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/macevent.pyo: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/primitives.py: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/primitives.pyc: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/primitives.pyo: Cannot stat: No such
file or directory
tar: %%PYTHON_SITELIBDIR%%/visual/text.py: Cannot stat: No such file or
directory
tar: %%PYTHON_SITELIBDIR%%/visual/text.pyc: Cannot stat: No such file or
directory
tar: %%PYTHON_SITELIBDIR%%/visual/text.pyo: Cannot stat: No such file or
directory
tar: %%PYTHON_SITELIBDIR%%/visual/ui.py: Cannot stat: No such file or
directory
tar: %%PYTHON_SITELIBDIR%%/visual/ui.pyc: Cannot stat: No such file or
directory
tar: %%PYTHON_SITELIBDIR%%/visual/ui.pyo: Cannot stat: No such file or
directory
pkg_create: make_dist: tar command failed with code 256

-- 
Dixi.
Sem.
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2006-05-01 22:19:39 UTC
State Changed
From-To: open->feedback

Ask for maintainer fix.
Comment 3 Nicola Vitale 2006-05-01 23:30:32 UTC
Hi,

> [Sergey Matveychuk, 2006-05-02T01:18:50+00:00]
> tar: %%PYTHON_SITELIBDIR%%/cvisualmodule.la: Cannot stat: No such file
> or directory
> [...]

My fault, sorry.

Here is the correct patch:

diff -ruN py-visual/Makefile py-visual.update-3.2.9/Makefile
--- py-visual/Makefile	Fri Feb 24 16:10:57 2006
+++ py-visual.update-3.2.9/Makefile	Tue May  2 00:14:28 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 py-visual/distinfo py-visual.update-3.2.9/distinfo
--- py-visual/distinfo	Sat Feb 18 03:54:16 2006
+++ py-visual.update-3.2.9/distinfo	Mon May  1 23:49:56 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 py-visual/pkg-plist py-visual.update-3.2.9/pkg-plist
--- py-visual/pkg-plist	Thu Feb 23 11:37:21 2006
+++ py-visual.update-3.2.9/pkg-plist	Mon May  1 23:49:56 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
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2006-05-02 01:48:33 UTC
State Changed
From-To: feedback->open

Feedback received.
Comment 5 Sam Lawrance freebsd_committer freebsd_triage 2006-05-03 13:48:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lawrance

Grab
Comment 6 Sam Lawrance freebsd_committer freebsd_triage 2006-05-03 14:56:18 UTC
State Changed
From-To: open->closed

Committed, thanks! (Changed PLIST_SUB= to PLIST_SUB+=).