diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-17 16:36:41 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-17 16:36:41 +0000 |
commit | 25569777c5ba60800290a5159647a4a50f695294 (patch) | |
tree | cfa1214af475dc0574158e2ddee68d914d02c92a /graphics/py-visual | |
parent | - Unbreak on 7-current. (diff) |
With this Python module a program can create 3D objects (such as spheres,
curves, etc.) and position them in 3D space. Visual, running in a separate
thread, automatically updates a 3D scene many times per second, to reflect
the current positions of the objects.
The programmer does not need to deal with display management, but can focus
on the computational aspects of the program.
The user can navigate in the 3D scene by using the mouse to zoom and rotate
while the program is running. Visual supports full vector algebra.
PR: ports/83593
Submitted by: Nicola Vitale <nivit@email.it>
Notes
Notes:
svn path=/head/; revision=139402
Diffstat (limited to 'graphics/py-visual')
-rw-r--r-- | graphics/py-visual/Makefile | 42 | ||||
-rw-r--r-- | graphics/py-visual/distinfo | 2 | ||||
-rw-r--r-- | graphics/py-visual/pkg-descr | 10 | ||||
-rw-r--r-- | graphics/py-visual/pkg-plist | 123 |
4 files changed, 177 insertions, 0 deletions
diff --git a/graphics/py-visual/Makefile b/graphics/py-visual/Makefile new file mode 100644 index 000000000000..3133500f47f3 --- /dev/null +++ b/graphics/py-visual/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: py-visual +# Date created: 2005-07-13 +# Whom: Nicola Vitale <nivit@email.it> +# +# $FreeBSD$ +# + +PORTNAME= visual +PORTVERSION= 3.2.1 +CATEGORIES= graphics python +MASTER_SITES= http://www.vpython.org/download/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nivit@email.it +COMMENT= A python module that offers real 3D visual output + +BUILD_DEPENDS= ${PYNUMERIC} \ + bjam:${PORTSDIR}/devel/boost-python +LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea +RUN_DEPENDS= ${PYNUMERIC} + +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gtk12 +USE_LIBTOOL_VER= 15 +USE_PYTHON= 2.3+ +USE_XLIB= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \ + --with-example-dir=${EXAMPLESDIR} +.if defined(NOPORTDOCS) +CONFIGURE_ARGS+= --disable-docs +.endif + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= "does not compile" +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/py-visual/distinfo b/graphics/py-visual/distinfo new file mode 100644 index 000000000000..8fa830cd56cc --- /dev/null +++ b/graphics/py-visual/distinfo @@ -0,0 +1,2 @@ +MD5 (visual-3.2.1.tar.bz2) = 242b0ed09b447e45d4690fe5935516bd +SIZE (visual-3.2.1.tar.bz2) = 411850 diff --git a/graphics/py-visual/pkg-descr b/graphics/py-visual/pkg-descr new file mode 100644 index 000000000000..dfacc3929bb7 --- /dev/null +++ b/graphics/py-visual/pkg-descr @@ -0,0 +1,10 @@ +With this Python module a program can create 3D objects (such as spheres, +curves, etc.) and position them in 3D space. Visual, running in a separate +thread, automatically updates a 3D scene many times per second, to reflect +the current positions of the objects. +The programmer does not need to deal with display management, but can focus +on the computational aspects of the program. +The user can navigate in the 3D scene by using the mouse to zoom and rotate +while the program is running. Visual supports full vector algebra. + +WWW: http://www.vpython.org/ diff --git a/graphics/py-visual/pkg-plist b/graphics/py-visual/pkg-plist new file mode 100644 index 000000000000..588236f748f4 --- /dev/null +++ b/graphics/py-visual/pkg-plist @@ -0,0 +1,123 @@ +@comment $FreeBSD$ +bin/vpython +%%PYTHON_SITELIBDIR%%/cvisualmodule.so +%%PYTHON_SITELIBDIR%%/cvisualmodule.so.1 +%%PYTHON_SITELIBDIR%%/visual/__init__.py +%%PYTHON_SITELIBDIR%%/visual/__init__.pyc +%%PYTHON_SITELIBDIR%%/visual/__init__.pyo +%%PYTHON_SITELIBDIR%%/visual/array_backend.py +%%PYTHON_SITELIBDIR%%/visual/array_backend.pyc +%%PYTHON_SITELIBDIR%%/visual/array_backend.pyo +%%PYTHON_SITELIBDIR%%/visual/controls.py +%%PYTHON_SITELIBDIR%%/visual/controls.pyc +%%PYTHON_SITELIBDIR%%/visual/controls.pyo +%%PYTHON_SITELIBDIR%%/visual/crayola.py +%%PYTHON_SITELIBDIR%%/visual/crayola.pyc +%%PYTHON_SITELIBDIR%%/visual/crayola.pyo +%%PYTHON_SITELIBDIR%%/visual/factorial.py +%%PYTHON_SITELIBDIR%%/visual/factorial.pyc +%%PYTHON_SITELIBDIR%%/visual/factorial.pyo +%%PYTHON_SITELIBDIR%%/visual/graph.py +%%PYTHON_SITELIBDIR%%/visual/graph.pyc +%%PYTHON_SITELIBDIR%%/visual/graph.pyo +%%PYTHON_SITELIBDIR%%/visual/macevent.py +%%PYTHON_SITELIBDIR%%/visual/macevent.pyc +%%PYTHON_SITELIBDIR%%/visual/macevent.pyo +%%PYTHON_SITELIBDIR%%/visual/primitives.py +%%PYTHON_SITELIBDIR%%/visual/primitives.pyc +%%PYTHON_SITELIBDIR%%/visual/primitives.pyo +%%PYTHON_SITELIBDIR%%/visual/text.py +%%PYTHON_SITELIBDIR%%/visual/text.pyc +%%PYTHON_SITELIBDIR%%/visual/text.pyo +%%PYTHON_SITELIBDIR%%/visual/ui.py +%%PYTHON_SITELIBDIR%%/visual/ui.pyc +%%PYTHON_SITELIBDIR%%/visual/ui.pyo +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualIntro.css +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualIntro.html +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualRef-1.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualRef-2.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualRef-3.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualRef-4.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualRef-5.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualRef-6.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualRef-7.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/VisualRef.css +%%PORTDOCS%%%%DOCSDIR%%/visual/arrow.html +%%PORTDOCS%%%%DOCSDIR%%/visual/axes.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/box.html +%%PORTDOCS%%%%DOCSDIR%%/visual/color.html +%%PORTDOCS%%%%DOCSDIR%%/visual/cone.html +%%PORTDOCS%%%%DOCSDIR%%/visual/controls.html +%%PORTDOCS%%%%DOCSDIR%%/visual/convex.html +%%PORTDOCS%%%%DOCSDIR%%/visual/curve.html +%%PORTDOCS%%%%DOCSDIR%%/visual/cylinder.html +%%PORTDOCS%%%%DOCSDIR%%/visual/defaults.html +%%PORTDOCS%%%%DOCSDIR%%/visual/delete.html +%%PORTDOCS%%%%DOCSDIR%%/visual/display.html +%%PORTDOCS%%%%DOCSDIR%%/visual/ellipsoid.html +%%PORTDOCS%%%%DOCSDIR%%/visual/faces.html +%%PORTDOCS%%%%DOCSDIR%%/visual/factorial.html +%%PORTDOCS%%%%DOCSDIR%%/visual/float.html +%%PORTDOCS%%%%DOCSDIR%%/visual/frame.html +%%PORTDOCS%%%%DOCSDIR%%/visual/graph.html +%%PORTDOCS%%%%DOCSDIR%%/visual/helix.html +%%PORTDOCS%%%%DOCSDIR%%/visual/icons/blank.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/icons/contents.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/icons/index.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/icons/modules.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/icons/next.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/icons/previous.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/icons/up.gif +%%PORTDOCS%%%%DOCSDIR%%/visual/index.html +%%PORTDOCS%%%%DOCSDIR%%/visual/keyboard.html +%%PORTDOCS%%%%DOCSDIR%%/visual/label.html +%%PORTDOCS%%%%DOCSDIR%%/visual/license.txt +%%PORTDOCS%%%%DOCSDIR%%/visual/mouse.html +%%PORTDOCS%%%%DOCSDIR%%/visual/mouse_click.html +%%PORTDOCS%%%%DOCSDIR%%/visual/mouse_drag.html +%%PORTDOCS%%%%DOCSDIR%%/visual/options.html +%%PORTDOCS%%%%DOCSDIR%%/visual/pyramid.html +%%PORTDOCS%%%%DOCSDIR%%/visual/rate.html +%%PORTDOCS%%%%DOCSDIR%%/visual/ring.html +%%PORTDOCS%%%%DOCSDIR%%/visual/rotation.html +%%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 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/visual/icons +%%PORTDOCS%%@dirrm %%DOCSDIR%%/visual +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%EXAMPLESDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/visual |