summaryrefslogtreecommitdiffstats
path: root/dilos/dependencies/pytqt/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'dilos/dependencies/pytqt/debian/rules')
-rwxr-xr-xdilos/dependencies/pytqt/debian/rules11
1 files changed, 7 insertions, 4 deletions
diff --git a/dilos/dependencies/pytqt/debian/rules b/dilos/dependencies/pytqt/debian/rules
index e7ece6a0f..d7427e40a 100755
--- a/dilos/dependencies/pytqt/debian/rules
+++ b/dilos/dependencies/pytqt/debian/rules
@@ -100,12 +100,15 @@ install-indep: configure
dh_testroot
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())')/PyTQt;\
- mkdir -p debian/pytqt-dev/$$pylib;\
- install -m 644 -o root -g root build-$$version/pytqtconfig.py debian/pytqt-dev/$$pylib;\
+ for version in ${PYTHONS}; do \
+ pylibdev=debian/pytqt-dev/$$(python$$version -c "import sysconfig; print(sysconfig.get_path('platstdlib'))")/dist-packages/PyTQt;\
+ mkdir -p $$pylibdev;\
+ install -m 644 -o root -g root build-$$version/pytqtconfig.py $$pylibdev/pytqtconfig_nd.py; \
+ install -m 644 -o root -g root dbg-build-$$version/pytqtconfig.py $$pylibdev/pytqtconfig_d.py; \
done
dh_install -i
+ mkdir -p debian/pytqt-dev/usr/lib/python3/dist-packages/PyTQt
+ install -m 644 -o root -g root debian/pytqtconfig_py3.py debian/pytqt-dev/usr/lib/python3/dist-packages/PyTQt/pytqtconfig.py
install-arch: build
dh_testdir