You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
fa42656ddf
* add py38-mayavi subport * add py38 subports for the enthought deps: apptools, envisage, pyface, traits, and traitsui
59 lines
2.3 KiB
Tcl
59 lines
2.3 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 github 1.0
|
|
PortGroup wxWidgets 1.0
|
|
|
|
github.setup enthought pyface 6.1.2
|
|
|
|
name py-pyface
|
|
categories-append devel
|
|
license BSD
|
|
maintainers {gmail.com:jjstickel @jjstickel} openmaintainer
|
|
supported_archs noarch
|
|
|
|
description The Enthought pyface package
|
|
long_description The pyface project contains a toolkit-independent GUI\
|
|
abstraction layer, which is used to support the\
|
|
"visualization" features of the Traits package.
|
|
platforms darwin
|
|
|
|
checksums rmd160 69b252a285f3d8342d3717bee09bf1b13ae22a6c \
|
|
sha256 f3bc73a1a58b094a866108ad5f74a1211675c19f5cdfe5faeb61203bdb77d65f \
|
|
size 5313673
|
|
|
|
python.versions 35 36 37 38
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append port:py${python.version}-setuptools
|
|
depends_lib-append port:py${python.version}-traits \
|
|
port:py${python.version}-pygments
|
|
|
|
variant wxpython30 description "Use wxWidgets-3.0 backend (obsolete)" {
|
|
depends_lib-append port:py${python.version}-wxpython-3.0
|
|
notes-append "Warning: wxpython-3.0 mostly works with Enthought packages, but qt is recommended.\n"
|
|
}
|
|
|
|
variant pyqt4 description "Qt backend using PyQt4" {
|
|
depends_lib-append port:py${python.version}-pyqt4
|
|
}
|
|
|
|
variant pyside description "Qt backend using PySide" {
|
|
depends_lib-append port:py${python.version}-pyside
|
|
}
|
|
|
|
variant pyqt5 description "Qt backend using PyQt5" {
|
|
depends_lib-append port:py${python.version}-pyqt5
|
|
notes-append "To specify pyqt5, use: `ETS_TOOLKIT=qt4` and `QT_API=pyqt5`\n"
|
|
}
|
|
|
|
if {![variant_isset wxpython30] && ![variant_isset pyqt4] && ![variant_isset pyqt5] && ![variant_isset pyside]} {
|
|
default_variants +pyqt5
|
|
}
|
|
|
|
notes-append "If multiple backends are installed, the toolkit backend may be set\
|
|
with environment variables ETS_TOOLKIT and QT_API, e.g., ETS_TOOLKIT=qt4, QT_API=pyqt5.\n"
|
|
}
|