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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | PortGroup github 1.0 |
---|
7 | |
---|
8 | github.setup gacode OMFIT-source 0.6.4 v |
---|
9 | |
---|
10 | name py-omfit |
---|
11 | |
---|
12 | categories-append science math |
---|
13 | |
---|
14 | platforms darwin |
---|
15 | supported_archs noarch |
---|
16 | license none |
---|
17 | maintainers fusion.gat.com:smithsp openmaintainer |
---|
18 | description One Modeling Frameork for Integrated Tasks (OMFIT) dependencies |
---|
19 | long_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 | |
---|
23 | notes \ |
---|
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 |
---|
27 | python <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 | |
---|
34 | python.versions 27 |
---|
35 | |
---|
36 | fetch {} |
---|
37 | checksum {} |
---|
38 | extract {} |
---|
39 | patch {} |
---|
40 | use_configure no |
---|
41 | build {} |
---|
42 | destroot { |
---|
43 | file mkdir ${destroot}/${prefix}/bin |
---|
44 | touch ${destroot}/${prefix}/bin/omfit-stub |
---|
45 | } |
---|
46 | |
---|
47 | |
---|
48 | if {$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 | } |
---|