summaryrefslogtreecommitdiff
path: root/stsci.sphinxext/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'stsci.sphinxext/meta.yaml')
-rw-r--r--stsci.sphinxext/meta.yaml13
1 files changed, 7 insertions, 6 deletions
diff --git a/stsci.sphinxext/meta.yaml b/stsci.sphinxext/meta.yaml
index 8838182..7d1186b 100644
--- a/stsci.sphinxext/meta.yaml
+++ b/stsci.sphinxext/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'stsci.sphinxext' %}
-{% 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 }}
@@ -23,11 +24,11 @@ requirements:
- stsci.distutils
- numpydoc
- setuptools
- - python x.x
+ - python {{ python }}
run:
- numpydoc
- - python x.x
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git