| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie |
| 7 | export PYBUILD_NAME=lz4 |
| 8 | # The stream bindings are considered experimental by upstream and not built |
| 9 | # as part of the Debian package. |
| 10 | export PYBUILD_TEST_ARGS = --ignore tests/stream |
| 11 | # This test is unreasonably slow. |
| 12 | PYBUILD_TEST_ARGS += -k 'not test_frame_5' |
| 13 | export PYBUILD_AFTER_TEST = rm -f {build_dir}/testfile* |
| 14 | |
| 15 | %: |
| 16 | dh $@ --buildsystem=pybuild |