summaryrefslogtreecommitdiff
path: root/purge_path/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'purge_path/meta.yaml')
-rw-r--r--purge_path/meta.yaml13
1 files changed, 7 insertions, 6 deletions
diff --git a/purge_path/meta.yaml b/purge_path/meta.yaml
index aa4187f..04b6556 100644
--- a/purge_path/meta.yaml
+++ b/purge_path/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'purge_path' %}
-{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
- +".dev"
- +environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% set number = '0' %}
+{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '1' %}
about:
home: https://github.com/jhunkeler/{{ name }}
@@ -18,11 +19,11 @@ package:
requirements:
build:
- - python x.x
+ - python {{ python }}
- setuptools
run:
- - python x.x
+ - python
source:
git_url: https://github.com/jhunkeler/{{ name }}.git