#!/usr/bin/make -f

# DH_VERBOSE := 1
export PYBUILD_NAME=frictionless
export PYBUILD_BEFORE_TEST=cp -a data {build_dir}/

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
	PYBUILD_TEST_ARGS="-k 'not duckdb and not ezodf and not sav and not spss \
	                       and not mysql and not postgres and not wkt \
	                       and not parquet and not ods \
	                       and not tableschema_to_excel_template \
	                       and not test_html_parser and not description_html \
	                       and not description_text \
	                       and not test_package_profile_remote_ref_resolved_by_frictionless \
	                       and not test_resource_encoding_detection_accent \
	                       and not test_fields_match'" dh_auto_test
