summaryrefslogtreecommitdiffstats
path: root/debian
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:06:05 +0200
commitba412349c708fa6fee29431ab2fb14e3897cb8e5 (patch)
tree4d4a5c4d62e3ecfafb5dee77f54be7473a1950c9 /debian
parentb9829d4c9f05549fd5c188b5ba65980fc601a5b7 (diff)
downloadtde-packaging-ba412349c708fa6fee29431ab2fb14e3897cb8e5.tar.gz
tde-packaging-ba412349c708fa6fee29431ab2fb14e3897cb8e5.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> (cherry picked from commit 4507e3e24c652fb838ad11d790ef4aa94354acaf)
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/lenny/dependencies/python-tqt/debian/rules3
-rwxr-xr-xdebian/squeeze/dependencies/python-tqt/debian/rules3
2 files changed, 4 insertions, 2 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/;\