diff options
Diffstat (limited to 'specview/meta.yaml')
-rw-r--r-- | specview/meta.yaml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/specview/meta.yaml b/specview/meta.yaml index 283a485..3a9c88f 100644 --- a/specview/meta.yaml +++ b/specview/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'specview' %} -{% 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,18 +20,18 @@ package: requirements: build: - astropy - - numpy + - numpy {{ numpy }} - scipy - pyqtgraph - setuptools - - python x.x + - python {{ python }} run: - astropy - numpy - scipy - pyqtgraph - - python x.x + - python source: git_url: https://github.com/spacetelescope/{{ name }}.git |