diff options
Diffstat (limited to 'pyraf/meta.yaml')
| -rw-r--r-- | pyraf/meta.yaml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pyraf/meta.yaml b/pyraf/meta.yaml index b3ce826..32f8503 100644 --- a/pyraf/meta.yaml +++ b/pyraf/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'pyraf' %} -{% 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 }} @@ -28,8 +29,8 @@ requirements: - stsci.distutils - stsci.tools - setuptools - - numpy - - python x.x + - numpy {{ numpy }} + - python {{ python }} run: - d2to1 @@ -41,7 +42,7 @@ requirements: - pyobjc-framework-quartz [osx] - stsci.tools - numpy - - python x.x + - python source: git_url: https://github.com/spacetelescope/{{ name }}.git |
