diff options
Diffstat (limited to 'aprio')
-rw-r--r-- | aprio/bld.bat | 3 | ||||
-rw-r--r-- | aprio/build.sh | 2 | ||||
-rw-r--r-- | aprio/meta.yaml | 13 |
3 files changed, 9 insertions, 9 deletions
diff --git a/aprio/bld.bat b/aprio/bld.bat index b290566..760380e 100644 --- a/aprio/bld.bat +++ b/aprio/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/aprio/build.sh b/aprio/build.sh index 4b71885..6bd6081 100644 --- a/aprio/build.sh +++ b/aprio/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/aprio/meta.yaml b/aprio/meta.yaml index 9a7f230..2275615 100644 --- a/aprio/meta.yaml +++ b/aprio/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'aprio' %} -{% 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://bitbucket.org/jhunkeler/{{ name }} @@ -23,13 +24,13 @@ requirements: - psutil - python-daemon - setuptools - - python x.x + - python run: - docutils - psutil - python-daemon - - python x.x + - python source: git_url: https://bitbucket.org/jhunkeler/{{ name }}.git |