[med-svn] [python-cobra] 01/02: make build reproducible

Sascha Steinbiss sascha at steinbiss.name
Wed Jun 1 15:09:10 UTC 2016


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

sascha-guest pushed a commit to branch master
in repository python-cobra.

commit 681988562662ca0c227b618308419b1baaaa5abc
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Wed Jun 1 15:08:26 2016 +0000

    make build reproducible
---
 debian/changelog                  |  8 ++++++++
 debian/patches/reproducible.patch | 15 +++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6087b6e..863f9c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-cobra (0.4.1-2) unstable; urgency=medium
+
+  * Team upload.
+  * Make build reproducible.
+    - Ensure stable ordering for required dependencies.
+
+ -- Sascha Steinbiss <sascha at steinbiss.name>  Wed, 01 Jun 2016 14:47:03 +0000
+
 python-cobra (0.4.1-1) unstable; urgency=medium
 
   * Imported Upstream version 0.4.1
diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch
new file mode 100644
index 0000000..f590867
--- /dev/null
+++ b/debian/patches/reproducible.patch
@@ -0,0 +1,15 @@
+Description: make build reproducible
+ This patch ensures a stable ordering for the list of dependencies generated
+ in setup.py.
+Author: Sascha Steinbiss <sascha at steinbiss.name>
+--- a/setup.py
++++ b/setup.py
+@@ -142,7 +142,7 @@
+ all_extras = {'Cython>=0.21'}
+ for extra in extras.values():
+     all_extras.update(extra)
+-extras["all"] = list(all_extras)
++extras["all"] = sorted(list(all_extras))
+ 
+ # If using bdist_wininst, the installer will not get dependencies like
+ # a setuptools installation does. Therefore, for the one external dependency,
diff --git a/debian/patches/series b/debian/patches/series
index d86c913..ccba6bb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 mathjax.patch
+reproducible.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-cobra.git



More information about the debian-med-commit mailing list