diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules index b0bd3b2..ad6e9e4 100755 --- a/debian/rules +++ b/debian/rules @@ -2,14 +2,11 @@ export PYBUILD_NAME=ruamel.yaml export PYBUILD_INSTALL_ARGS=--single-version-externally-managed -#export PYBUILD_BEFORE_BUILD_python3=cython3 ext/_ruamel_yaml.pyx -export PYBUILD_BEFORE_TEST=ln -s {dir}/_test {build_dir}/ export PYBUILD_TEST_ARGS=_test/test_*.py %: dh $@ --with python3 --buildsystem=pybuild -override_dh_auto_test: -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - echo "There is no test suite available" -endif +# pybuild introduces this file +execute_after_dh_clean: + rm -f pyproject.toml |