summaryrefslogtreecommitdiffstats
path: root/dilos/dependencies/python-tqt/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-12-22 15:20:59 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-12-22 15:20:59 +0100
commit0de4c6c511515dcb1fb6cb3750dfe601fa085800 (patch)
tree9030c9f23328ba2c9b3c66989bd3ace3a5f6e0d0 /dilos/dependencies/python-tqt/debian/rules
parent16b5576ad39bc84c7ddf39b4bcf5bc03256dd72c (diff)
downloadtde-packaging-0de4c6c511515dcb1fb6cb3750dfe601fa085800.tar.gz
tde-packaging-0de4c6c511515dcb1fb6cb3750dfe601fa085800.zip
DEB python-tqt: Rename packages to pytqt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'dilos/dependencies/python-tqt/debian/rules')
-rwxr-xr-xdilos/dependencies/python-tqt/debian/rules46
1 files changed, 23 insertions, 23 deletions
diff --git a/dilos/dependencies/python-tqt/debian/rules b/dilos/dependencies/python-tqt/debian/rules
index 2cb036b1b..730a3e36f 100755
--- a/dilos/dependencies/python-tqt/debian/rules
+++ b/dilos/dependencies/python-tqt/debian/rules
@@ -26,7 +26,7 @@ py_libdir_sh = $(py_libdir)
endif
-DOC=$(CURDIR)/debian/python-tqt-doc/usr/share/doc/python-tqt-doc
+DOC=$(CURDIR)/debian/pytqt-doc/usr/share/doc/pytqt-doc
INSTDIR=$(CURDIR)/debian
export TQTDIR=/usr/share/tqt3
@@ -61,7 +61,7 @@ build-%/configure-stamp:
-o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
-d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
-l /usr/include/python$* \
- -v /usr/share/sip/tqt \
+ -v /usr/share/sip-tqt/tqt \
-m /usr/lib/python$*/config \
-z \
CXXFLAGS_RELEASE="" CXXFLAGS="${CXXFLAGS}" STRIP=""
@@ -76,7 +76,7 @@ dbg-build-%/configure-stamp:
-o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
-d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
-l /usr/include/python$*_d \
- -v /usr/share/sip/tqt \
+ -v /usr/share/sip-tqt/tqt \
-m /usr/lib/python$*/config_d \
-z \
CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
@@ -103,8 +103,8 @@ install-indep: configure
dh_installdirs -i
for version in ${PYTHONS}; do\
pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/PyTQt;\
- mkdir -p debian/python-tqt-dev/$$pylib;\
- install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/python-tqt-dev/$$pylib;\
+ mkdir -p debian/pytqt-dev/$$pylib;\
+ install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/pytqt-dev/$$pylib;\
done
dh_install -i
@@ -130,29 +130,29 @@ 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-tqt-dbg
- mkdir -p debian/python3-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
+# $(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-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py
-# mkdir -p debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
-# mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
-# debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
-# mkdir -p debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
-# mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
-# debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
+ debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py
+# mkdir -p debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
+# mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
+# debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
+# mkdir -p debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
+# mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
+# debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
install-arch-%:
$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
-# $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-tqt-dbg
- mkdir -p debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
+# $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-pytqt-dbg
+ mkdir -p debian/python-pytqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
- debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py
-# mkdir -p debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
-# mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
-# debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
-# mkdir -p debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
-# mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
-# debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
+ debian/python-pytqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py
+# mkdir -p debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
+# mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
+# debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
+# mkdir -p debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
+# mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
+# debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
clean:
dh_testdir