summaryrefslogtreecommitdiffstats
path: root/dilos/libraries/python-trinity/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'dilos/libraries/python-trinity/debian/rules')
-rwxr-xr-xdilos/libraries/python-trinity/debian/rules28
1 files changed, 15 insertions, 13 deletions
diff --git a/dilos/libraries/python-trinity/debian/rules b/dilos/libraries/python-trinity/debian/rules
index 3bae8384b..eb6d1475f 100755
--- a/dilos/libraries/python-trinity/debian/rules
+++ b/dilos/libraries/python-trinity/debian/rules
@@ -60,7 +60,7 @@ build-%/configure-stamp:
cd build-$* && python$* ../configure.py \
-c -u -k /usr -o /usr/include -n /usr/lib/$(DEB_HOST_MULTIARCH) \
-e python$* \
- -v /usr/share/sip/trinity -j $(SPLIT)
+ -v /usr/share/sip-tqt/trinity -j $(SPLIT)
touch $@
dbg-build-%/configure-stamp:
@@ -69,7 +69,7 @@ dbg-build-%/configure-stamp:
cd dbg-build-$* && python$*-dbg ../configure.py \
-c -u -k /usr -o /usr/include -n /usr/lib \
-e python$* \
- -v /usr/share/sip/trinity -j $(SPLIT)
+ -v /usr/share/sip-tqt/trinity -j $(SPLIT)
touch $@
build build-arch: $(PYTHONS:%=build-%/build-stamp)
@@ -109,15 +109,17 @@ install-indep:
dh_clean -k -i
dh_installdirs -i
dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$'
- for version in ${PYTHONS};\
+ for version in ${DBG_PYTHONS};\
do\
- mkdir -p debian/python-trinity-trinity-dev/usr/lib/python-$$version/site-packages;\
- cp debian/pytdeconfig.py debian/python-trinity-trinity-dev/usr/lib/python-$$version/site-packages/;\
- cp build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/usr/lib/python-$$version/site-packages/pytdeconfig_nd.py;\
+ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())');\
+ mkdir -p debian/pytde-dev/$$pylib;\
+ install -m 644 -o root -g root debian/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig.py;\
+ install -m 644 -o root -g root build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_nd.py;\
done
# for version in ${DBG_PYTHONS};\
# do\
-# cp dbg-build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/usr/lib/python-$$version/site-packages/pytdeconfig_d.py;\
+# pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())');\
+# install -m 644 -o root -g root dbg-build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_d.py;\
# done
install-arch:
@@ -132,14 +134,14 @@ install-arch:
done
# set -e; \
-# for version in ${DBG_PYTHONS}; do \
-# $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-trinity-trinity-dbg;\
-# done
+# for version in ${DBG_PYTHONS}; do \
+# $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-pytde-dbg;\
+# done
dh_install -a --sourcedir=$(CURDIR)/debian/tmp
- mkdir -p $(CURDIR)/debian/python-trinity-trinity/usr/lib/$(DEB_HOST_MULTIARCH)
- ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/trinity/libkonsolepart.so $(CURDIR)/debian/python-trinity-trinity/usr/lib/$(DEB_HOST_MULTIARCH)
+ mkdir -p $(CURDIR)/debian/python-pytde/usr/lib/$(DEB_HOST_MULTIARCH)
+ ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/trinity/libkonsolepart.so $(CURDIR)/debian/python-pytde/usr/lib/$(DEB_HOST_MULTIARCH)
# for i in $$(find debian/python-*-dbg -name '*.so'); do \
# b=$$(basename $$i .so); \
# mv $$i $$(dirname $$i)/$${b}_d.so; \
@@ -160,7 +162,7 @@ binary-common:
dh_installexamples
dh_link
ifeq (,$(findstring -i, $(DH_OPTIONS)))
- DH_OPTIONS= dh_strip -ppython-trinity-trinity #--dbg-package=python-trinity-trinity-dbg
+ DH_OPTIONS= dh_strip -ppython-pytde #--dbg-package=python-pytde-dbg
endif
dh_compress -X.py -X.ui -X.dtd
dh_fixperms