| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | include /usr/share/dpkg/pkg-info.mk |
| 4 | |
| 5 | export PYBUILD_TEST_ARGSscip-makefile . . . PYBUILD_TEST_ARGS.=--no-cov |
| 6 | |
| 7 | %scip-makefile . . . `%`/: |
| 8 | dh $@scip-makefile . . . `@`. --buildsystem=pybuild |
| 9 | |
| 10 | execute_before_dh_auto_buildscip-makefile . . . execute_before_dh_auto_build/: |
| 11 | sed -i "s/^version = \".*\"/version = \"$(DEB_VERSION_UPSTREAM)\"/" pyproject.toml |
| 12 | |
| 13 | execute_before_dh_cleanscip-makefile . . . execute_before_dh_clean/: |
| 14 | sed -i "s/^version = \".*\"/version = \"0.0.0\"/" pyproject.toml |