{% 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/spacetelescope/{{ 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'