[sagemath] 02/04: Whilst we're at it, revert other crap that depends on Python patches
Ximin Luo
infinity0 at debian.org
Fri Oct 7 17:35:15 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 da0cfbe79f032f4f94314b7baa5e280a7595fd10
Author: Ximin Luo <infinity0 at debian.org>
Date: Thu Sep 29 03:33:55 2016 +0200
Whilst we're at it, revert other crap that depends on Python patches
---
...t-minor-feature-dependent-on-python-patch.patch | 28 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 29 insertions(+)
diff --git a/debian/patches/fixsage-revert-minor-feature-dependent-on-python-patch.patch b/debian/patches/fixsage-revert-minor-feature-dependent-on-python-patch.patch
new file mode 100644
index 0000000..f0ac175
--- /dev/null
+++ b/debian/patches/fixsage-revert-minor-feature-dependent-on-python-patch.patch
@@ -0,0 +1,28 @@
+Description: Revert sage commit 5dbc699911095dd03f0141a7c1b7ba1c7056ceef
+ This is dependent on a python patch that hasn't landed upstream or in Debian
+ yet. It adds a minor feature used nowhere except the doctests, so just revert
+ it because we know it will break.
+Author: Ximin Luo <infinity0 at debian.org>
+Bug-Python: https://bugs.python.org/issue27177
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/sage/src/sage/rings/integer.pyx
++++ b/sage/src/sage/rings/integer.pyx
+@@ -754,16 +754,6 @@
+ 4
+ sage: v[Integer(2):Integer(4)]
+ [3, 4]
+-
+- See :trac:`20750`::
+-
+- sage: import re
+- sage: p = re.compile('(a)b')
+- sage: m = p.match('ab')
+- sage: m.group(Integer(0))
+- 'ab'
+- sage: m.group(Integer(1))
+- 'a'
+ """
+ return mpz_get_pyintlong(self.value)
+
diff --git a/debian/patches/series b/debian/patches/series
index e0f568c..5b766d8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,6 +10,7 @@ fixsage-libgap-systemwide.patch
fixsage-use-lexists-not-exists.patch
fixsage-proper-scipy-rtol.patch
fixsage-revert-lazy-import-dependent-on-python-patch.patch
+fixsage-revert-minor-feature-dependent-on-python-patch.patch
# due to us using a different version of a dependency than what Sage uses
# we'll probably drop these when importing the next version of Sage
--
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