diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/0007-Move-towards-reproducible-builds.patch | 24 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 25 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..4c487bab --- /dev/null +++ b/debian/patches/0007-Move-towards-reproducible-builds.patch @@ -0,0 +1,24 @@ +From: Gard Spreemann <gspr@nonempty.org> +Date: Tue, 10 Dec 2019 14:31:47 +0100 +Subject: Move towards reproducible builds. + +This probably 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 28bab0e..e22dde4 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@ + + from sys import exc_info diff --git a/debian/patches/series b/debian/patches/series index 091402d1..adeb35f7 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 0004-Offline-header-for-docs.patch 0005-Disable-Sphinx.patch 0006-Install-Python-module-in-correct-location.patch +0007-Move-towards-reproducible-builds.patch |