summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-20 05:04:14 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-20 09:13:50 +0100
commit808a6a0f0b503e639748dce977bac1108067473e (patch)
treefe1ac2cee519d79a5e5143dc885939ebc70f075a
parentf45dc99b33263c1348499afbdde4ded9102cf4a8 (diff)
downloadtde-packaging-808a6a0f0b503e639748dce977bac1108067473e.tar.gz
tde-packaging-808a6a0f0b503e639748dce977bac1108067473e.zip
DEB pytqt: Build for all installed pythons, instead of just default.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rwxr-xr-xdebian/_base/dependencies/pytqt/debian/rules6
-rwxr-xr-xdilos/dependencies/pytqt/debian/rules6
-rwxr-xr-xubuntu/_base/dependencies/pytqt/debian/rules6
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