| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
export PYBUILD_NAMEscip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/PYBUILD_NAME.=binwalk |
| 5 |
export PYBUILD_BEFORE_TESTscip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/PYBUILD_BEFORE_TEST.=cp -r {dir}/testing {build_dir} |
| 6 |
export PYBUILD_TEST_ARGSscip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/PYBUILD_TEST_ARGS.=testing/tests/test*.py |
| 7 |
export PYBUILD_AFTER_TESTscip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/PYBUILD_AFTER_TEST.=rm -rf {build_dir}/testing |
| 8 |
|
| 9 |
PYVERscip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/PYVER. := $(shellscip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/shell. py3versions -d) |
| 10 |
|
| 11 |
%scip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/`%`().: |
| 12 |
dh $@ --buildsystem=pybuild |
| 13 |
|
| 14 |
override_dh_auto_cleanscip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/override_dh_auto_clean().: |
| 15 |
|
| 16 |
|
| 17 |
python3 setup.py clean |
| 18 |
|
| 19 |
override_dh_auto_testscip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/override_dh_auto_test().: |
| 20 |
HOME= PYTHONPATH=src dh_auto_testscip-debian debian debhelper . dh_auto_test(). |
| 21 |
|
| 22 |
execute_after_dh_installscip-debian debian binwalk 2.4.3+dfsg1-3 binwalk/rules/execute_after_dh_install().: |
| 23 |
mkdir -p debian/binwalk/usr/bin |
| 24 |
mv debian/python3-binwalk/usr/bin debian/binwalk/usr |