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

Last change on this file was 143293, checked in by petr@…, 20 months ago

various py26 subports: retire subports to resolve #41145, add py35 where appropriate

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 143293 2015-12-09 22:52:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-fipy
8version             3.1
9categories-append   math
10platforms           darwin
11supported_archs     noarch
12maintainers         vcn.com:jjstickel openmaintainer
13license             public-domain
14
15description         FiPy: A Finite Volume PDE Solver Using Python
16long_description    FiPy is an object oriented, partial differential \
17                    equation (PDE) solver, written in Python, based on \
18                    a standard finite volume (FV) approach. Uses matplotlib \
19                    for viewing.
20
21homepage            http://www.ctcms.nist.gov/fipy/
22master_sites        http://www.ctcms.nist.gov/fipy/download/
23distname            FiPy-${version}
24
25checksums           rmd160  19891efaf2371fce3baa0acf0f4360116d7dc854 \
26                    sha256  54a4bc2ed6562bd402890ddd257220cf092438db1941427035412813415bd0c7
27
28python.versions     27
29
30if {${name} ne ${subport}} {
31    depends_build-append    port:py${python.version}-setuptools \
32                            port:py${python.version}-ez_setup
33    depends_lib-append  port:py${python.version}-numpy \
34                        port:py${python.version}-matplotlib \
35                        port:py${python.version}-pysparse \
36                        port:py${python.version}-scipy \
37                        port:py${python.version}-ipython \
38                        port:gmsh
39
40    post-destroot {
41        # Fix permissions problems on these files
42        xinstall -m 0644 -W ${worksrcpath}/FiPy.egg-info PKG-INFO SOURCES.txt dependency_links.txt entry_points.txt top_level.txt \
43            ${destroot}${python.pkgd}/FiPy-${version}-py${python.branch}.egg-info
44    }
45    livecheck.type      none
46} else {
47    livecheck.regex     FiPy-(\[0-9.\]+)${extract.suffix}
48}
Note: See TracBrowser for help on using the repository browser.