This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
875 changed files
with
29,033 additions
and
22,722 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
SageMath version 7.2.rc1, Release Date: 2016-05-07 | ||
SageMath version 7.3.beta2, Release Date: 2016-05-28 |
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,4 +1,4 @@ | ||
tarball=alabaster-VERSION.tar.gz | ||
sha1=ff3e575ee7eb4ba1721f17d91ec5a54b16283603 | ||
md5=957c665d7126dea8121f98038debcba7 | ||
cksum=738605178 | ||
sha1=c80dedaf4a1906410e53b653de059fe9d8b17c68 | ||
md5=346a71e8a6d51dff2e02086fdd9c5ffe | ||
cksum=2849350596 |
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 @@ | ||
0.7.7 | ||
0.7.8 |
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,4 +1,4 @@ | ||
tarball=Babel-VERSION.tar.gz | ||
sha1=e02392bc9a16f7672686bce23e4e3cdadcc1b1c8 | ||
md5=1b69e4b2ab3795119266ccaa36b36f15 | ||
cksum=2897183559 | ||
sha1=c92786942f1c920e3c39a057a7678d2aa0d1c44c | ||
md5=afa20bc55b0e991833030129ad498f35 | ||
cksum=4254002491 |
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.2.0 | ||
2.3.4 |
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,5 @@ | ||
= backports.shutil_get_terminal_size = | ||
|
||
== Description == | ||
|
||
A backport of the get_terminal_size function from Python 3.3's shutil. |
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,4 @@ | ||
tarball=backports.shutil_get_terminal_size-VERSION.tar.gz | ||
sha1=a9774b04db0abc2df1b4b603699469358967346c | ||
md5=03267762480bd86b50580dc19dff3c66 | ||
cksum=2627812760 |
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,5 @@ | ||
$(PYTHON) | setuptools | ||
|
||
---------- | ||
All lines of this file are ignored except the first. | ||
It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile. |
1 change: 1 addition & 0 deletions
1
build/pkgs/backports_shutil_get_terminal_size/package-version.txt
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 @@ | ||
1.0.0.p0 |
69 changes: 69 additions & 0 deletions
69
build/pkgs/backports_shutil_get_terminal_size/patches/master.patch
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,69 @@ | ||
Diff between the latest release and the github master | ||
|
||
diff -ru backports.shutil_get_terminal_size-1.0.0/backports/shutil_get_terminal_size/get_terminal_size.py backports.shutil_get_terminal_size/backports/shutil_get_terminal_size/get_terminal_size.py | ||
--- backports.shutil_get_terminal_size-1.0.0/backports/shutil_get_terminal_size/get_terminal_size.py 2014-08-19 01:52:24.000000000 +0200 | ||
+++ backports.shutil_get_terminal_size/backports/shutil_get_terminal_size/get_terminal_size.py 2016-05-12 17:59:57.208494332 +0200 | ||
@@ -16,30 +16,30 @@ | ||
terminal_size = namedtuple("terminal_size", "columns lines") | ||
|
||
try: | ||
- from ctypes import windll, create_string_buffer | ||
+ from ctypes import windll, create_string_buffer, WinError | ||
|
||
- _handles = { | ||
- 0: windll.kernel32.GetStdHandle(-10), | ||
- 1: windll.kernel32.GetStdHandle(-11), | ||
- 2: windll.kernel32.GetStdHandle(-12), | ||
+ _handle_ids = { | ||
+ 0: -10, | ||
+ 1: -11, | ||
+ 2: -12, | ||
} | ||
|
||
def _get_terminal_size(fd): | ||
- columns = lines = 0 | ||
- | ||
- try: | ||
- handle = _handles[fd] | ||
- csbi = create_string_buffer(22) | ||
- res = windll.kernel32.GetConsoleScreenBufferInfo(handle, csbi) | ||
- if res: | ||
- res = struct.unpack("hhhhHhhhhhh", csbi.raw) | ||
- left, top, right, bottom = res[5:9] | ||
- columns = right - left + 1 | ||
- lines = bottom - top + 1 | ||
- except Exception: | ||
- pass | ||
- | ||
- return terminal_size(columns, lines) | ||
+ handle = windll.kernel32.GetStdHandle(_handle_ids[fd]) | ||
+ if handle == 0: | ||
+ raise OSError('handle cannot be retrieved') | ||
+ if handle == -1: | ||
+ raise WinError() | ||
+ csbi = create_string_buffer(22) | ||
+ res = windll.kernel32.GetConsoleScreenBufferInfo(handle, csbi) | ||
+ if res: | ||
+ res = struct.unpack("hhhhHhhhhhh", csbi.raw) | ||
+ left, top, right, bottom = res[5:9] | ||
+ columns = right - left + 1 | ||
+ lines = bottom - top + 1 | ||
+ return terminal_size(columns, lines) | ||
+ else: | ||
+ raise WinError() | ||
|
||
except ImportError: | ||
import fcntl | ||
@@ -48,9 +48,9 @@ | ||
def _get_terminal_size(fd): | ||
try: | ||
res = fcntl.ioctl(fd, termios.TIOCGWINSZ, b"\x00" * 4) | ||
- lines, columns = struct.unpack("hh", res) | ||
- except Exception: | ||
- columns = lines = 0 | ||
+ except IOError as e: | ||
+ raise OSError(e) | ||
+ lines, columns = struct.unpack("hh", res) | ||
|
||
return terminal_size(columns, lines) | ||
|
14 changes: 14 additions & 0 deletions
14
build/pkgs/backports_shutil_get_terminal_size/spkg-install
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,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd src | ||
|
||
for patch in ../patches/*.patch; do | ||
[ -r "$patch" ] || continue # Skip non-existing or non-readable patches | ||
patch -p1 <"$patch" | ||
if [ $? -ne 0 ]; then | ||
echo >&2 "Error applying '$patch'" | ||
exit 1 | ||
fi | ||
done | ||
|
||
python setup.py install |
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 @@ | ||
standard |
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,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=6ba41f01a5e6c4244ae0cd1b777d1f105ca2c507 | ||
md5=44f2228be0b7190646294a40ff5b7806 | ||
cksum=3056196411 | ||
sha1=6e250d8c145ce4d2561d0e33c01f26f08bf3b561 | ||
md5=955f5d5678d0276c9b9b2181963bc7ec | ||
cksum=3564541652 |
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 @@ | ||
162 | ||
167 |
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,4 +1,4 @@ | ||
tarball=cysignals-VERSION.tar.bz2 | ||
sha1=26b5fa9ac855af6ab33157fe7c8f095ca086063b | ||
md5=31e95c68349b33b7781969e0d1ecab91 | ||
cksum=939390582 | ||
sha1=1ad0314a19bfad58dfb689c534087c31241c07f0 | ||
md5=20483b618a1d5c65485d38a2d0002386 | ||
cksum=507747317 |
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 @@ | ||
1.1.0 | ||
1.1.1 |
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,4 +1,4 @@ | ||
tarball=ecl-VERSION.tar.bz2 | ||
sha1=a2ba6f17df11e77149869d7d71c2175c284778ce | ||
md5=fdca3688a9171518f301e4200f82532a | ||
cksum=3217462385 | ||
sha1=66f99db852b23660668e8c1d5304ec842558d1a2 | ||
md5=14740f65bb971127bb10caaff855361e | ||
cksum=1956945543 |
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 @@ | ||
15.3.7.p1 | ||
16.1.2.p0 |
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
Oops, something went wrong.