diff --git a/debian/changelog b/debian/changelog index 26217a8..7b27783 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ * Team upload * Added (build-)dependency on python3-tk (Closes: #962698) + * Cleanup test data after build time tests; this reduces the weight of the + python3-pauvre package, and improve reproducible builds. -- Etienne Mollier Wed, 08 Jul 2020 16:41:57 +0200 diff --git a/debian/rules b/debian/rules index a34d0ac..155d22a 100755 --- a/debian/rules +++ b/debian/rules @@ -16,7 +16,9 @@ "$${PYBUILDDIR}/pauvre/tests/testdata" \ && BUILDDIR="$${PYBUILDDIR}" PATH="$(CURDIR)/debian/bin:$$PATH" \ dh_auto_test \ - && rm "$${PYBUILDDIR}/input" + && rm "$${PYBUILDDIR}/input" \ + && rm -r "$${PYBUILDDIR}/pauvre/tests/testdata" \ + "$${PYBUILDDIR}/pauvre/tests/testresults" endif override_dh_installexamples: