summaryrefslogtreecommitdiff
path: root/stsci.convolve/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'stsci.convolve/meta.yaml')
-rw-r--r--stsci.convolve/meta.yaml15
1 files changed, 8 insertions, 7 deletions
diff --git a/stsci.convolve/meta.yaml b/stsci.convolve/meta.yaml
index 1988b6a..9217138 100644
--- a/stsci.convolve/meta.yaml
+++ b/stsci.convolve/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'stsci.convolve' %}
-{% 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 }}
@@ -21,12 +22,12 @@ requirements:
build:
- d2to1
- stsci.distutils
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- numpy
- - python x.x
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git