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

Last change on this file since 106911 was 106911, checked in by jmr@…, 6 years ago

Change distribute dependencies back to setuptools and mark py*-distribute replaced_by py*-setuptools (#39237).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 106911 2013-06-11 14:40:14Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set realname        trep
8name                py-${realname}
9version             0.92
10revision            1
11license             GPL-3
12maintainers         mmoll openmaintainer
13
14description         Module for modeling articulated rigid body mechanical \
15                    systems in generalized coordinates.
16long_description    Trep is a Python module for modeling articulated rigid \
17                    body mechanical systems in generalized coordinates. Trep \
18                    supports basic simulation but it is primarily designed to \
19                    serve as a calculation engine for analysis and optimal \
20                    control algorithms that require 1st and 2nd derivatives \
21                    of the system's dynamics.
22
23homepage            http://code.google.com/p/trep/
24master_sites        googlecode:${realname}
25platforms           darwin
26distname            ${realname}-v${version}
27use_bzip2           yes
28checksums           md5     3008ce65392c619c53fe54abbd72db9a \
29                    sha1    db29f2beddf7ec41eb3e5a1355f0bd1c51a919c6 \
30                    rmd160  3aced8b304ffafdafb08a7c0ec75e69e79236a5c
31patchfiles          patch-setup.py.diff
32python.versions     26 27
33python.default_version 27
34
35if {$subport != $name} {
36    depends_lib     port:py${python.version}-setuptools \
37                    port:py${python.version}-numpy \
38                    port:py${python.version}-scipy \
39                    port:py${python.version}-matplotlib \
40                    port:py${python.version}-opengl \
41                    port:py${python.version}-pyqt4 \
42                    port:py${python.version}-sphinx
43    build.target-append build_sphinx
44    post-destroot {
45        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
46        file copy ${worksrcpath}/examples \
47             ${destroot}${prefix}/share/doc/${subport}/examples
48        file copy ${worksrcpath}/build/sphinx/html \
49             ${destroot}${prefix}/share/doc/${subport}
50    }
51    livecheck.type      none
52} else {
53    livecheck.type      regex
54    livecheck.url       http://code.google.com/p/trep/downloads/list
55    livecheck.regex     ${realname}-v(\[0-9.\]+)\\.tar
56}
Note: See TracBrowser for help on using the repository browser.