1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=backports.zstd
# Use Debian's zstd library
export PYBUILD_BUILD_ARGS = --config-setting="--build-option=--system-zstd"
# These test requires installation to system before testing
DISABLE_TESTS =
DISABLE_TESTS += not test_bad_use
DISABLE_TESTS += and not test_create_command
DISABLE_TESTS += and not test_create_command_compressed
DISABLE_TESTS += and not test_create_command_dot_started_filename
DISABLE_TESTS += and not test_create_command_dotless_filename
DISABLE_TESTS += and not test_extract_command
DISABLE_TESTS += and not test_extract_command_different_directory
DISABLE_TESTS += and not test_extract_command_invalid_file
DISABLE_TESTS += and not test_list_command_invalid_file
DISABLE_TESTS += and not test_test_command
DISABLE_TESTS += and not test_test_command_invalid_file
export PYBUILD_TEST_ARGS = -k "$(DISABLE_TESTS)"
%:
dh $@ --buildsystem=pybuild
|