Ticket #27016: py26-mayavi_Portfile.diff

File py26-mayavi_Portfile.diff, 2.4 KB (added by jjstickel@…, 13 years ago)
  • python/py26-mayavi/Portfile

    old new  
    55PortGroup       python26 1.0
    66
    77name                py26-mayavi
    8 version             3.3.2
     8version             3.4.1
    99categories-append   devel graphics math
    10 maintainers         nomaintainer
     10maintainers         vcn.com:jjstickel openmaintainer
    1111description         The Enthought mayavi package
    1212long_description    3D Scientific Data Visualization and Plotting using VTK as the \
    13     rendering backend and (wx)python for the (G)UI. VTK must be \
    14     installed using the same framework (cocoa, carbon, x11/gtk) as wxWidgets \
    15     and wxPython.
     13    rendering backend and wxpython or pyqt4 for the (G)UI.
    1614
    1715platforms           darwin
    1816homepage            http://code.enthought.com/projects/mayavi/
    1917master_sites        http://www.enthought.com/repo/ETS/
    2018distname            Mayavi-${version}
    21 checksums           md5 1cc31b3805631bbafd4adee95ec93a68
    2219
    23 depends_build-append    port:py26-distribute
     20checksums           md5     a6bb49b4448478664a719c44f72de750 \
     21                    sha1    b4bf2e03bcea73dfb32a5e1052ff2df0ea618ab6 \
     22                    rmd160  669d9c90bcc9bd67a1bd7b90bbafd314b849c20c
     23
     24depends_build-append    port:py26-distribute port:py26-sphinx
    2425depends_lib-append      port:vtk5 \
    2526                        port:py26-configobj port:py26-numpy \
    2627                        port:py26-apptools port:py26-envisageplugins port:py26-traitsgui
    2728
    28 depends_run-append    port:py26-ipython
    29 
    30 # How to check for the framework used to install vtk and wxWidgets?
    31 #pre-fetch {
    32 #    if {![file exists ${prefix}/include/vtk-5.2/vtkCarbonRenderWindow.h]} {
    33 #        ui_error "vtk must be installed with the +carbon variant"
    34 #        error "vtk must be installed with the +carbon variant"
    35 #    }
    36 #}
    37 
    38 #patchfiles          changeset_r24036.diff
    39 #patch.pre_args      -p3
     29patch {   
     30    reinplace "s|sphinx-build|sphinx-build-2.6|g" \
     31        ${worksrcpath}/docs/Makefile \
     32        ${worksrcpath}/docs/MakefileMayavi \
     33        ${worksrcpath}/docs/MakefileTVTK
     34}
     35
     36# if variant dependencies or checking becomes possible, this can be improved
     37pre-configure {
     38    ui_msg \
     39        "Note that VTK must be installed using the same framework (cocoa
     40    OR x11/gtk) as that used for the GUI (wxwidgets/wxpython OR
     41    qt4/pyqt4)."
     42}