blob: c6f0a180c6155229d6bb2e592f5aefb6329ac75e (
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
|
{% set name = 'webbpsf' %}
{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
{% if version[0] == 'v' %}
{% set version = version[1:] %}
{% endif %}
{% set number = '4' %}
# Keep in mind:
# webbpsf-data is version-locked to prevent older builds from picking
# up incompatible data. As the data pack is upgraded, this recipe will
# need to be updated to reflect it. If there was a better way, I'd do it
about:
home: https://github.com/mperrin/{{ name }}
license: BSD
summary: webbpsf
build:
number: {{ number }}
preserve_egg_dir: 'True'
package:
name: {{ name }}
version: {{ version }}
requirements:
build:
- nose
- astropy >=1.0.3
- numpy {{ numpy }}
- scipy
- matplotlib
- poppy
- pysiaf
- jwxml
- six [py27]
- webbpsf-data >=0.7.0
- setuptools
- python {{ python }}
run:
- nose
- astropy >=1.0.3
- numpy
- scipy
- matplotlib
- jwxml
- poppy
- pysiaf
- six [py27]
- webbpsf-data >=0.7.0
- setuptools
- python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git
test:
commands:
- WEBBPSF_PATH=$PREFIX/share/webbpsf-data python -c 'import webbpsf'
|