[sagemath] 01/02: Delete d0-cython-sys-path.patch.

Tobias Hansen thansen at moszumanska.debian.org
Sun Oct 15 19:45:13 UTC 2017


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

thansen pushed a commit to branch master
in repository sagemath.

commit 8d75a7ff42ffa5f2732b6b5cc7690aa741de0754
Author: Tobias Hansen <thansen at debian.org>
Date:   Sun Oct 15 20:33:43 2017 +0100

    Delete d0-cython-sys-path.patch.
---
 debian/changelog                        |  2 +-
 debian/patches/d0-cython-sys-path.patch | 25 -------------------------
 2 files changed, 1 insertion(+), 26 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c0d6a4b..83ba578 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,7 +11,7 @@ sagemath (8.1~beta7-1) UNRELEASED; urgency=medium
     - u0-version-sphinx-1.6.patch                #23023
     - u1-pip-nowarn.patch                        #21835
     - u1-more-sphinx-1.5-fixes.patch             #23364
-    - d0-cython-sys-path.patch (not deleted yet, test first)
+    - d0-cython-sys-path.patch
     - df-silence_debian_bug_780186.patch
   * Patches with non-trivial modifications:
     - u2-allow-override-sage-local.patch
diff --git a/debian/patches/d0-cython-sys-path.patch b/debian/patches/d0-cython-sys-path.patch
deleted file mode 100644
index 6979df2..0000000
--- a/debian/patches/d0-cython-sys-path.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Description: Add sys.path to Cython includes
- In SageMath this is achieved by patching Cython,
- in this way we can used an unpatched Cython.
-Origin: https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/sagemath
-
---- a/sage/src/setup.py
-+++ b/sage/src/setup.py
-@@ -422,6 +422,7 @@
-             build_dir=self.build_dir,
-             force=self.force,
-             aliases=aliases,
-+            include_path=sys.path,
-             compiler_directives=self.cython_directives,
-             compile_time_env={'PY_VERSION_HEX':sys.hexversion},
-             create_extension=sage_create_extension,
---- a/sage/src/sage/misc/cython.py
-+++ b/sage/src/sage/misc/cython.py
-@@ -277,6 +277,7 @@
- 
-     # Add cysignals directory to includes
-     for path in sys.path:
-+        inc.append(path)
-         cysignals_path = os.path.join(path, "cysignals")
-         if os.path.isdir(cysignals_path):
-             inc.append(cysignals_path)

-- 
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