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 | |
---|
7 | name py-gwpy |
---|
8 | version 0.1 |
---|
9 | |
---|
10 | categories-append science |
---|
11 | maintainers ligo.org:duncan.macleod openmaintainer |
---|
12 | |
---|
13 | platforms darwin |
---|
14 | license GPL-3 |
---|
15 | |
---|
16 | description A python package for gravitational-wave astrophysics |
---|
17 | long_description GWpy is a collaboration-driven Python package providing \ |
---|
18 | tools for studying data from ground-based \ |
---|
19 | gravitational-wave detectors. |
---|
20 | homepage https://gwpy.github.io |
---|
21 | |
---|
22 | master_sites https://pypi.python.org/packages/source/g/gwpy/ \ |
---|
23 | https://github.com/gwpy/gwpy/releases/v${version}/ |
---|
24 | distname gwpy-${version} |
---|
25 | |
---|
26 | checksums rmd160 c7fd247bdabe81f3c8dda99aa273f82bc9a8171f \ |
---|
27 | sha256 b7d84424ac068b5b560d2083f5977bdff4ba9303fe9369c193c897fefa47a3fb |
---|
28 | |
---|
29 | python.versions 27 |
---|
30 | |
---|
31 | if {${name} ne ${subport}} { |
---|
32 | |
---|
33 | depends_lib-append port:py${python.version}-dateutil \ |
---|
34 | port:py${python.version}-numpy \ |
---|
35 | port:py${python.version}-scipy \ |
---|
36 | port:glue \ |
---|
37 | port:py${python.version}-matplotlib \ |
---|
38 | port:py${python.version}-astropy |
---|
39 | |
---|
40 | depends_build-append \ |
---|
41 | port:pkgconfig \ |
---|
42 | port:py${python.version}-setuptools \ |
---|
43 | |
---|
44 | variant nds2 description {Add NDS2 support} { |
---|
45 | depends_lib-append port:nds2-client |
---|
46 | } |
---|
47 | |
---|
48 | variant gwf description {Add GWF support} { |
---|
49 | depends_lib-append port:lalframe |
---|
50 | } |
---|
51 | |
---|
52 | variant hdf5 description {Add HDF5 support} { |
---|
53 | depends_lib-append port:py${python.version}-h5py |
---|
54 | } |
---|
55 | } |
---|