summaryrefslogtreecommitdiffstats
path: root/dilos/dependencies/python-tqt/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-12-21 14:03:37 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-12-21 14:03:37 +0100
commit16b5576ad39bc84c7ddf39b4bcf5bc03256dd72c (patch)
tree614db45534e8c8dc73b06053095c2ce604a95474 /dilos/dependencies/python-tqt/debian/rules
parentea1967f508c4961ed75e9b31f289ee14dfb19e14 (diff)
downloadtde-packaging-16b5576ad39bc84c7ddf39b4bcf5bc03256dd72c.tar.gz
tde-packaging-16b5576ad39bc84c7ddf39b4bcf5bc03256dd72c.zip
DEB python-tqt: Rename python extension module from python_tqt 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/rules42
1 files changed, 21 insertions, 21 deletions
diff --git a/dilos/dependencies/python-tqt/debian/rules b/dilos/dependencies/python-tqt/debian/rules
index 85cc0b06d..2cb036b1b 100755
--- a/dilos/dependencies/python-tqt/debian/rules
+++ b/dilos/dependencies/python-tqt/debian/rules
@@ -59,7 +59,7 @@ build-%/configure-stamp:
-c -n /usr/include/tqt3 \
-e python$* \
-o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
- -d /usr/lib/python$*/$(call py_sitename,$*)/python_tqt \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
-l /usr/include/python$* \
-v /usr/share/sip/tqt \
-m /usr/lib/python$*/config \
@@ -74,7 +74,7 @@ dbg-build-%/configure-stamp:
| python$*-dbg ../configure.py \
-c -n /usr/include/tqt3 \
-o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
- -d /usr/lib/python$*/$(call py_sitename,$*)/python_tqt \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
-l /usr/include/python$*_d \
-v /usr/share/sip/tqt \
-m /usr/lib/python$*/config_d \
@@ -102,7 +102,7 @@ install-indep: configure
dh_clean -k -i
dh_installdirs -i
for version in ${PYTHONS}; do\
- pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/python_tqt;\
+ 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;\
done
@@ -131,28 +131,28 @@ 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)/python_tqt
- cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/__init__.py \
- debian/python3-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/__init__.py
-# mkdir -p debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt
-# mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/qtgl.so \
-# debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/
-# mkdir -p debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt
-# mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/qtext.so \
-# debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/
+ mkdir -p debian/python3-tqt/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/
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)/python_tqt
- cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/__init__.py \
- debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/__init__.py
-# mkdir -p debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt
-# mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/qtgl.so \
-# debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/
-# mkdir -p debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt
-# mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/qtext.so \
-# debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/
+ mkdir -p debian/python-tqt/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/
clean:
dh_testdir