summaryrefslogtreecommitdiff
path: root/debian/patches/0001-Disable-Sphinx-test-since-we-re-not-currently-buildi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0001-Disable-Sphinx-test-since-we-re-not-currently-buildi.patch')
-rw-r--r--debian/patches/0001-Disable-Sphinx-test-since-we-re-not-currently-buildi.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/0001-Disable-Sphinx-test-since-we-re-not-currently-buildi.patch b/debian/patches/0001-Disable-Sphinx-test-since-we-re-not-currently-buildi.patch
new file mode 100644
index 00000000..d8bca9da
--- /dev/null
+++ b/debian/patches/0001-Disable-Sphinx-test-since-we-re-not-currently-buildi.patch
@@ -0,0 +1,24 @@
+From: Gard Spreemann <gspreemann@gmail.com>
+Date: Mon, 10 Sep 2018 05:16:45 +0200
+Subject: Disable Sphinx test since we're not currently building the Sphinx
+ docs.
+
+---
+ cython/CMakeLists.txt | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/cython/CMakeLists.txt b/cython/CMakeLists.txt
+index 09ea28f..829d53b 100644
+--- a/cython/CMakeLists.txt
++++ b/cython/CMakeLists.txt
+@@ -396,10 +396,5 @@ if(CYTHON_FOUND)
+ DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/gudhi.so"
+ COMMENT "${GUDHI_SPHINX_MESSAGE}" VERBATIM)
+
+- add_test(NAME sphinx_py_test
+- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+- COMMAND ${CMAKE_COMMAND} -E env "PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}"
+- ${SPHINX_PATH} -b doctest ${CMAKE_CURRENT_SOURCE_DIR}/doc ${CMAKE_CURRENT_BINARY_DIR}/doctest)
+-
+ endif()
+ endif(CYTHON_FOUND)