summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-25 11:04:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-25 11:05:33 +0200
commit4507e3e24c652fb838ad11d790ef4aa94354acaf (patch)
tree5d0e8758d30d2456f4d4cf4b526592f678edf8a8
parenta2b212f0cd8eb05bd41ea82acc23720d2f0c3827 (diff)
downloadtde-packaging-4507e3e24c652fb838ad11d790ef4aa94354acaf.tar.gz
tde-packaging-4507e3e24c652fb838ad11d790ef4aa94354acaf.zip
Install real __init__.py instead of empty in python_tqt on Debian and Ubuntu
This relates to bug 2693 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rwxr-xr-xdebian/lenny/dependencies/python-tqt/debian/rules3
-rwxr-xr-xdebian/squeeze/dependencies/python-tqt/debian/rules3
-rwxr-xr-xubuntu/maverick/dependencies/python-tqt/debian/rules3
3 files changed, 6 insertions, 3 deletions
diff --git a/debian/lenny/dependencies/python-tqt/debian/rules b/debian/lenny/dependencies/python-tqt/debian/rules
index ef3ed2473..1c9fc0b91 100755
--- a/debian/lenny/dependencies/python-tqt/debian/rules
+++ b/debian/lenny/dependencies/python-tqt/debian/rules
@@ -111,7 +111,8 @@ install-arch: build
pylib=$$(python$$version -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')/python_tqt; \
$(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-tqt-dbg;\
mkdir -p debian/python-tqt/$$pylib;\
- touch debian/python-tqt/$$pylib/__init__.py;\
+ cp -a debian/tmp/$$pylib/__init__.py \
+ debian/python-tqt/$$pylib/__init__.py;\
mkdir -p debian/python-tqt-gl-dbg/$$pylib;\
mv debian/python-tqt-dbg/$$pylib/qtgl.so \
debian/python-tqt-gl-dbg/$$pylib/;\
diff --git a/debian/squeeze/dependencies/python-tqt/debian/rules b/debian/squeeze/dependencies/python-tqt/debian/rules
index 200f56683..fa7a8bfcb 100755
--- a/debian/squeeze/dependencies/python-tqt/debian/rules
+++ b/debian/squeeze/dependencies/python-tqt/debian/rules
@@ -113,7 +113,8 @@ install-arch: build
pylib=$$(python$$version -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')/python_tqt; \
$(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-tqt-dbg;\
mkdir -p debian/python-tqt/$$pylib;\
- touch debian/python-tqt/$$pylib/__init__.py;\
+ cp -a debian/tmp/$$pylib/__init__.py \
+ debian/python-tqt/$$pylib/__init__.py;\
mkdir -p debian/python-tqt-gl-dbg/$$pylib;\
mv debian/python-tqt-dbg/$$pylib/qtgl.so \
debian/python-tqt-gl-dbg/$$pylib/;\
diff --git a/ubuntu/maverick/dependencies/python-tqt/debian/rules b/ubuntu/maverick/dependencies/python-tqt/debian/rules
index 200f56683..fa7a8bfcb 100755
--- a/ubuntu/maverick/dependencies/python-tqt/debian/rules
+++ b/ubuntu/maverick/dependencies/python-tqt/debian/rules
@@ -113,7 +113,8 @@ install-arch: build
pylib=$$(python$$version -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')/python_tqt; \
$(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-tqt-dbg;\
mkdir -p debian/python-tqt/$$pylib;\
- touch debian/python-tqt/$$pylib/__init__.py;\
+ cp -a debian/tmp/$$pylib/__init__.py \
+ debian/python-tqt/$$pylib/__init__.py;\
mkdir -p debian/python-tqt-gl-dbg/$$pylib;\
mv debian/python-tqt-dbg/$$pylib/qtgl.so \
debian/python-tqt-gl-dbg/$$pylib/;\