summaryrefslogtreecommitdiff
path: root/crds/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'crds/meta.yaml')
-rw-r--r--crds/meta.yaml15
1 files changed, 8 insertions, 7 deletions
diff --git a/crds/meta.yaml b/crds/meta.yaml
index a27232a..3504da4 100644
--- a/crds/meta.yaml
+++ b/crds/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'crds' %}
-{% 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: http://www.stsci.edu/hst/observatory/crds/
@@ -23,13 +24,13 @@ requirements:
build:
- astropy >=1.1
- cfitsio
- - numpy
+ - numpy {{ numpy }}
- requests
- lxml
- parsley
- lockfile
- setuptools
- - python x.x
+ - python {{ python }}
run:
- astropy >=1.1
@@ -40,7 +41,7 @@ requirements:
- fitsverify
- parsley
- lockfile
- - python x.x
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git