[Python-apps-commits] r390 - in packages/mayavi2/trunk/debian (6 files)
varun-guest at users.alioth.debian.org
varun-guest at users.alioth.debian.org
Thu Dec 6 20:27:04 UTC 2007
Date: Thursday, December 6, 2007 @ 20:27:03
Author: varun-guest
Revision: 390
* Install upstream provided manpage.
* Install examples and docs.
Added:
packages/mayavi2/trunk/debian/docs
packages/mayavi2/trunk/debian/examples
Modified:
packages/mayavi2/trunk/debian/changelog
packages/mayavi2/trunk/debian/manpages
packages/mayavi2/trunk/debian/rules
Deleted:
packages/mayavi2/trunk/debian/mayavi2.1
Modified: packages/mayavi2/trunk/debian/changelog
===================================================================
--- packages/mayavi2/trunk/debian/changelog 2007-12-06 18:43:28 UTC (rev 389)
+++ packages/mayavi2/trunk/debian/changelog 2007-12-06 20:27:03 UTC (rev 390)
@@ -8,7 +8,8 @@
* debian/rules:
+ add clean target
+ fix executable permissions of some files
- * Add manpage for mayavi2.
+ * Install upstream provided manpage.
+ * Install examples and docs.
[ Kumar Appaiah ]
* Build-Depend on python-vtk (>= 5.0.3-1) instead of 5.0.3-1+b1.
Added: packages/mayavi2/trunk/debian/docs
===================================================================
--- packages/mayavi2/trunk/debian/docs (rev 0)
+++ packages/mayavi2/trunk/debian/docs 2007-12-06 20:27:03 UTC (rev 390)
@@ -0,0 +1 @@
+enthought.mayavi/docs/*
Added: packages/mayavi2/trunk/debian/examples
===================================================================
--- packages/mayavi2/trunk/debian/examples (rev 0)
+++ packages/mayavi2/trunk/debian/examples 2007-12-06 20:27:03 UTC (rev 390)
@@ -0,0 +1 @@
+enthought.mayavi/examples/*
Modified: packages/mayavi2/trunk/debian/manpages
===================================================================
--- packages/mayavi2/trunk/debian/manpages 2007-12-06 18:43:28 UTC (rev 389)
+++ packages/mayavi2/trunk/debian/manpages 2007-12-06 20:27:03 UTC (rev 390)
@@ -1 +1 @@
-debian/mayavi2.1
+enthought.mayavi/docs/mayavi2.man
Deleted: packages/mayavi2/trunk/debian/mayavi2.1
===================================================================
--- packages/mayavi2/trunk/debian/mayavi2.1 2007-12-06 18:43:28 UTC (rev 389)
+++ packages/mayavi2/trunk/debian/mayavi2.1 2007-12-06 20:27:03 UTC (rev 390)
@@ -1,147 +0,0 @@
-.TH MAYAVI2 "1" "December 2007" "mayavi2 MayaVi" "User Commands"
-.SH NAME
-mayavi2 \- GUI for Scientific Visualization using Python and the Visualization Toolkit
-.SH DESCRIPTION
-Usage:
-.PP
-mayavi2 [options] ... [arg1] [arg2] ...
-.PP
-Where arg1, arg2 ... are optional file names that correspond to saved
-MayaVi2 visualizations (file.mv2) or MayaVi2 scripts (file.py). Valid
-options are one or more of the following:
-.PP
-\fB\-d\fR vtk\-file.[vt*,xml]
-\fB\-\-vtk\fR vtk\-file.[vt*,xml]
-.IP
-vtk\-file.vt* can be any VTK file (old style or XML).
-.PP
-\fB\-p\fR plot3d\-xyz\-file
-\fB\-\-plot3d\-xyz\fR plot3d\-xyz\-file
-.IP
-The plot3d\-xyz\-file must be a PLOT3D single block co\-ordinate
-file.
-.PP
-\fB\-q\fR plot3d\-q\-file
-\fB\-\-plot3d\-q\fR plot3d\-q\-file
-.IP
-The plot3d\-q\-file must be a PLOT3D single block solution file.
-The \fB\-q\fR option is optional but must always follow the
-\fB\-p\fR/\-\-plot3d\-xyz option.
-.PP
-\fB\-e\fR ensight\-case\-file [FIXME]
-\fB\-\-ensight\fR ensight\-case\-file
-.TP
-ensight\-case\-file must be a valid EnSight case file.
-EnSightGold
-.IP
-and EnSight6 formats are supported.
-.PP
-\fB\-w\fR vrml\-file
-\fB\-\-vrml\fR vrml\-file
-.IP
-Imports a VRML2 scene given an appropriate file.
-.PP
-\fB\-3\fR 3DStudio\-file
-\fB\-\-3ds\fR 3dStudio\-file
-.IP
-Imports a 3D Studio scene given an appropriate file.
-.PP
-\fB\-\-filter\fR filter\-name
-\fB\-f\fR filter\-name
-.IP
-The passed filter name is loaded with respect to the current
-source/filter object. The filter name must be a valid one if not
-you will get an error message.
-.IP
-If the filter is specified as 'package.sub.filter.SomeFilter'
-then the filter (`SomeFilter`) is imported from
-\&'package.sub.filter'. Standard modules provided with mayavi2 do
-not need the full path specification.
-.IP
-Example::
-.IP
-mayavi2 \fB\-d\fR data.vtk \fB\-f\fR ExtractVectorNorm \fB\-f\fR m2_user_filters.TestFilter
-.IP
-In this example 'ExtractVectorNorm' is a standard filter and
-\&'m2_user_filters.TestFilter' is some user defined filter.
-.PP
-\fB\-m\fR module\-name
-\fB\-\-module\fR module\-name
-.IP
-The passed module name is loaded in the current ModuleManager.
-The module name must be a valid one if not you will get an error
-message.
-.IP
-If a module is specified as 'package.sub.module.SomeModule' then
-the module (`SomeModule`) is imported from 'package.sub.module'.
-Standard modules provided with mayavi2 do not need the full path
-specification.
-.IP
-Example::
-.IP
-mayavi2 \fB\-d\fR data.vtk \fB\-m\fR Outline \fB\-m\fR m2_user_modules.TestModule
-.IP
-In this example 'Outline' is a standard module and
-\&'m2_user_modules.TestModule' is some user defined module.
-.PP
-\fB\-M\fR
-\fB\-\-module\-mgr\fR
-.IP
-Starts up a new module manager on the MayaVi pipeline.
-.PP
-\fB\-n\fR
-\fB\-\-new\-scene\fR
-.TP
-Creates a new TVTK scene.
-Any options passed after this will
-.IP
-apply to this newly created scene.
-.PP
-\fB\-x\fR script\-file
-\fB\-\-exec\fR script\-file
-.IP
-This executes the given script in a namespace where we guarantee
-that the name 'mayavi' is MayaVi's script instance \fB\-\-\fR just like
-in the embedded Python interpreter.
-.IP
-**WARNING**: Note that this uses `execfile`, so please note that
-.IP
-this can be dangerous if the script does something
-nasty!
-.PP
-\fB\-z\fR saved\-visualization\-file
-\fB\-\-viz\fR saved\-visualization\-file
-\fB\-\-visualization\fR saved\-visualization\-file
-.IP
-Loads a previously saved MayaVi2 visualization file passed as the
-argument.
-.PP
-\fB\-V\fR
-\fB\-\-version\fR
-.IP
-Prints the MayaVi version.
-.PP
-\fB\-h\fR
-\fB\-\-help\fR
-.IP
-Prints this help message.
-.PP
-Examples::
-.IP
-mayavi2 test.mv2 (or mayavi2 \fB\-z\fR test.mv2)
-.IP
-mayavi2 test.py (or mayavi2 \fB\-x\fR test.py)
-.IP
-mayavi2 test.mv2 other.mv2 (or mayavi2 \fB\-z\fR test.mv2 \fB\-z\fR other.mv2)
-.IP
-mayavi2 \fB\-d\fR test.vtk \fB\-m\fR Axes \fB\-m\fR GridPlane \e
-\fB\-f\fR Threshold \fB\-m\fR IsoSurface \e
-\fB\-n\fR \fB\-d\fR heart.vtk \fB\-m\fR Outline \fB\-m\fR ContourGridPlane
-.SH "SEE ALSO"
-vtk(1)
-.SH HOMEPAGE
-http://code.enthought.com/mayavi2/
-.SH AUTHORS
-This manual page was generated using help2man and edited by Varun
-Hiremath <varunhiremath at gmail.com>, for the Debian project (but may be
-used by others).
Modified: packages/mayavi2/trunk/debian/rules
===================================================================
--- packages/mayavi2/trunk/debian/rules 2007-12-06 18:43:28 UTC (rev 389)
+++ packages/mayavi2/trunk/debian/rules 2007-12-06 20:27:03 UTC (rev 390)
@@ -18,9 +18,10 @@
mkdir -p $(SITE_PACKAGES)
cp -r build/enthought $(SITE_PACKAGES)
mkdir -p $(DEB_DESTDIR)usr/bin
- rm -rf $(DEB_DESTDIR)usr/bin/mayavi2
- sed -i '/#!/d' $(SITE_PACKAGES)/enthought/tvtk/setup.py
- sed -i '/#!/d' $(SITE_PACKAGES)/enthought/mayavi/scripts/mayavi2.py
+ $(RM) $(DEB_DESTDIR)usr/bin/mayavi2
+ $(RM) $(DEB_DESTDIR)usr/share/doc/mayavi2/mayavi2.man
+ sed -i '/^#!/d' $(SITE_PACKAGES)/enthought/tvtk/setup.py
+ sed -i '/^#!/d' $(SITE_PACKAGES)/enthought/mayavi/scripts/mayavi2.py
ln -s /usr/lib/python2.4/site-packages/enthought/mayavi/scripts/mayavi2 $(DEB_DESTDIR)usr/bin/mayavi2
get-orig-source:
More information about the Python-apps-commits
mailing list