[arch-commits] Commit in sage-mathematics/trunk (gap-hap.patch)

Antonio Rojas arojas at archlinux.org
Tue Dec 23 09:21:22 UTC 2014


    Date: Tuesday, December 23, 2014 @ 10:21:22
  Author: arojas
Revision: 124387

Add missing patch

Added:
  sage-mathematics/trunk/gap-hap.patch

---------------+
 gap-hap.patch |   11 +++++++++++
 1 file changed, 11 insertions(+)

Added: gap-hap.patch
===================================================================
--- gap-hap.patch	                        (rev 0)
+++ gap-hap.patch	2014-12-23 09:21:22 UTC (rev 124387)
@@ -0,0 +1,11 @@
+--- src/sage/groups/perm_gps/permgroup.py.orig	2014-12-23 10:14:09.687176992 +0100
++++ src/sage/groups/perm_gps/permgroup.py	2014-12-23 10:14:53.930669821 +0100
+@@ -180,8 +180,6 @@
+     """
+     @wraps(f)
+     def wrapped(self, n, p=0):
+-        if not is_package_installed('gap_packages'):
+-            raise RuntimeError("You must install the optional gap_packages package.")
+         load_hap()
+         from sage.rings.arith import is_prime
+         if not (p == 0 or is_prime(p)):



More information about the arch-commits mailing list