diff options
Diffstat (limited to 'spherical-geometry/meta.yaml')
-rw-r--r-- | spherical-geometry/meta.yaml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/spherical-geometry/meta.yaml b/spherical-geometry/meta.yaml index 7ee5167..ae12b32 100644 --- a/spherical-geometry/meta.yaml +++ b/spherical-geometry/meta.yaml @@ -1,9 +1,10 @@ {% set name = 'spherical-geometry' %} {% set reponame = 'spherical_geometry' %} -{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0") - +".dev" - +environ.get("GIT_DESCRIBE_NUMBER", "0") %} -{% set number = '0' %} +{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set number = '1' %} about: home: https://github.com/spacetelescope/{{ reponame }} @@ -22,14 +23,14 @@ requirements: - astropy - matplotlib - setuptools - - numpy - - python x.x + - numpy {{ numpy }} + - python {{ python }} run: - astropy - matplotlib - numpy - - python x.x + - python source: git_url: https://github.com/spacetelescope/{{ reponame }}.git |