Ticket #47948: Portfile

File Portfile, 2.3 KB (added by smithsp (Sterling Smith), 9 years ago)

Fixed warnings from port lint

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$
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        gacode OMFIT-source 0.6.4 v
9
10name                py-omfit
11
12categories-append   science math
13
14platforms           darwin
15supported_archs     noarch
16license             none
17maintainers         fusion.gat.com:smithsp openmaintainer
18description         One Modeling Frameork for Integrated Tasks (OMFIT) dependencies
19long_description    \
20    OMFIT is a software developed to support both integrated modeling and \
21    experimental data analysis. This port only installs the dependencies for OMFIT.
22
23notes               \
24"# To complete your installation of OMFIT, you need to obtain access to the
25# GitHub repo at https://github.com/gafusion/OMFIT-source by giving your
26# GitHub username to fusion.gat.com:smithsp.  You can then start OMFIT with
27python <OMFIT-source>/src/omfit.py
28#
29# Furthermore, to activate your sql connections (for instance to D3DRDB, if
30# appropriate), you need to modify ${prefix}/etc/odbcinst.ini and
31# ${prefix}/etc/freetds.conf as per
32# http://gafusion.github.io/OMFIT-source/deadStart.html."
33
34python.versions     27
35
36fetch {}
37checksum {}
38extract {}
39patch {}
40use_configure       no
41build {}
42destroot {
43    file mkdir ${destroot}/${prefix}/bin
44    touch ${destroot}/${prefix}/bin/omfit-stub
45}
46
47
48if {$subport != $name} {
49    depends_build-append port:py${python.version}-setuptools
50    livecheck.type       none
51    destroot {
52        file mkdir ${destroot}/${prefix}/bin
53        touch ${destroot}/${prefix}/bin/omfit-stub${python.version}
54    }
55    depends_lib-append  \
56        port:python${python.version} \
57        port:py${python.version}-matplotlib \
58        port:py${python.version}-scipy \
59        port:py${python.version}-numpy \
60        port:py${python.version}-mdsplus \
61        port:py${python.version}-pyodbc \
62        port:py${python.version}-netcdf4 \
63        port:py${python.version}-pexpect \
64        port:py${python.version}-fortranformat \
65        port:py${python.version}-uncertainties \
66        port:py${python.version}-astropy \
67        port:py${python.version}-gitpython \
68        port:py${python.version}-pil \
69        port:py${python.version}-tkinter \
70        port:py${python.version}-ipython
71}