[numba] 19/20: add no-git-in-generate_lower_listing.patch
Daniel Stender
stender at moszumanska.debian.org
Fri Dec 23 15:33:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
stender pushed a commit to branch master
in repository numba.
commit 8ddd7d87f0b303e48b8438bb5ca0a2131d0b6172
Author: Daniel Stender <stender at debian.org>
Date: Fri Dec 23 15:36:05 2016 +0100
add no-git-in-generate_lower_listing.patch
---
debian/changelog | 3 ++-
.../patches/no-git-in-generate_lower_listing.patch | 23 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 806fa4c..f3468ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,8 +24,9 @@ numba (0.29.0-1) UNRELEASED; urgency=medium
+ remove in-place creation of extensions in deb/rules.
+ run sphinx-build from build dir in rules (before that, copy docs into).
+ drop in-place extensions from deb/clean (not needed).
+ * add no-git-in-generate_lower_listing.patch.
- -- Daniel Stender <stender at debian.org> Fri, 23 Dec 2016 11:12:31 +0100
+ -- Daniel Stender <stender at debian.org> Fri, 23 Dec 2016 15:35:36 +0100
numba (0.23.1-1) experimental; urgency=medium
diff --git a/debian/patches/no-git-in-generate_lower_listing.patch b/debian/patches/no-git-in-generate_lower_listing.patch
new file mode 100644
index 0000000..4a30173
--- /dev/null
+++ b/debian/patches/no-git-in-generate_lower_listing.patch
@@ -0,0 +1,23 @@
+Description: prevent to query the Git history whatsoever
+Author: Daniel Stender <stender at debian.org>
+Origin: <upstream|backport|vendor|other>, <URL, required except if Author is present>
+Forwarded: no
+Last-Update: 2016-12-23
+
+--- a/numba/scripts/generate_lower_listing.py
++++ b/numba/scripts/generate_lower_listing.py
+@@ -19,10 +19,12 @@
+ import numba
+ from numba.targets.registry import cpu_target
+
++from numba._version import get_versions
+
+ def git_hash():
+- out = check_output(['git', 'log', "--pretty=format:'%H'", '-n', '1'])
+- return out.decode('ascii').strip("'\"")
++ #out = check_output(['git', 'log', "--pretty=format:'%H'", '-n', '1'])
++ out = get_versions()['full']
++ return out.decode('ascii') #.strip("'\"")
+
+
+ def get_func_name(fn):
diff --git a/debian/patches/series b/debian/patches/series
index 3e36a16..1c1030d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+no-git-in-generate_lower_listing.patch
sphinx-rtd-theme.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/numba.git
More information about the debian-science-commits
mailing list