[sagemath] 11/13: Remove snippet of df-revert-lazy-import-dependent-on-python-patch.patch that caused syntax errors.

Tobias Hansen thansen at moszumanska.debian.org
Sun Oct 15 19:18:57 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 23da0677c305d21b64dc8e45952fc30183d73a93
Author: Tobias Hansen <thansen at debian.org>
Date:   Sun Oct 15 15:10:12 2017 +0000

    Remove snippet of df-revert-lazy-import-dependent-on-python-patch.patch that caused syntax errors.
---
 debian/changelog                                       |  1 +
 ...-revert-lazy-import-dependent-on-python-patch.patch | 18 ------------------
 2 files changed, 1 insertion(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c5afac9..c0d6a4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ sagemath (8.1~beta7-1) UNRELEASED; urgency=medium
     - u2-fix-trivial-test-cases.patch
     - u2-fix-less-trivial-test-cases.patch
     - d0-paths.patch
+    - df-revert-lazy-import-dependent-on-python-patch.patch
   * New patches:
     - u0-version-pynac-0.7.12.patch
 
diff --git a/debian/patches/df-revert-lazy-import-dependent-on-python-patch.patch b/debian/patches/df-revert-lazy-import-dependent-on-python-patch.patch
index 412dbcf..5e14f4c 100644
--- a/debian/patches/df-revert-lazy-import-dependent-on-python-patch.patch
+++ b/debian/patches/df-revert-lazy-import-dependent-on-python-patch.patch
@@ -142,21 +142,3 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
          if hasattr(obj, "__get__"):
              return obj.__get__(instance, owner)
          return obj
-@@ -543,7 +553,7 @@
-             sage: type(foo)
-             <type 'sage.misc.lazy_import.LazyImport'>
-             sage: foo[1] = 100
--            sage: print(foo)
-+            sage: print foo
-             [0, 100, 2, 3, 4, 5, 6, 7, 8, 9]
-         """
-         self._get_object()[key] = value
-@@ -557,7 +567,7 @@
-             sage: type(foo)
-             <type 'sage.misc.lazy_import.LazyImport'>
-             sage: del foo[1]
--            sage: print(foo)
-+            sage: print foo
-             [0, 2, 3, 4, 5, 6, 7, 8, 9]
-         """
-         del self._get_object()[key]

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