From 808a6a0f0b503e639748dce977bac1108067473e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 20 Jan 2023 05:04:14 +0100 Subject: [PATCH] DEB pytqt: Build for all installed pythons, instead of just default. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- debian/_base/dependencies/pytqt/debian/rules | 6 +++--- dilos/dependencies/pytqt/debian/rules | 6 +++--- ubuntu/_base/dependencies/pytqt/debian/rules | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/debian/_base/dependencies/pytqt/debian/rules b/debian/_base/dependencies/pytqt/debian/rules index 08f03fd27..c08d9a87b 100755 --- a/debian/_base/dependencies/pytqt/debian/rules +++ b/debian/_base/dependencies/pytqt/debian/rules @@ -41,7 +41,7 @@ else endif CXXFLAGS += "-I/usr/include/tqt" -PYTHONS := $(shell py3versions -vd) +PYTHONS := $(shell py3versions -vr) DEB_PARALLEL_JOBS ?= 40 @@ -110,7 +110,7 @@ install-arch: build dh_clean -k -a dh_installdirs -a - for p in $(PYTHONS) ; do \ + for p in ${PYTHONS} ; do \ $(MAKE) -f debian/rules install-arch-$$p;\ done @@ -126,7 +126,7 @@ install-arch: build install-arch-3.%: $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp - $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg + $(MAKE) -C dbg-build-3.$* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py diff --git a/dilos/dependencies/pytqt/debian/rules b/dilos/dependencies/pytqt/debian/rules index 2db7dbaaf..548cf288d 100755 --- a/dilos/dependencies/pytqt/debian/rules +++ b/dilos/dependencies/pytqt/debian/rules @@ -41,7 +41,7 @@ else endif CXXFLAGS += "-I/usr/include/tqt" -PYTHONS := $(shell py3versions -vd) +PYTHONS := $(shell py3versions -vr) DEB_PARALLEL_JOBS ?= 40 @@ -113,7 +113,7 @@ install-arch: build dh_clean -k -a dh_installdirs -a - for p in $(PYTHONS) ; do \ + for p in ${PYTHONS} ; do \ $(MAKE) -f debian/rules install-arch-$$p;\ done @@ -129,7 +129,7 @@ install-arch: build install-arch-3.%: $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp -# $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg +# $(MAKE) -C dbg-build-3.$* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py diff --git a/ubuntu/_base/dependencies/pytqt/debian/rules b/ubuntu/_base/dependencies/pytqt/debian/rules index 08f03fd27..c08d9a87b 100755 --- a/ubuntu/_base/dependencies/pytqt/debian/rules +++ b/ubuntu/_base/dependencies/pytqt/debian/rules @@ -41,7 +41,7 @@ else endif CXXFLAGS += "-I/usr/include/tqt" -PYTHONS := $(shell py3versions -vd) +PYTHONS := $(shell py3versions -vr) DEB_PARALLEL_JOBS ?= 40 @@ -110,7 +110,7 @@ install-arch: build dh_clean -k -a dh_installdirs -a - for p in $(PYTHONS) ; do \ + for p in ${PYTHONS} ; do \ $(MAKE) -f debian/rules install-arch-$$p;\ done @@ -126,7 +126,7 @@ install-arch: build install-arch-3.%: $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp - $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg + $(MAKE) -C dbg-build-3.$* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py