[sagemath] 01/02: Patch sage-python23 to use system python.
Tobias Hansen
thansen at moszumanska.debian.org
Thu Jun 15 01:26:01 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 d260988ac1d71cb801bee4afb6881a84276a5341
Author: Tobias Hansen <thansen at debian.org>
Date: Thu Jun 15 00:03:26 2017 +0000
Patch sage-python23 to use system python.
---
debian/patches/d0-paths.patch | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/debian/patches/d0-paths.patch b/debian/patches/d0-paths.patch
index cd11c7d..6415c54 100644
--- a/debian/patches/d0-paths.patch
+++ b/debian/patches/d0-paths.patch
@@ -74,3 +74,17 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
target_native = targetfile
import sys
if sys.platform == 'cygwin':
+--- a/sage/build/bin/sage-python23
++++ b/sage/build/bin/sage-python23
+@@ -12,9 +12,9 @@
+
+
+ if [ "$SAGE_PYTHON3" = yes ]; then
+- PYTHON="$SAGE_LOCAL/bin/python3"
++ PYTHON="/usr/bin/python3"
+ else
+- PYTHON="$SAGE_LOCAL/bin/python2"
++ PYTHON="/usr/bin/python2"
+ fi
+
+
--
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