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

Last change on this file was 140657, checked in by mmoll@…, 2 years ago

py-trep: update to version 1.0.2; skip installing docs since they don't build

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 140657 2015-09-29 01:54:59Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        MurpheyLab trep 1.0.2 v
9name                py-trep
10license             GPL-3
11maintainers         mmoll openmaintainer
12
13description         Module for modeling articulated rigid body mechanical \
14                    systems in generalized coordinates.
15long_description    Trep is a Python module for modeling articulated rigid \
16                    body mechanical systems in generalized coordinates. Trep \
17                    supports basic simulation but it is primarily designed to \
18                    serve as a calculation engine for analysis and optimal \
19                    control algorithms that require 1st and 2nd derivatives \
20                    of the system's dynamics.
21
22homepage            http://murpheylab.github.io/trep
23platforms           darwin
24checksums           md5     b2d2d66f7fbdb62d68a961f6468e8205 \
25                    sha1    d372940115f9ed96b8dd1637d42a6f4478f4298a \
26                    rmd160  99d24d8470511dcad4f84f37cf89912336f910b7
27python.versions     27
28
29if {${name} ne ${subport}} {
30    # Can use either py*-pyqt4 or py*-pyqt4-devel.
31    depends_lib     port:py${python.version}-numpy \
32                    port:py${python.version}-scipy \
33                    port:py${python.version}-matplotlib \
34                    port:py${python.version}-opengl \
35                    path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4
36    post-patch {
37        reinplace "s|@PKGD@|${destroot}${python.pkgd}|g" ${worksrcpath}/setup.py
38    }
39    post-destroot {
40        delete ${destroot}${prefix}/share/doc/${subport}/examples
41        file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}
42        xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${subport}
43    }
44    livecheck.type      none
45}
Note: See TracBrowser for help on using the repository browser.