[Python-modules-commits] [dask] 01/02: Also set fullrevision-id in reproducible-version.patch
Diane Trout
diane at moszumanska.debian.org
Fri Aug 11 23:29:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
diane pushed a commit to annotated tag debian/0.15.1-3
in repository dask.
commit c2886054267e328e9944ec52feaeb1b147e400f7
Author: Diane Trout <diane at ghic.org>
Date: Fri Aug 11 14:47:25 2017 -0700
Also set fullrevision-id in reproducible-version.patch
(Closes: 871785)
---
debian/patches/reproducible-version.patch | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/patches/reproducible-version.patch b/debian/patches/reproducible-version.patch
index 62f3886..0d8536e 100644
--- a/debian/patches/reproducible-version.patch
+++ b/debian/patches/reproducible-version.patch
@@ -5,14 +5,15 @@ Forwarded: not-needed
--- a/versioneer.py
+++ b/versioneer.py
-@@ -1402,6 +1402,14 @@
+@@ -1402,6 +1402,15 @@
# see the discussion in cmdclass.py:get_cmdclass()
del sys.modules["versioneer"]
+ import subprocess
-+ debian_version = subprocess.check_output(('dpkg-parsechangelog', '-SVersion'))
++ debian_version = subprocess.check_output(('dpkg-parsechangelog', '-SVersion')).rstrip()
+ return {
+ 'version': debian_version.decode('ascii').split('-', 1)[0],
++ 'full-revisionid': debian_version.decode('ascii'),
+ 'dirty': False,
+ 'error': None
+ }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dask.git
More information about the Python-modules-commits
mailing list