#! /usr/bin/make -f

export PYBUILD_NAME=myst-parser

# ignore linkify tests until linkify is package in Debian #997970
# Tests that use pytest_param_files also are ingnored.
# Tests that use sphinx_pytest are ignored
export PYBUILD_TEST_ARGS=-k 'not test_extended_syntaxes \
			and not test_html_to_nodes \
			and not test_html_ast \
			and not test_html_round_trip \
			and not test_basic \
			and not test_syntax_elements \
			and not test_link_resolution \
			and not test_docutils_roles \
			and not test_docutils_directives \
			and not test_syntax_extensions \
			and not test_render \
			and not test_errors' \
			--ignore=tests/test_renderers/test_fixtures_sphinx.py \
			--ignore=tests/test_renderers/test_myst_refs.py \
			--ignore=tests/test_sphinx/test_sphinx_builds.py \
			--ignore=tests/test_renderers/test_myst_config.py \
			--ignore=tests/test_renderers/test_fixtures_docutils.py

%:
	dh $@ --with python3 --buildsystem=pybuild
