found 1079194 4.3.1-3
tags 1079194 + patch
thanks

The previous fix did not work as the htmlcov directory was being
shipped under (e.g.)

  /usr/lib/python3.14/dist-packages/htmlcov

and not:

  /usr/lib/python3/dist-packages/htmlcov

Simply replacing the "…/python3/…" with "…/python3*/…" would not work
here, as this would leave an empty /usr/lib/python3.14/dist-packages/
directory in the case that testsuite was run. I therefore recommend
the use of PYBUILD_AFTER_TEST; patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git debian/rules debian/rules
index 962ba4a..6d9c1da 100755
--- debian/rules
+++ debian/rules
@@ -3,9 +3,7 @@
 UPSTREAM_GIT := https://github.com/azogue/aiopvpc.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
+export PYBUILD_AFTER_TEST = rm -rfv {build_dir}/htmlcov
+
 %:
        dh $@ --buildsystem=pybuild --with python3
-
-override_dh_fixperms:
-       dh_fixperms
-       rm -rf 
$(CURDIR)/debian/python3-aiopvpc/usr/lib/python3/dist-packages/htmlcov

Reply via email to