Files
Jonathan Stickel 23ed89bfaa py-mayavi: add note about obsoletion to description
* add note about obsoletion to description of py-mayavi
* change maintainer to `nomaintainer` for multiple enthought python ports
2026-04-28 11:15:12 -04:00

50 lines
1.8 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup active_variants 1.1
PortGroup github 1.0
github.setup enthought mayavi 4.8.2
github.tarball_from archive
name py-mayavi
revision 1
categories-append devel graphics math
maintainers nomaintainer
description **Obsolete port** The Enthought mayavi package
long_description **Obsolete port.** This port no longer works due to lack of upstream \
maintenance. It will be removed from Macports in the future. 3D Scientific Data \
Visualization and Plotting using VTK as the \
rendering backend and pyqt5/pyqt4/pyside2 for the (G)UI.
license BSD
checksums rmd160 9e589a7ee6ebbbc0ff3eac9dd30b365d1705164e \
sha256 a78eb7512948d9484c0ba7b1fdeab088f9f4a32ca32862a0b8e8d2b63ad83eb2 \
size 9026675
python.versions 310 311 312
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-sphinx
depends_lib-append port:py${python.version}-apptools \
port:py${python.version}-envisage \
port:py${python.version}-numpy \
port:py${python.version}-traitsui \
port:vtk
require_active_variants vtk python${python.version}
post-patch {
# https://github.com/enthought/mayavi/issues/652
reinplace "/vtk/d" ${worksrcpath}/mayavi/__init__.py
reinplace "s|sphinx-build|sphinx-build-${python.branch}|g" \
${worksrcpath}/docs/Makefile \
${worksrcpath}/docs/MakefileMayavi \
${worksrcpath}/docs/MakefileTVTK
}
}