Added reproducible_build.patch to make build reproducible

This commit is contained in:
Ondřej Nový
2016-06-07 22:35:22 +02:00
parent c8eb7e7074
commit 0e0bd752ca
3 changed files with 13 additions and 0 deletions

1
debian/changelog vendored
View File

@@ -1,6 +1,7 @@
python-pygit2 (0.24.0-3) UNRELEASED; urgency=medium
* d/rules: Changed UPSTREAM_GIT protocol to https
* Added reproducible_build.patch to make build reproducible
-- Ondřej Nový <novy@ondrej.org> Thu, 19 May 2016 21:29:48 +0200

11
debian/patches/reproducible_build.patch vendored Normal file
View File

@@ -0,0 +1,11 @@
--- a/setup.py
+++ b/setup.py
@@ -72,7 +72,7 @@
libgit2_bin, libgit2_include, libgit2_lib = get_libgit2_paths()
-pygit2_exts = [os.path.join('src', name) for name in listdir('src')
+pygit2_exts = [os.path.join('src', name) for name in sorted(listdir('src'))
if name.endswith('.c')]

View File

@@ -1,3 +1,4 @@
removed-privacy-breach.patch
removed-privacy-breach2.patch
remove-broken-tests.patch
reproducible_build.patch