summaryrefslogtreecommitdiff
path: root/poppy/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'poppy/meta.yaml')
-rw-r--r--poppy/meta.yaml15
1 files changed, 8 insertions, 7 deletions
diff --git a/poppy/meta.yaml b/poppy/meta.yaml
index cb9eaca..2fc9e2d 100644
--- a/poppy/meta.yaml
+++ b/poppy/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'poppy' %}
-{% 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/mperrin/{{ name }}
@@ -20,14 +21,14 @@ requirements:
build:
- nose
- astropy
- - numpy
+ - numpy {{ numpy }}
- scipy
- matplotlib
- six [py27]
- mock [py27]
- enum34 [py27]
- setuptools
- - python x.x
+ - python {{ python }}
run:
- nose
@@ -39,7 +40,7 @@ requirements:
- mock [py27]
- enum34 [py27]
- setuptools
- - python x.x
+ - python
source:
git_url: https://github.com/mperrin/{{ name }}.git