From 4507e3e24c652fb838ad11d790ef4aa94354acaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 25 Sep 2016 11:04:34 +0200 Subject: Install real __init__.py instead of empty in python_tqt on Debian and Ubuntu This relates to bug 2693 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- debian/lenny/dependencies/python-tqt/debian/rules | 3 ++- debian/squeeze/dependencies/python-tqt/debian/rules | 3 ++- 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/;\ -- cgit v1.2.1