Debian Codegraph @

debian/tests/reproduce-3

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 # For reproducible .whl files. See bug ##776026.
4 export SOURCE_DATE_EPOCH=315576060
5
6 # Change to the directory with the setup.py.
7 cd debian/tests/dummy
8
9 # Create the .whl file. Both build it and write it to a temporary directory.
10 python3scip-shell system . . python3. setup.py bdist_wheel -b $AUTOPKGTEST_TMP/build-1 -d $AUTOPKGTEST_TMP/wheels-1
11
12 sleepscip-shell system . . sleep. 5
13
14 # Create the .whl file. Both build it and write it to a temporary directory.
15 python3scip-shell system . . python3. setup.py bdist_wheel -b $AUTOPKGTEST_TMP/build-2 -d $AUTOPKGTEST_TMP/wheels-2
16
17 # For reproducibility, ensure that the checksums are identical.
18 sum1=`sha256sumscip-shell system . . sha256sum. $AUTOPKGTEST_TMP/wheels-1/dummy-0.0-py3-none-any.whl | cutscip-shell system . . cut. -c 1-64`
19 sum2=`sha256sumscip-shell system . . sha256sum. $AUTOPKGTEST_TMP/wheels-2/dummy-0.0-py3-none-any.whl | cutscip-shell system . . cut. -c 1-64`
20
21 echoscip-shell system . . echo. $sum1
22 echoscip-shell system . . echo. $sum2
23 testscip-shell system . . test. $sum1 = $sum2