summaryrefslogtreecommitdiff
path: root/jwst/meta.yaml
blob: bf6cab6e5ecb28806f234ca3b018c163fa5c3dca (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{% set name = 'jwst' %}
{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
{% if version[0] == 'v' %}
{%   set version = version[1:] %}
{% endif %}
{% set number = '4' %}

about:
    home: https://github.com/spacetelescope/{{ name }}
    license: BSD
    summary: JWST Pipeline code

build:
    skip: True [py27]
    number: {{ number }}
    preserve_egg_dir: True

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

requirements:
    build:
    - asdf
    - astropy
    - crds
    - dask
    - drizzle
    - gwcs
    - jsonschema
    - jplephem
    - matplotlib
    - namedlist
    - photutils
    - pymssql
    - pytest
    - pytest-remotedata
    - scipy
    - six
    - spherical-geometry
    - stsci.image
    - stsci.imagestats
    - stsci.stimage
    - stsci.tools
    - verhawk
    - setuptools
    - numpy {{ numpy }}
    - python {{ python }}

    run:
    - asdf
    - astropy
    - crds
    - dask
    - drizzle
    - gwcs
    - jsonschema
    - jplephem
    - matplotlib
    - namedlist
    - photutils
    - pymssql
    - pytest
    - pytest-remotedata
    - scipy
    - six
    - spherical-geometry
    - stsci.image
    - stsci.imagestats
    - stsci.stimage
    - stsci.tools
    - verhawk
    - numpy
    - python

source:
    # The git rev may be overridden by setting an env var with the name
    # "ASCO_GIT_REV_<package short name>" before building the recipe.
    # i.e "ASCO_GIT_REV_jwst=1.0.3"
    # The value may be a git full hash, short hash, branch, or tag name.
    # The default value is "master".
    git_rev: {{ environ.get("ASCO_GIT_REV_"+name, "master") }}
    git_url: https://github.com/spacetelescope/{{ name }}.git

test:
    imports:
    - jwst
    - jwst.steps
    # no timeconversion: JPL network is too unstable to obtain *.bsp files.