[sagemath] 01/01: Fix giac tests
Ximin Luo
infinity0 at debian.org
Fri Aug 11 14:08:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository sagemath.
commit 081b067c505d8e98b08e17c361926d13cd660e8f
Author: Ximin Luo <infinity0 at debian.org>
Date: Fri Aug 11 16:08:13 2017 +0200
Fix giac tests
---
debian/changelog | 2 ++
debian/patches/series | 1 +
debian/patches/u1-version-giac-1.2.3.57.patch | 24 ++++++++++++++++++++++++
3 files changed, 27 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ed6eb58..48b0b65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,8 @@ sagemath (8.0-0~sage1) UNRELEASED; urgency=medium
[ Ximin Luo ]
* Update to latest Standards-Version; no changes required.
* Split arch-dep vs arch-indep build and test targets more efficiently.
+ * New patches:
+ - u1-version-giac-1.2.3.57.patch
-- Tobias Hansen <thansen at debian.org> Mon, 24 Jul 2017 21:11:28 +0100
diff --git a/debian/patches/series b/debian/patches/series
index 466f678..cd3d7a4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,6 +13,7 @@ u1-scripts-dir.patch #22731
#u1-version-ipython-5.4.patch #23125
u1-ipywidgets-repr.patch #https://github.com/jupyter-widgets/ipywidgets/pull/1031
u1-more-sphinx-1.5-fixes.patch #23364
+u1-version-giac-1.2.3.57.patch #TODO
# Patches that should be upstreamed (may need some work first)
u2-pari-stackwarn.patch #23263
diff --git a/debian/patches/u1-version-giac-1.2.3.57.patch b/debian/patches/u1-version-giac-1.2.3.57.patch
new file mode 100644
index 0000000..4a575b7
--- /dev/null
+++ b/debian/patches/u1-version-giac-1.2.3.57.patch
@@ -0,0 +1,24 @@
+Description: Update true_symbol for giac 1.2.3.57
+ Otherwise nearly all giac tests fail
+Author: Ximin Luo <infinity0 at debian.org>
+Forwarded: TODO
+
+--- a/sage/src/sage/interfaces/giac.py
++++ b/sage/src/sage/interfaces/giac.py
+@@ -714,14 +714,14 @@ If you got giac from the spkg then ``$PREFIX`` is ``$SAGE_LOCAL``
+ EXAMPLES::
+
+ sage: giac._true_symbol()
+- '1'
++ 'true'
+
+ ::
+
+ sage: giac(2) == giac(2)
+ True
+ """
+- return '1'
++ return 'true'
+
+ def _assign_symbol(self):
+ """
--
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