2018-02-21 11:15:01 +08:00
|
|
|
package:
|
2018-02-22 20:45:22 +08:00
|
|
|
name: artiq-board
|
|
|
|
version: {{ environ["GIT_DESCRIBE_TAG"] }}
|
2018-02-21 11:15:01 +08:00
|
|
|
|
|
|
|
source:
|
|
|
|
git_url: ../..
|
|
|
|
|
|
|
|
build:
|
|
|
|
noarch: python
|
2018-02-22 20:45:22 +08:00
|
|
|
number: {{ environ["GIT_DESCRIBE_NUMBER"] }}
|
|
|
|
string: {{ environ["GIT_DESCRIBE_NUMBER"] }}+git{{ environ["GIT_FULL_HASH"][:8] }}
|
2018-02-22 17:25:18 +08:00
|
|
|
script_env:
|
|
|
|
- ARTIQ_TARGET
|
|
|
|
- ARTIQ_VARIANT
|
2018-02-22 21:26:42 +08:00
|
|
|
ignore_prefix_files: True
|
2018-02-22 17:25:18 +08:00
|
|
|
|
|
|
|
outputs:
|
2018-02-22 20:45:22 +08:00
|
|
|
- name: artiq-{{ environ["ARTIQ_TARGET"] }}-{{ environ["ARTIQ_VARIANT"] }}
|
2018-02-21 11:15:01 +08:00
|
|
|
|
|
|
|
requirements:
|
|
|
|
build:
|
2018-02-22 20:45:22 +08:00
|
|
|
- artiq-dev {{ "{tag} {number}+git{hash}".format(tag=environ["GIT_DESCRIBE_TAG"], number=environ["GIT_DESCRIBE_NUMBER"], hash=environ["GIT_FULL_HASH"][:8]) }}
|
2018-02-21 11:15:01 +08:00
|
|
|
run:
|
2018-02-22 20:45:22 +08:00
|
|
|
- artiq {{ "{tag} {number}+git{hash}".format(tag=environ["GIT_DESCRIBE_TAG"], number=environ["GIT_DESCRIBE_NUMBER"], hash=environ["GIT_FULL_HASH"][:8]) }}
|
2018-02-21 11:15:01 +08:00
|
|
|
|
|
|
|
about:
|
|
|
|
home: https://m-labs.hk/artiq
|
|
|
|
license: LGPL
|
2018-02-22 15:30:26 +08:00
|
|
|
summary: 'Bitstream, BIOS and firmware for the {{ environ.get("ARTIQ_TARGET") }}-{{ environ.get("ARTIQ_VARIANT") }} board variant'
|