diff options
author | Drew Parsons <dparsons@debian.org> | 2022-12-30 17:05:21 +0100 |
---|---|---|
committer | Drew Parsons <dparsons@debian.org> | 2022-12-30 17:05:21 +0100 |
commit | e0124bae5077af295601e193dfebb87909b9e1eb (patch) | |
tree | 72a0bd30d7d5b9f70bd39ec72a4ab361aa81f2f4 | |
parent | 77ec2bdf2b70e110a0791d151add5fc8e48e0d21 (diff) |
delete coverage (htmlcov) files from installation dirs
in execute_before_dh_python3
They were generated by build-time tests, not wanted in the installation
(the coverage tests were requested by upstream build script but not
excluded from the installation step)
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | debian/rules | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 31dbb6e..4d0ce92 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,8 @@ lmfit-py (1.1.0-1) UNRELEASED; urgency=medium * override_dh_installdocs-indep copies extensions.py manually when building docs (following doc/Makefile). extensions.py is longer shipped in upstream source tarball + * execute_before_dh_python3: delete coverage (htmlcov) files from + installation dirs (they were generated by build-time tests) * Standards-Version: 4.6.2 -- Debian Janitor <janitor@jelmer.uk> Mon, 14 Nov 2022 05:26:32 -0000 diff --git a/debian/rules b/debian/rules index ec1104e..f05654b 100755 --- a/debian/rules +++ b/debian/rules @@ -21,3 +21,6 @@ override_dh_installdocs-indep: mv examples/nodoc_example_emcee_Model_interface.py examples/example_emcee_Model_interface.py dh_installdocs -i dh_installdocs .pybuild/html -p python-lmfit-doc --doc-main-package=python3-lmfit + +execute_before_dh_python3: + rm -rf debian/python3-lmfit/usr/lib/python3*/dist-packages/htmlcov debian/python3-lmfit/usr/lib/python3*/dist-packages/.coverage |