[Python-apps-commits] r335 - in packages/mayavi2/trunk/debian (5 files)

kumanna-guest at users.alioth.debian.org kumanna-guest at users.alioth.debian.org
Sun Dec 2 07:35:18 UTC 2007


    Date: Sunday, December 2, 2007 @ 07:35:17
  Author: kumanna-guest
Revision: 335

* debian/control:
  + Add myself to Uploaders
  + Depends: fix python-ets-traits, python-ets-traits-ui version
* debian/rules: 
  + add clean target
  + do not install setup.py - not required
* Add manpage for mayavi2.

Added:
  packages/mayavi2/trunk/debian/manpages
  packages/mayavi2/trunk/debian/mayavi2.1
Modified:
  packages/mayavi2/trunk/debian/changelog
  packages/mayavi2/trunk/debian/control
  packages/mayavi2/trunk/debian/rules

Modified: packages/mayavi2/trunk/debian/changelog
===================================================================
--- packages/mayavi2/trunk/debian/changelog	2007-12-01 23:04:47 UTC (rev 334)
+++ packages/mayavi2/trunk/debian/changelog	2007-12-02 07:35:17 UTC (rev 335)
@@ -1,3 +1,15 @@
+mayavi2 (2.0.2a1-2) unstable; urgency=low
+
+  * debian/control:
+    + Add myself to Uploaders
+    + Depends: fix python-ets-traits, python-ets-traits-ui version
+  * debian/rules: 
+    + add clean target
+    + do not install setup.py - not required
+  * Add manpage for mayavi2.
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Sun, 02 Dec 2007 12:45:05 +0530
+
 mayavi2 (2.0.2a1-1) UNRELEASED; urgency=low
 
   [ Ondrej Certik ]

Modified: packages/mayavi2/trunk/debian/control
===================================================================
--- packages/mayavi2/trunk/debian/control	2007-12-01 23:04:47 UTC (rev 334)
+++ packages/mayavi2/trunk/debian/control	2007-12-02 07:35:17 UTC (rev 335)
@@ -2,8 +2,11 @@
 Section: python
 Priority: optional
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Uploaders: Ondrej Certik <ondrej at certik.cz>, Marco Rodrigues <gothicx at sapo.pt>
-Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.15), python-setuptools (>= 0.6c6-1), python-vtk (>= 5.0.3-1+b1), python-numpy (>= 1:1.0.3-1)
+Uploaders: Ondrej Certik <ondrej at certik.cz>, Marco Rodrigues <gothicx at sapo.pt>, Varun Hiremath <varunhiremath at gmail.com>
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1),
+ python-all-dev (>= 2.3.5-11), python-central (>= 0.5.15),
+ python-setuptools (>= 0.6c6-1), python-vtk (>= 5.0.3-1+b1),
+ python-numpy (>= 1:1.0.3-1)
 Standards-Version: 3.7.2
 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/mayavi2/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/python-apps/packages/mayavi2/trunk/
@@ -12,7 +15,7 @@
 
 Package: mayavi2
 Architecture: any
-Depends: ${python:Depends}, python-ets-traits (>= 2.5.1b-0), python-ets-traits-ui (>= 2.5.1b-0)
+Depends: ${python:Depends}, python-ets-traits (>= 2.0.1), python-ets-traits-ui (>= 2.0.1)
 XB-Python-Version: ${python:Versions}
 Description: A scientific visualization package for 2-D and 3-D data
  MayaVi2 is a cross-platform tool for 2-D and 3-D scientific data
@@ -25,7 +28,7 @@
    * Saving rendered visualization in a variety of image formats.
  .
  MayaVi2 has been designed with scriptability and extensibility in mind.  While
- the mayavi2 application is useable by itself, it may be used as an Envisage
+ the mayavi2 application is usable by itself, it may be used as an Envisage
  plugin which allows it to be embedded in user applications natively.
  Alternatively, it may be used as a visualization engine for any application.
  .

Added: packages/mayavi2/trunk/debian/manpages
===================================================================
--- packages/mayavi2/trunk/debian/manpages	                        (rev 0)
+++ packages/mayavi2/trunk/debian/manpages	2007-12-02 07:35:17 UTC (rev 335)
@@ -0,0 +1 @@
+debian/mayavi2.1

Added: packages/mayavi2/trunk/debian/mayavi2.1
===================================================================
--- packages/mayavi2/trunk/debian/mayavi2.1	                        (rev 0)
+++ packages/mayavi2/trunk/debian/mayavi2.1	2007-12-02 07:35:17 UTC (rev 335)
@@ -0,0 +1,147 @@
+.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-01 23:04:47 UTC (rev 334)
+++ packages/mayavi2/trunk/debian/rules	2007-12-02 07:35:17 UTC (rev 335)
@@ -11,13 +11,16 @@
 
 SITE_PACKAGES=$(DEB_DESTDIR)usr/share/pycentral/mayavi2/site-packages
 
+clean::
+	find -type d | grep build$ | xargs $(RM) -r
+
 python-install-%:
 	mkdir -p $(SITE_PACKAGES)
 	cp -r build/enthought $(SITE_PACKAGES)
-	#rm $(SITE_PACKAGES)/enthought/__init__.py
-	#chmod +x $(SITE_PACKAGES)/enthought/mayavi/scripts/mayavi2.py
 	mkdir -p $(DEB_DESTDIR)usr/bin
 	rm -rf $(DEB_DESTDIR)usr/bin/mayavi2
+	rm -rf $(SITE_PACKAGES)/enthought/tvtk/setup.py
+	sudo 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-tarball:




More information about the Python-apps-commits mailing list