source: trunk/dports/python/py-mayavi/Portfile

Last change on this file was 154003, checked in by larryv@…, 9 months ago

py-mayavi: Update to 4.5.0

Closes: #52635

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 154003 2016-10-17 20:56:11Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           active_variants 1.1
7PortGroup           github 1.0
8
9github.setup        enthought mayavi 4.5.0
10
11name                py-mayavi
12categories-append   devel graphics math
13maintainers         gmail.com:jjstickel openmaintainer
14description         The Enthought mayavi package
15long_description    3D Scientific Data Visualization and Plotting using VTK as the \
16    rendering backend and wxpython or pyqt4 for the (G)UI.
17
18license             BSD
19platforms           darwin
20
21checksums           rmd160  ea9281e86e594796e867d279ff7b7fcfdf237a78 \
22                    sha256  31889891b1545069ffce8c77b6ca7757bdd300d314b10e1df9d492359843aaf2
23
24python.versions     27 35
25
26if {${name} ne ${subport}} {
27    depends_build-append    port:py${python.version}-setuptools \
28                            port:py${python.version}-sphinx
29    depends_lib-append      port:py${python.version}-apptools \
30                            port:py${python.version}-envisage \
31                            port:py${python.version}-numpy \
32                            port:py${python.version}-traitsui \
33                            port:vtk
34
35    require_active_variants vtk python${python.version}
36   
37    post-patch {
38        reinplace "s|sphinx-build|sphinx-build-${python.branch}|g" \
39            ${worksrcpath}/docs/Makefile \
40            ${worksrcpath}/docs/MakefileMayavi \
41            ${worksrcpath}/docs/MakefileTVTK
42    }
43}
Note: See TracBrowser for help on using the repository browser.