{% set name = 'webbpsf' %} {% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0") +".dev" +environ.get("GIT_DESCRIBE_NUMBER", "0") %} {% set number = '0' %} # 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/webbpsf license: BSD summary: webbpsf build: number: {{ number }} preserve_egg_dir: 'True' package: name: {{ name }} version: {{ version }} requirements: build: - nose - astropy - numpy x.x - scipy - matplotlib - poppy - six [py27] - webbpsf-data >=0.4.1 - setuptools - python x.x run: - nose - astropy - numpy x.x - scipy - matplotlib - poppy - six [py27] - webbpsf-data >=0.4.1 - setuptools - python x.x source: git_url: https://github.com/mperrin/webbpsf test: commands: - WEBBPSF_PATH=$PREFIX/share/webbpsf-data python -c 'import webbpsf'