[sagemath] 01/01: Apply upstream patch to fix doctests with R 3.3.3.

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 28 09:39:20 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 7298c344a95d0f796b32d1f82d31a4913667037b
Author: Tobias Hansen <thansen at debian.org>
Date:   Tue Mar 28 10:39:11 2017 +0100

    Apply upstream patch to fix doctests with R 3.3.3.
---
 debian/patches/series                   |  1 +
 debian/patches/u0-version-r-3.3.3.patch | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 63672f0..20dc214 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,6 @@
 # Patches already applied upstream or committed in a side branch
 # Or nearly-finished patches that they'll very probably merge.
+u0-version-r-3.3.3.patch
 u0-version-singular-4.1.0p2.patch
 
 # Patches that have open upstream tickets
diff --git a/debian/patches/u0-version-r-3.3.3.patch b/debian/patches/u0-version-r-3.3.3.patch
new file mode 100644
index 0000000..c5a667b
--- /dev/null
+++ b/debian/patches/u0-version-r-3.3.3.patch
@@ -0,0 +1,25 @@
+Description: Fix two doctests when using R 3.3.3
+Origin: https://git.sagemath.org/sage.git/commit/?id=55a8aa40b5d85c54b0c325bf942734e337523e8b
+Bug: https://trac.sagemath.org/ticket/20523
+
+
+--- a/sage/src/sage/interfaces/r.py
++++ b/sage/src/sage/interfaces/r.py
+@@ -595,7 +595,7 @@
+         EXAMPLES::
+ 
+             sage: print(r._source("c"))
+-            function (..., recursive = FALSE)  .Primitive("c")
++            function (...) .Primitive("c")
+         """
+         if s[-2:] == "()":
+             s = s[-2:]
+@@ -614,7 +614,7 @@
+         EXAMPLES::
+ 
+             sage: print(r.source("c"))
+-            function (..., recursive = FALSE)  .Primitive("c")
++            function (...) .Primitive("c")
+         """
+         return self._source(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