From ba412349c708fa6fee29431ab2fb14e3897cb8e5 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 (cherry picked from commit 4507e3e24c652fb838ad11d790ef4aa94354acaf) --- debian/squeeze/dependencies/python-tqt/debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debian/squeeze/dependencies') 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/;\ -- cgit v1.2.1