[neon/qt6/pyside6/Neon/release] debian: more concise with eager upgrade

Carlos De Maine null at kde.org
Sun Jul 2 00:28:35 BST 2023


Git commit d79713b6a6920d7597f87efeee10874efc1d04a9 by Carlos De Maine.
Committed on 01/07/2023 at 23:28.
Pushed by carlosdem into branch 'Neon/release'.

more concise with eager upgrade

M  +2    -7    debian/rules

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

diff --git a/debian/rules b/debian/rules
index f93a2d0..07e4a90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,14 +23,9 @@ CXXFLAGS+=$(CPPFLAGS)
 undefine XDG_RUNTIME_DIR
 
 override_dh_auto_clean:
-	#apt-get remove python3-setuptools
 	rm -r /usr/lib/python3/dist-packages/setuptools/
-	python3 -m pip install --upgrade pip
-	python3 -m pip install --upgrade packaging
-	python3 -m pip install --upgrade six
-	python3 -m pip install --upgrade wheel
-	python3 -m pip install --upgrade distro
-	python3 -m pip install -r requirements.txt
+	python3 -m pip install -U --upgrade-strategy eager -r requirements.txt
+	python3 -m pip install -U --upgrade-strategy eager -r requirements-doc.txt
 	dh_auto_clean -O--buildsystem=pybuild --
 
 override_dh_dwz:


More information about the Neon-commits mailing list