[Python-modules-commits] [pyqt5] 01/01: Preserve timestamps when copying jquery.min.js.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sat Dec 9 18:28:23 UTC 2017


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

mitya57 pushed a commit to branch debian/master
in repository pyqt5.

commit 5a40bbd6bb2ad32e4bf4879839affd0f60993905
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Dec 9 21:26:54 2017 +0300

    Preserve timestamps when copying jquery.min.js.
    
    To make pyrcc generate the resource file reproducibly.
---
 debian/changelog | 7 +++++++
 debian/rules     | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 96e193e..898f460 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pyqt5 (5.9.2+dfsg-2) UNRELEASED; urgency=medium
+
+  * Preserve timestamps when copying jquery.min.js, to make pyrcc generate
+    the resource file reproducibly.
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Sat, 09 Dec 2017 21:25:16 +0300
+
 pyqt5 (5.9.2+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index 6f9595f..9b41270 100755
--- a/debian/rules
+++ b/debian/rules
@@ -118,7 +118,7 @@ install-indep: build-indep
 	# Use python3 shebangs and regenerate resource files
 	export PYTHONPATH=$(CURDIR)/tmp_install_root/usr/lib/python$(DEFAULT_PYTHON)/dist-packages; \
 	cd $(CURDIR)/debian/pyqt5-examples/usr/share/doc/pyqt5-examples/examples/; \
-		cp /usr/share/javascript/jquery/jquery.min.js webkit/fancybrowser/; \
+		cp --preserve=timestamps /usr/share/javascript/jquery/jquery.min.js webkit/fancybrowser/; \
 		find . -name '*.py' -exec sed -i 's/\/env python/\/python3/g' {} +; \
 		find . -name '*.qrc' | sed 's/\.qrc//g' | QT_HASH_SEED=0 xargs -I {} \
 		$(CURDIR)/tmp_install_root/usr/bin/pyrcc5 {}.qrc -o {}_rc.py

-- 
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