summaryrefslogtreecommitdiff
path: root/stsci.skypac/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'stsci.skypac/meta.yaml')
-rw-r--r--stsci.skypac/meta.yaml17
1 files changed, 9 insertions, 8 deletions
diff --git a/stsci.skypac/meta.yaml b/stsci.skypac/meta.yaml
index 7c9800e..0a55332 100644
--- a/stsci.skypac/meta.yaml
+++ b/stsci.skypac/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'stsci.skypac' %}
-{% 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 }}
@@ -27,8 +28,8 @@ requirements:
- stsci.tools
- stwcs
- setuptools
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- astropy
@@ -36,8 +37,8 @@ requirements:
- stsci.sphere
- stsci.tools
- stwcs
- - python x.x
- - python x.x
+ - python
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}