forked from M-Labs/artiq-extrapkg
set versions in ARTIQ conda package
This commit is contained in:
parent
b01ba6c43a
commit
06a25ce4ab
|
@ -80,6 +80,7 @@
|
||||||
cat << EOF > conda/${constituent.name}/build.sh
|
cat << EOF > conda/${constituent.name}/build.sh
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
${constituent.preSetup or ""}
|
||||||
python setup.py install \
|
python setup.py install \
|
||||||
--prefix=\$PREFIX \
|
--prefix=\$PREFIX \
|
||||||
--single-version-externally-managed \
|
--single-version-externally-managed \
|
||||||
|
@ -117,6 +118,11 @@
|
||||||
name = "artiq";
|
name = "artiq";
|
||||||
version = artiq.packages.x86_64-linux.artiq.version;
|
version = artiq.packages.x86_64-linux.artiq.version;
|
||||||
src = artiq.packages.x86_64-linux.artiq.src;
|
src = artiq.packages.x86_64-linux.artiq.src;
|
||||||
|
preSetup =
|
||||||
|
''
|
||||||
|
export VERSIONEER_OVERRIDE=${artiq.packages.x86_64-linux.artiq.version}
|
||||||
|
export VERSIONEER_REV=${artiq.sourceInfo.rev}
|
||||||
|
'';
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"pythonparser"
|
"pythonparser"
|
||||||
"scipy"
|
"scipy"
|
||||||
|
|
Loading…
Reference in New Issue