summaryrefslogtreecommitdiff
path: root/calcos/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'calcos/meta.yaml')
-rw-r--r--calcos/meta.yaml15
1 files changed, 8 insertions, 7 deletions
diff --git a/calcos/meta.yaml b/calcos/meta.yaml
index cf105e7..2e4b7fd 100644
--- a/calcos/meta.yaml
+++ b/calcos/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'calcos' %}
-{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
- +".dev"
- +environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% set number = '2' %}
+{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '3' %}
about:
home: https://github.com/spacetelescope/{{ name }}
@@ -23,15 +24,15 @@ requirements:
- scipy
- stsci.tools
- setuptools
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- astropy
- scipy
- stsci.tools
- numpy
- - python x.x
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git