Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
4 export NO_NET_ACCESS=1
5 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/test-reports {build_dir}/screenshots
6 export PYTEST_QT_API=pyside6
7 # Run the library test suite only. Upstream does not gate the wheel on the
8 # Qt GUI tests either (cibuildwheel: "pytest test --ignore=test/asammdf/gui",
9 # tox libtests: "pytest -k 'not gui'"); they are slow and unreliable headless.
10 export PYBUILD_TEST_ARGS=--ignore=test/asammdf/gui
11
12 DPKG_EXPORT_BUILDFLAGS = 1
13 include /usr/share/dpkg/buildflags.mk
14 export CFLAGS+=$(CPPFLAGS)
15
16 %:
17 dh $@ --buildsystem=pybuild
18
19 override_dh_auto_test:
20 xvfb-run -a -s "-screen 0 1024x768x24" dh_auto_test