summaryrefslogtreecommitdiff
path: root/libre/sagemath/paths.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/paths.patch
parent84bfa7890271e94520d28cfe0c4caa883896a726 (diff)
downloadabslibre-4b9a24484b3f55b017b6cdc30ff372dc310be5f7.tar.gz
abslibre-4b9a24484b3f55b017b6cdc30ff372dc310be5f7.tar.bz2
abslibre-4b9a24484b3f55b017b6cdc30ff372dc310be5f7.zip
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/paths.patch')
-rw-r--r--libre/sagemath/paths.patch6
1 files changed, 5 insertions, 1 deletions
diff --git a/libre/sagemath/paths.patch b/libre/sagemath/paths.patch
index 4691c8af9..2426c07ff 100644
--- a/libre/sagemath/paths.patch
+++ b/libre/sagemath/paths.patch
@@ -1,16 +1,18 @@
--- src/sage/env.py.orig 2014-06-25 10:47:25.827203554 +1200
+++ src/sage/env.py 2014-06-25 10:49:07.667402821 +1200
-@@ -86,21 +86,18 @@
+@@ -87,24 +87,21 @@
_add_variable_or_fallback('LOCAL_IDENTIFIER','$HOSTNAME.%s'%os.getpid())
# bunch of sage directories and files
-_add_variable_or_fallback('SAGE_ROOT', None)
-_add_variable_or_fallback('SAGE_LOCAL', opj('$SAGE_ROOT', 'local'))
-_add_variable_or_fallback('SAGE_ETC', opj('$SAGE_LOCAL', 'etc'))
+-_add_variable_or_fallback('SAGE_INC', opj('$SAGE_LOCAL', 'include'))
-_add_variable_or_fallback('SAGE_SHARE', opj('$SAGE_LOCAL', 'share'))
+_add_variable_or_fallback('SAGE_ROOT', '/usr')
+_add_variable_or_fallback('SAGE_LOCAL', '/usr')
+_add_variable_or_fallback('SAGE_ETC', '/etc/sage')
++_add_variable_or_fallback('SAGE_INC', opj('$SAGE_LOCAL', 'include', 'sage'))
+_add_variable_or_fallback('SAGE_SHARE', opj('$SAGE_LOCAL', 'share', 'sage'))
_add_variable_or_fallback('SAGE_SRC', opj('$SAGE_ROOT', 'src'))
@@ -18,6 +20,8 @@
+_add_variable_or_fallback('SITE_PACKAGES', site.getsitepackages()+['/usr/lib/sage/site-packages'])
_add_variable_or_fallback('SAGE_LIB', SITE_PACKAGES[0])
+ _add_variable_or_fallback('SAGE_CYTHONIZED', opj('$SAGE_SRC', 'build', 'cythonized'))
+
-_add_variable_or_fallback('SAGE_EXTCODE', opj('$SAGE_SHARE', 'sage', 'ext'))
-_add_variable_or_fallback('SAGE_LOGS', opj('$SAGE_ROOT', 'logs', 'pkgs'))
-_add_variable_or_fallback('SAGE_SPKG_INST', opj('$SAGE_LOCAL', 'var', 'lib', 'sage', 'installed'))