[sagemath] 03/03: Drop a manual override of some doctests, those now pass

Ximin Luo infinity0 at debian.org
Sat Oct 15 00:56:49 UTC 2016


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit 3438c1d365ac9eeef90e6952ac44ddf4882d496b
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sat Oct 15 02:40:19 2016 +0200

    Drop a manual override of some doctests, those now pass
---
 debian/patches/debian-install-paths.patch | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/debian/patches/debian-install-paths.patch b/debian/patches/debian-install-paths.patch
index 4950fa0..d3be366 100644
--- a/debian/patches/debian-install-paths.patch
+++ b/debian/patches/debian-install-paths.patch
@@ -86,17 +86,6 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  
  #########################################################
  ### pkg-config setup
---- a/sage/src/sage/doctest/control.py
-+++ b/sage/src/sage/doctest/control.py
-@@ -174,6 +174,8 @@
-         True
-     """
-     base, ext = os.path.splitext(filename)
-+    if filename.find('sagedev') != -1 or filename.find('sage/dev') != -1:
-+        return True
-     if ext not in ('.py', '.pyx', '.pxd', '.pxi', '.sage', '.spyx', '.rst', '.tex'):
-         return True
-     with open(filename) as F:
 --- a/sage/src/sage/repl/ipython_kernel/install.py
 +++ b/sage/src/sage/repl/ipython_kernel/install.py
 @@ -10,11 +10,11 @@

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