Commits
Duncan Macleod authored and Perry E. Metzger committed 99673b20b2f
1 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 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup python 1.0 |
5 5 | PortGroup github 1.0 |
6 6 | |
7 - | github.setup gwpy gwpy 0.8.1 v |
7 + | github.setup gwpy gwpy 0.11.0 v |
8 8 | name py-gwpy |
9 9 | |
10 10 | categories-append science |
11 11 | maintainers {ligo.org:duncan.macleod @duncanmmacleod} openmaintainer |
12 12 | |
13 13 | platforms darwin |
14 14 | license GPL-3 |
15 15 | |
16 16 | description A python package for gravitational-wave astrophysics |
17 17 | long_description GWpy is a collaboration-driven Python package providing \ |
18 18 | tools for studying data from ground-based \ |
19 19 | gravitational-wave detectors. |
20 20 | homepage https://gwpy.github.io |
21 21 | |
22 22 | master_sites pypi:g/gwpy \ |
23 23 | https://github.com/gwpy/gwpy/releases/v${version}/ |
24 24 | |
25 - | checksums rmd160 21a6f0bfba4d7f38359c084f1670de84cb3f8ac9 \ |
26 - | sha256 d7f4771eb4b8a794da58779dc01da19a9e4f0f5181923966547e3dcdd957decd \ |
27 - | size 1097963 |
25 + | checksums rmd160 7ef4e4697558c0a17a1fa45faa1fb21fffa0294e \ |
26 + | sha256 47a17967508f006cee9c1c4a62cceff4d6d9870096cad9eedf9f1a4af788ba17 \ |
27 + | size 1166915 |
28 28 | |
29 - | # until glue is available for multiple python versions, we are stuck to |
30 - | # python 2.7 |
31 - | |
32 - | python.versions 27 |
29 + | python.versions 27 36 |
33 30 | python.default_version 27 |
34 31 | |
35 32 | if {${name} ne ${subport}} { |
36 33 | |
34 + | depends_build-append port:py${python.version}-setuptools |
35 + | |
37 36 | depends_lib-append port:py${python.version}-six \ |
38 37 | port:py${python.version}-dateutil \ |
39 38 | port:py${python.version}-numpy \ |
40 39 | port:py${python.version}-scipy \ |
41 40 | port:py${python.version}-matplotlib \ |
42 41 | port:py${python.version}-astropy \ |
42 + | port:py${python.version}-h5py \ |
43 43 | port:py${python.version}-lal \ |
44 - | port:glue |
44 + | port:py${python.version}-ligo-segments \ |
45 + | port:py${python.version}-tqdm |
46 + | |
45 47 | if {${python.version} < 34} { |
46 48 | depends_lib-append port:py${python.version}-enum34 |
47 49 | } |
48 50 | |
49 - | depends_build-append port:py${python.version}-setuptools |
51 + | if {${python.version} == 27} { |
50 52 | |
51 - | variant nds2 description {Add NDS2 support} { |
52 - | depends_lib-append port:py${python.version}-nds2-client |
53 - | } |
54 - | |
55 - | variant gwf description {Add GWF support} { |
56 - | depends_lib-append port:py${python.version}-ldas-tools-framecpp |
57 - | } |
53 + | variant nds2 description {Add NDS2 support} { |
54 + | depends_lib-append port:py${python.version}-nds2-client |
55 + | } |
58 56 | |
59 - | variant hdf5 description {Add HDF5 support} { |
60 - | depends_lib-append port:py${python.version}-h5py |
61 - | } |
57 + | variant gwf description {Add GWF support} { |
58 + | depends_lib-append port:py${python.version}-ldas-tools-framecpp |
59 + | } |
62 60 | |
63 - | variant segments description {Add DQSEGDB support} { |
64 - | depends_lib-append port:dqsegdb |
61 + | variant dqsegdb description {Add DQSEGDB support} { |
62 + | depends_lib-append port:dqsegdb |
63 + | } |
65 64 | } |
66 65 | } |