This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into gt_extension
- Loading branch information
Showing
1,780 changed files
with
133,690 additions
and
30,156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Sage version 6.8.beta7, released 2015-07-02 | ||
Sage version 6.10.beta4, released 2015-11-12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/Makefile | ||
/.tox | ||
/MANIFEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env python | ||
|
||
# USAGE: | ||
# | ||
# sage-download-file --print-fastest-mirror | ||
# | ||
# Print out the fastest mirror. All further arguments are ignored in | ||
# that case. | ||
# | ||
# sage-download-file [--quiet] url-or-tarball [destination] | ||
# | ||
# The single mandatory argument can be a http:// url or a tarball | ||
# filename. In the latter case, the tarball is downloaded from the | ||
# mirror network and its checksum is verified. | ||
# | ||
# If the destination is not specified: | ||
# * a url will be downloaded and the content written to stdout | ||
# * a tarball will be saved under {SAGE_DISTFILES} | ||
|
||
try: | ||
import sage_bootstrap | ||
except ImportError: | ||
import os, sys | ||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) | ||
import sage_bootstrap | ||
|
||
from sage_bootstrap.cmdline import SageDownloadFileApplication | ||
SageDownloadFileApplication().run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# sage-logger COMMAND LOGFILE | ||
# | ||
# Evaluate shell command COMMAND while logging stdout and stderr to | ||
# LOGFILE. If either the command or the logging failed, return a | ||
# non-zero exit status. | ||
# | ||
# AUTHOR: | ||
# | ||
# - Jeroen Demeyer (2015-07-26): initial version based on old pipestatus | ||
# script (#18953) | ||
# | ||
#***************************************************************************** | ||
# Copyright (C) 2015 Jeroen Demeyer <jdemeyer@cage.ugent.be> | ||
# | ||
# Distributed under the terms of the GNU General Public License (GPL) | ||
# as published by the Free Software Foundation; either version 2 of | ||
# the License, or (at your option) any later version. | ||
# http://www.gnu.org/licenses/ | ||
#***************************************************************************** | ||
|
||
cmd="$1" | ||
logfile="$2" | ||
logdir=`dirname "$logfile"` | ||
|
||
mkdir -p "$logdir" | ||
|
||
# Redirect stdout and stderr to a subprocess running tee. | ||
# We trap SIGINT such that SIGINT interrupts the main process being | ||
# run, not the logging. | ||
( exec 2>&1; eval "$cmd" ) | ( trap '' SIGINT; tee -a "$logfile" ) | ||
|
||
pipestatus=(${PIPESTATUS[*]}) | ||
|
||
if [ ${pipestatus[1]} -ne 0 ]; then | ||
exit ${pipestatus[1]} | ||
else | ||
exit ${pipestatus[0]} | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/usr/bin/env python | ||
|
||
# Script to manage third-party tarballs. | ||
# | ||
# Usage: | ||
# | ||
# * Print the configuration | ||
# | ||
# $ sage-package config | ||
# Configuration: | ||
# * log = info | ||
# * interactive = True | ||
# | ||
# * Print a list of all available packages | ||
# | ||
# $ sage-package list | sort | ||
# 4ti2 | ||
# arb | ||
# atlas | ||
# autotools | ||
# [...] | ||
# zn_poly | ||
# | ||
# * Find the package name given a tarball filename | ||
# | ||
# $ sage-package name pari-2.8-1564-gdeac36e.tar.gz | ||
# pari | ||
# | ||
# * Find the tarball filename given a package name | ||
# | ||
# $ sage-package tarball pari | ||
# pari-2.8-1564-gdeac36e.tar.gz | ||
|
||
try: | ||
import sage_bootstrap | ||
except ImportError: | ||
import os, sys | ||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) | ||
import sage_bootstrap | ||
|
||
from sage_bootstrap.cmdline import SagePkgApplication | ||
SagePkgApplication().run() |
Oops, something went wrong.