summaryrefslogtreecommitdiff
path: root/purge_path
diff options
context:
space:
mode:
Diffstat (limited to 'purge_path')
-rw-r--r--purge_path/bld.bat3
-rw-r--r--purge_path/build.sh2
-rw-r--r--purge_path/meta.yaml13
3 files changed, 9 insertions, 9 deletions
diff --git a/purge_path/bld.bat b/purge_path/bld.bat
index b290566..760380e 100644
--- a/purge_path/bld.bat
+++ b/purge_path/bld.bat
@@ -1,3 +1,2 @@
-python setup.py install
-if errorlevel 1 exit 1 \ No newline at end of file
+%PYTHON% setup.py install
diff --git a/purge_path/build.sh b/purge_path/build.sh
index 4b71885..6bd6081 100644
--- a/purge_path/build.sh
+++ b/purge_path/build.sh
@@ -1,2 +1,2 @@
-python setup.py install || exit 1 \ No newline at end of file
+$PYTHON setup.py install
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