diff options
Diffstat (limited to 'verhawk')
-rw-r--r-- | verhawk/bld.bat | 3 | ||||
-rw-r--r-- | verhawk/build.sh | 2 | ||||
-rw-r--r-- | verhawk/meta.yaml | 13 |
3 files changed, 9 insertions, 9 deletions
diff --git a/verhawk/bld.bat b/verhawk/bld.bat index 2d6c912..39b5e1f 100644 --- a/verhawk/bld.bat +++ b/verhawk/bld.bat @@ -1,2 +1 @@ -python setup.py install -if errorlevel 1 exit 1 +%PYTHON% setup.py install diff --git a/verhawk/build.sh b/verhawk/build.sh index 5c61be1..5a5aeeb 100644 --- a/verhawk/build.sh +++ b/verhawk/build.sh @@ -1 +1 @@ -python setup.py install || exit 1 +$PYTHON setup.py install diff --git a/verhawk/meta.yaml b/verhawk/meta.yaml index e631974..98f10c8 100644 --- a/verhawk/meta.yaml +++ b/verhawk/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'verhawk' %} -{% 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/spacetelescope/{{ 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/spacetelescope/{{ name }}.git |