summaryrefslogtreecommitdiff
path: root/imexam/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'imexam/meta.yaml')
-rw-r--r--imexam/meta.yaml17
1 files changed, 8 insertions, 9 deletions
diff --git a/imexam/meta.yaml b/imexam/meta.yaml
index 4a35a8a..6d586da 100644
--- a/imexam/meta.yaml
+++ b/imexam/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'imexam' %}
-{% 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 }}
@@ -18,18 +19,16 @@ package:
requirements:
build:
- - d2to1
- - stsci.distutils
- nose
- astropy
- - numpy
+ - numpy {{ numpy }}
- scipy
- cython
- matplotlib
- ipython
- setuptools
- mock [py27]
- - python x.x
+ - python {{ python }}
run:
- nose
@@ -40,7 +39,7 @@ requirements:
- matplotlib
- ipython
- mock [py27]
- - python x.x
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git