You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
49 lines
1.6 KiB
Tcl
49 lines
1.6 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
|
|
|
|
name py-control
|
|
version 0.10.1
|
|
revision 0
|
|
|
|
categories-append science
|
|
license BSD
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
|
|
description Python package for feedback control systems
|
|
long_description \
|
|
The Python Control Systems Library, python-control, is a python package that \
|
|
implements basic operations for analysis and design of feedback control \
|
|
systems.
|
|
|
|
homepage https://python-control.readthedocs.io
|
|
|
|
checksums rmd160 30a4f0a483c86724dc7a0b2cf773bbc2ffa811e7 \
|
|
sha256 3bba142c9274d896efda8c9a21aaf61dd38d673d6d40714a7989d143428e738c \
|
|
size 9474344
|
|
|
|
python.versions 310 311 312
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools_scm
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-matplotlib \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-scipy
|
|
|
|
test.run yes
|
|
|
|
post-destroot {
|
|
xinstall -d ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 0644 -W ${worksrcpath} ChangeLog LICENSE \
|
|
README.rst ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 0644 {*}[glob ${worksrcpath}/examples/*] \
|
|
${destroot}${prefix}/share/doc/${subport}/examples
|
|
}
|
|
}
|