diff options
Diffstat (limited to 'relic')
-rw-r--r-- | relic/bld.bat | 3 | ||||
-rw-r--r-- | relic/build.sh | 2 | ||||
-rw-r--r-- | relic/meta.yaml | 13 |
3 files changed, 9 insertions, 9 deletions
diff --git a/relic/bld.bat b/relic/bld.bat index 2d6c912..39b5e1f 100644 --- a/relic/bld.bat +++ b/relic/bld.bat @@ -1,2 +1 @@ -python setup.py install -if errorlevel 1 exit 1 +%PYTHON% setup.py install diff --git a/relic/build.sh b/relic/build.sh index 5c61be1..5a5aeeb 100644 --- a/relic/build.sh +++ b/relic/build.sh @@ -1 +1 @@ -python setup.py install || exit 1 +$PYTHON setup.py install diff --git a/relic/meta.yaml b/relic/meta.yaml index dcd41c0..997c90e 100644 --- a/relic/meta.yaml +++ b/relic/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'relic' %} -{% 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: http://github.com/jhunkeler/{{ name }} @@ -19,10 +20,10 @@ package: requirements: build: - setuptools - - python x.x + - python {{ python }} run: - - python x.x + - python source: git_url: https://github.com/jhunkeler/{{ name }}.git |