{% set name = 'jplephem' %} {% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} {% if version[0] == 'v' %} {% set version = version[1:] %} {% endif %} {% set number = '2' %} about: home: https://github.com/brandon-rhodes/python-{{ name }} license: MIT summary: "Python version of NASA DE4xx ephemerides, the basis for the Astronomical Alamanac" build: number: {{ number }} package: name: {{ name }} version: {{ version }} requirements: build: - setuptools - numpy {{ numpy }} - python {{ python }} run: - numpy - python source: git_url: https://github.com/brandon-rhodes/python-{{ name }}.git patches: - 0001_use-setuptools.patch test: imports: - jplephem - jplephem.spk