You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
46 lines
2.0 KiB
Tcl
46 lines
2.0 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
|
|
|
|
github.setup MurpheyLab trep 1.0.3 v
|
|
name py-trep
|
|
license GPL-3
|
|
maintainers nomaintainer
|
|
|
|
description Module for modeling articulated rigid body mechanical \
|
|
systems in generalized coordinates.
|
|
long_description Trep is a Python module for modeling articulated rigid \
|
|
body mechanical systems in generalized coordinates. Trep \
|
|
supports basic simulation but it is primarily designed to \
|
|
serve as a calculation engine for analysis and optimal \
|
|
control algorithms that require 1st and 2nd derivatives \
|
|
of the system's dynamics.
|
|
|
|
homepage https://murpheylab.github.io/trep
|
|
platforms darwin
|
|
checksums md5 0763afa15a67738af94fb589ab5e8b7a \
|
|
sha1 abdc3c7a6df20a9c521b8e96d48f2db00d9778af \
|
|
rmd160 74c983e0fe49930bb83d666fd668c83e2a97f2e6 \
|
|
sha256 b58f6700910e9a188d0027bae4170df23bd1759578c6184cf6a8a32aea800c5f
|
|
|
|
python.versions 27
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib port:py${python.version}-numpy \
|
|
port:py${python.version}-scipy \
|
|
port:py${python.version}-matplotlib \
|
|
port:py${python.version}-opengl \
|
|
port:py${python.version}-pyqt4
|
|
post-patch {
|
|
reinplace "s|@PKGD@|${destroot}${python.pkgd}|g" ${worksrcpath}/setup.py
|
|
}
|
|
post-destroot {
|
|
delete ${destroot}${prefix}/share/doc/${subport}/examples
|
|
file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
livecheck.type none
|
|
}
|