summaryrefslogtreecommitdiff
path: root/debian/patches/0007-Move-towards-reproducible-builds.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0007-Move-towards-reproducible-builds.patch')
-rw-r--r--debian/patches/0007-Move-towards-reproducible-builds.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0007-Move-towards-reproducible-builds.patch b/debian/patches/0007-Move-towards-reproducible-builds.patch
new file mode 100644
index 00000000..7e2f01db
--- /dev/null
+++ b/debian/patches/0007-Move-towards-reproducible-builds.patch
@@ -0,0 +1,23 @@
+From: Gard Spreemann <gspr@nonempty.org>
+Date: Tue, 21 Jan 2020 10:39:23 +0100
+Subject: Move towards reproducible builds.
+
+This does not take us all the way there, and probably breaks doctest,
+but since we're not doing Sphinx stuff yet anyway, that is ok for now.
+---
+ src/python/gudhi/__init__.py.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/python/gudhi/__init__.py.in b/src/python/gudhi/__init__.py.in
+index 79e12fb..991745a 100644
+--- a/src/python/gudhi/__init__.py.in
++++ b/src/python/gudhi/__init__.py.in
+@@ -15,7 +15,7 @@ __copyright__ = "Copyright (C) 2016 Inria"
+ __license__ = "https://gudhi.inria.fr/licensing/"
+ __version__ = "@GUDHI_VERSION@"
+ # This variable is used by doctest to find files
+-__root_source_dir__ = "@CMAKE_SOURCE_DIR@"
++__root_source_dir__ = "."
+ __debug_info__ = @GUDHI_PYTHON_DEBUG_INFO@
+
+ __all__ = [@GUDHI_PYTHON_MODULES@ @GUDHI_PYTHON_MODULES_EXTRA@]