diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-09-25 11:04:34 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-09-25 11:05:33 +0200 |
commit | 4507e3e24c652fb838ad11d790ef4aa94354acaf (patch) | |
tree | 5d0e8758d30d2456f4d4cf4b526592f678edf8a8 | |
parent | a2b212f0cd8eb05bd41ea82acc23720d2f0c3827 (diff) | |
download | tde-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-x | debian/lenny/dependencies/python-tqt/debian/rules | 3 | ||||
-rwxr-xr-x | debian/squeeze/dependencies/python-tqt/debian/rules | 3 | ||||
-rwxr-xr-x | ubuntu/maverick/dependencies/python-tqt/debian/rules | 3 |
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/;\ |