summaryrefslogtreecommitdiff
path: root/libre/sagemath/package.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-29 18:54:06 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-29 18:57:00 -0300
commit4b9a24484b3f55b017b6cdc30ff372dc310be5f7 (patch)
treec25ec60d8d453a0a5280e9f38f31bfe54485f736 /libre/sagemath/package.patch
parent84bfa7890271e94520d28cfe0c4caa883896a726 (diff)
sagemath-6.8-1.parabola1: updating version
* disable fes module, doesn't compile * replace "open" to "free" term to pkgdesc -> https://www.gnu.org/philosophy/words-to-avoid.html.en#Open * replace "alternative" to "replacement" term to pkgdesc -> https://www.gnu.org/philosophy/words-to-avoid.html.en#Alternative
Diffstat (limited to 'libre/sagemath/package.patch')
-rw-r--r--libre/sagemath/package.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/libre/sagemath/package.patch b/libre/sagemath/package.patch
index 08ab8a8bd..0b219ddeb 100644
--- a/libre/sagemath/package.patch
+++ b/libre/sagemath/package.patch
@@ -1,11 +1,11 @@
--- src/sage/misc/package.py.orig 2014-11-23 15:58:13.000000000 +0100
+++ src/sage/misc/package.py 2015-01-22 20:32:25.651383902 +0100
-@@ -194,7 +194,7 @@
- sage: is_package_installed('sage')
- True
+@@ -204,7 +204,7 @@
+ Otherwise, installing "pillow" will cause this function to think
+ that "pil" is installed, for example.
"""
-- return any(p.startswith(package) for p in install_package())
+- return any(p.split('-')[0] == package for p in install_package())
+ return True
- def standard_packages():
- """
+ def package_versions(package_type, local=False):
+ r"""