diff options
Diffstat (limited to 'pysynphot/meta.yaml')
-rw-r--r-- | pysynphot/meta.yaml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pysynphot/meta.yaml b/pysynphot/meta.yaml index 3a114ab..61901c1 100644 --- a/pysynphot/meta.yaml +++ b/pysynphot/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'pysynphot' %} -{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0") - +".dev" - +environ.get("GIT_DESCRIBE_NUMBER", "0") %} -{% set number = '1' %} +{% 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/spacetelescope/{{ name }} @@ -19,15 +20,13 @@ package: requirements: build: - - d2to1 - - stsci.distutils - nose - astropy - cython - matplotlib - setuptools - - numpy - - python x.x + - numpy {{ numpy }} + - python {{ python }} run: - nose @@ -35,7 +34,7 @@ requirements: - cython - matplotlib - numpy - - python x.x + - python source: git_url: https://github.com/spacetelescope/{{ name }}.git |