[neon/qt6/pyside6/Neon/release] debian: Skip build and use install step

Anupam Basak null at kde.org
Sun Jul 2 15:57:14 BST 2023


Git commit decc114a5f6a26255b52088c954500f2ac5bafb4 by Anupam Basak.
Committed on 02/07/2023 at 14:57.
Pushed by anupambasak into branch 'Neon/release'.

Skip build and use install step

M  +12   -1    debian/rules

https://invent.kde.org/neon/qt6/pyside6/-/commit/decc114a5f6a26255b52088c954500f2ac5bafb4

diff --git a/debian/rules b/debian/rules
index d2612ad..bfe6b90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,13 +28,24 @@ override_dh_auto_clean:
 	python3 -m pip install -U --upgrade-strategy eager -r requirements-doc.txt
 	dh_auto_clean -O--buildsystem=pybuild --
 
+override_dh_auto_build:
+	# Skip build step as install step will force build again
+	true
+
 override_dh_auto_install:
-	# DO NOT USE pybuild INSTALL as it skips some files that is required in the package
+	# DO NOT USE pybuild INSTALL to packaging dir as it skips some files that is required in the package
+	# Instead install to some other dir and update the .install files as required
+	dh_auto_install -O--buildsystem=pybuild -- --destdir=pyside6_install
+
 	# List the files to be able to update *.install files
 	echo "PySide/Shiboken files to package"
 	echo "--------------------------------"
+	-find ./build/qfp-*-relwithdebinfo/package
+	echo "--------------------------------"
 	-find ./build/qfp-*-relwithdebinfo/install
 	echo "--------------------------------"
+	-find ./pyside6_install
+	echo "--------------------------------"
 
 override_dh_dwz:
 	true


More information about the Neon-commits mailing list