summaryrefslogtreecommitdiff
path: root/hstcal/meta.yaml
blob: 03b74cccc05f8862792f7177ab90e49865a81c24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% set name = 'hstcal' %}
{% set version = '2.6.0' %}
{% set number = '0' %}

about:
    home: https://github.com/spacetelescope/{{ name }}
    license: BSD
    summary: Calibration for HST/WFC3, HST/ACS, and HST/STIS

build:
    number: {{ number }}

package:
    name: {{ name }}
    version: {{ version }}

requirements:
    build:
      - python {{ python }}
      - cfitsio >=3.440
      - pkg-config
      - gcc_linux-64 [linux]
      - gfortran_linux-64 [linux]
      # OS-provided compilers and macos SDK used.
      # The conda toolchains do not work on macos.

    run:
      - cfitsio
      - libgcc >=4.7

source:
    git_tag: {{ version }}
    git_url: https://github.com/spacetelescope/{{ name }}.git

test:
  commands:
    - calacs.e --gitinfo
    - otool -L $(which calacs.e) [osx]
    - ldd $(which calacs.e) [linux]