[neon/forks/pyqt5/Neon/release-lts] debian: Remove obsolete rm commands, move the remaining one to a better place.

Dmitry Shachnev null at kde.org
Wed May 26 11:29:29 BST 2021


Git commit 4391328ddc8538f518ae686251234decf2caa99d by Dmitry Shachnev.
Committed on 17/06/2020 at 10:56.
Pushed by jriddell into branch 'Neon/release-lts'.

Remove obsolete rm commands, move the remaining one to a better place.

M  +1    -6    debian/rules

https://invent.kde.org/neon/forks/pyqt5/commit/4391328ddc8538f518ae686251234decf2caa99d

diff --git a/debian/rules b/debian/rules
index f44aa9cb..e0bd4b1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -111,6 +111,7 @@ override_dh_auto_install-arch:
 
 execute_after_dh_install-arch:
 	sed -i 's,/usr/bin/python3[.0-9]*,/usr/bin/python3,' debian/pyqt5-dev-tools/usr/bin/*
+	rm -rfv debian/python3-pyqt5/usr/lib/python3/dist-packages/PyQt5/uic/port_v2
 
 override_dh_auto_clean:
 	rm -rf $(ALLPYTHONS:%=build-%) $(ALLPYTHONS:%=dbg-build-%)
@@ -135,9 +136,3 @@ override_dh_strip-arch:
 
 override_dh_python3:
 	dh_python3 --no-dbg-cleaning -N pyqt5-examples
-
-execute_after_dh_install:
-	rm -rf $(CURDIR)/debian/python3-pyqt5/usr/lib/python3/dist-packages/PyQt5/uic/port_v2
-	rm -rf $(CURDIR)/debian/pyqt5-examples/usr/share/doc/pyqt5-examples/examples/webkit/googlechat
-	rm -rf $(CURDIR)/debian/pyqt5-examples/usr/share/doc/pyqt5-examples/examples/designer/plugins/python/__pycache__
-	rm -rf $(CURDIR)/debian/pyqt5-examples/usr/share/doc/pyqt5-examples/examples/designer/plugins/widgets/__pycache__



More information about the Neon-commits mailing list