conda: consistent version numbering

This commit is contained in:
Sebastien Bourdeauducq 2015-11-02 11:52:28 +08:00
parent 1e85f13133
commit 851067be51
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
package:
name: misoc
version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}.{{ environ.get("GIT_DESCRIBE_HASH") }}
version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}
source:
git_url: https://github.com/m-labs/misoc
@ -8,7 +8,8 @@ source:
build:
noarch_python: true
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_DESCRIBE_HASH", "")[1:] }}
script: $PYTHON setup.py install
requirements: