[sagemath] 01/02: Include the Cython headers from the source directory.
Tobias Hansen
thansen at moszumanska.debian.org
Fri Jul 29 09:22:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository sagemath.
commit f01c21ca93b768ca64c12b135621e4ace14fad68
Author: Tobias Hansen <thansen at debian.org>
Date: Fri Jul 29 07:42:22 2016 +0000
Include the Cython headers from the source directory.
---
debian/patches/series | 1 +
debian/patches/temp-cython-include-source.patch | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 5312254..f4c14c8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -28,3 +28,4 @@ debian-temp-userdir.patch
temp-disable-parallel-sphinx.patch
debian-python-2.7.11.patch
debian-ecm-7.patch
+temp-cython-include-source.patch
diff --git a/debian/patches/temp-cython-include-source.patch b/debian/patches/temp-cython-include-source.patch
new file mode 100644
index 0000000..66debba
--- /dev/null
+++ b/debian/patches/temp-cython-include-source.patch
@@ -0,0 +1,15 @@
+Description: Include the Cython headers from the source directory
+ So they are found when running the tests without installing Sage.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/sage/src/sage/misc/cython.py
++++ b/sage/src/sage/misc/cython.py
+@@ -229,7 +229,7 @@
+ additional_source_files, s = parse_keywords('cfile', s)
+
+ v, s = parse_keywords('cinclude', s)
+- inc = [environ_parse(x.replace('"','').replace("'","")) for x in v] + sage_include_directories()
++ inc = [environ_parse(x.replace('"','').replace("'","")) for x in v] + sage_include_directories(use_sources=True)
+ s = """\ninclude "cdefs.pxi"\n""" + s
+ s = """\ninclude "cysignals/signals.pxi" # ctrl-c interrupt block support\ninclude "stdsage.pxi"\n""" + s
+ args, s = parse_keywords('cargs', s)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git
More information about the debian-science-commits
mailing list