[Python-modules-commits] [pyqt5] 01/02: Move pyuic5-related sed call to install-arch target.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sun Oct 25 20:50:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch master
in repository pyqt5.

commit e0d5b612539e39a7ba23c2905164b2e74e5712bb
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sun Oct 25 23:48:10 2015 +0300

    Move pyuic5-related sed call to install-arch target.
    
    It should not be run during indep builds.
---
 debian/changelog | 7 +++++++
 debian/rules     | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9800b2a..d8ff231 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pyqt5 (5.5.1+dfsg-3) UNRELEASED; urgency=medium
+
+  * Move pyuic5-related sed call to install-arch target, it should not
+    be run during indep builds.
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Sun, 25 Oct 2015 23:46:29 +0300
+
 pyqt5 (5.5.1+dfsg-2) unstable; urgency=medium
 
   * Make pyuic5 shebang fixup really work.
diff --git a/debian/rules b/debian/rules
index 8a5e9ab..335c156 100755
--- a/debian/rules
+++ b/debian/rules
@@ -131,6 +131,7 @@ install-arch: build-arch
 	done
 
 	dh_install -a --fail-missing
+	sed -i 's,/usr/bin/python3[.0-9]*,/usr/bin/python3,' debian/pyqt5-dev-tools/usr/bin/pyuic5
 
 	find debian/python*-dbg ! -type d \
 		! \( -name '*.so' -o -name '*config_*d*.py' \) | xargs rm -f
@@ -300,7 +301,6 @@ endif
 	rm -rf $(CURDIR)/debian/pyqt5-examples/usr/share/doc/pyqt5-examples/examples/webkit/googlechat
 	rm -rf $(CURDIR)/debian/pyqt5-examples/usr/share/doc/pyqt5-examples/examples/designer/plugins/python/__pycache__
 	rm -rf $(CURDIR)/debian/pyqt5-examples/usr/share/doc/pyqt5-examples/examples/designer/plugins/widgets/__pycache__
-	sed -i 's,/usr/bin/python3[.0-9]*,/usr/bin/python3,' debian/pyqt5-dev-tools/usr/bin/pyuic5
 	dh_fixperms
 	dh_compress -X/examples
 	dh_installdeb

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyqt5.git



More information about the Python-modules-commits mailing list