forked from M-Labs/artiq
0d0ddf2e58
Before this commit, a nasty edge case was possible where repositories on different builders have had different sets of objects fetched into them, and so git-describe selected different lengths for abbreviating hashes. See also https://github.com/conda/conda-build/issues/1940.
23 lines
906 B
YAML
23 lines
906 B
YAML
package:
|
|
name: artiq-kc705-phaser
|
|
version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}
|
|
|
|
source:
|
|
git_url: ../..
|
|
|
|
build:
|
|
noarch_python: true
|
|
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
|
|
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_DESCRIBE_HASH", "")[1:9] }}
|
|
|
|
requirements:
|
|
build:
|
|
- artiq-dev {{ "{tag} py_{number}+git{hash}".format(tag=environ.get("GIT_DESCRIBE_TAG"), number=environ.get("GIT_DESCRIBE_NUMBER"), hash=environ.get("GIT_DESCRIBE_HASH")[1:]) if "GIT_DESCRIBE_TAG" in environ else "" }}
|
|
run:
|
|
- artiq {{ "{tag} py_{number}+git{hash}".format(tag=environ.get("GIT_DESCRIBE_TAG"), number=environ.get("GIT_DESCRIBE_NUMBER"), hash=environ.get("GIT_DESCRIBE_HASH")[1:]) if "GIT_DESCRIBE_TAG" in environ else "" }}
|
|
|
|
about:
|
|
home: https://m-labs.hk/artiq
|
|
license: GPL
|
|
summary: 'Bitstream, BIOS and runtime for Phaser on the KC705 board'
|