[59214] trunk/dports/python
jochen at macports.org
jochen at macports.org
Sun Oct 11 12:18:52 PDT 2009
Revision: 59214
http://trac.macports.org/changeset/59214
Author: jochen at macports.org
Date: 2009-10-11 12:18:48 -0700 (Sun, 11 Oct 2009)
Log Message:
-----------
new port (see Ticket #21994 for issues with SL and 64 bit installs)
Added Paths:
-----------
trunk/dports/python/py26-mayavi/
trunk/dports/python/py26-mayavi/Portfile
trunk/dports/python/py26-mayavi/files/
trunk/dports/python/py26-mayavi/files/changeset_r24036.diff
Added: trunk/dports/python/py26-mayavi/Portfile
===================================================================
--- trunk/dports/python/py26-mayavi/Portfile (rev 0)
+++ trunk/dports/python/py26-mayavi/Portfile 2009-10-11 19:18:48 UTC (rev 59214)
@@ -0,0 +1,36 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id: Portfile 55247 2009-08-07 22:13:04Z macsforever2000 at macports.org $
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name py26-mayavi
+version 3.2.0
+categories-append devel graphics math
+maintainers nomaintainer
+description The Enthought mayavi package
+long_description 3D Scientific Data Visualization and Plotting using VTK \
+ as the rendering backend and (wx)python for the (G)UI. \
+ VTK must be compiled using carbon.
+platforms darwin
+homepage http://code.enthought.com/projects/mayavi/
+master_sites http://www.enthought.com/repo/ETS/
+distname Mayavi-${version}
+checksums md5 efd2de257e517de54f7697526de9a04c
+
+depends_build-append port:py26-setuptools
+depends_lib-append port:vtk5 \
+ port:py26-configobj port:py26-numpy \
+ port:py26-apptools port:py26-envisageplugins port:py26-traitsgui
+
+depends_run-append port:py26-ipython
+
+pre-fetch {
+ if {![file exists ${prefix}/include/vtk-5.2/vtkCarbonRenderWindow.h]} {
+ ui_error "vtk must be installed with the +carbon variant"
+ error "vtk must be installed with the +carbon variant"
+ }
+}
+
+patchfiles changeset_r24036.diff
+patch.pre_args -p3
Added: trunk/dports/python/py26-mayavi/files/changeset_r24036.diff
===================================================================
--- trunk/dports/python/py26-mayavi/files/changeset_r24036.diff (rev 0)
+++ trunk/dports/python/py26-mayavi/files/changeset_r24036.diff 2009-10-11 19:18:48 UTC (rev 59214)
@@ -0,0 +1,14 @@
+Index: /Mayavi/trunk/enthought/mayavi/preferences/preference_manager.py
+===================================================================
+--- /Mayavi/trunk/enthought/mayavi/preferences/preference_manager.py (revision 22324)
++++ /Mayavi/trunk/enthought/mayavi/preferences/preference_manager.py (revision 24036)
+@@ -99,7 +99,7 @@
+ """Load the default preferences."""
+ # Save current application_home.
+- app_home = ETSConfig.application_home
++ app_home = ETSConfig.get_application_home()
+ # Set it to where the mayavi preferences are temporarily.
+- path = join(ETSConfig.application_data, ID)
++ path = join(ETSConfig.get_application_data(), ID)
+ ETSConfig.application_home = path
+ try:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091011/39ea496e/attachment.html>
More information about the macports-changes
mailing list