Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop' into public/11187
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpc5 committed Apr 22, 2016
2 parents 8d76520 + 950f0f5 commit 0b6d895
Show file tree
Hide file tree
Showing 231 changed files with 4,053 additions and 1,338 deletions.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SageMath version 7.2.beta4, Release Date: 2016-04-12
SageMath version 7.2.beta5, Release Date: 2016-04-21
7 changes: 7 additions & 0 deletions build/pkgs/babel/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
= babel =

== Description ==

Internationalization utilities

A collection of tools for internationalizing Python applications.
4 changes: 4 additions & 0 deletions build/pkgs/babel/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=Babel-VERSION.tar.gz
sha1=e02392bc9a16f7672686bce23e4e3cdadcc1b1c8
md5=1b69e4b2ab3795119266ccaa36b36f15
cksum=2897183559
5 changes: 5 additions & 0 deletions build/pkgs/babel/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) | pip pytz

----------
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 build/pkgs/babel/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.2.0
3 changes: 3 additions & 0 deletions build/pkgs/babel/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

cd src && python setup.py install
1 change: 1 addition & 0 deletions build/pkgs/babel/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=a688b4151ebffbd892199e47edf21f0e295ae06f
md5=1da510585db296e3930eaa33cbb40a87
cksum=3334341322
sha1=443f6e49b23bbc1e9004f32c802b83e35abe3a77
md5=bb7132154839ae45a55ca1c46331289d
cksum=2428928852
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
158
159
8 changes: 8 additions & 0 deletions build/pkgs/flask/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
= Flask =

== Description ==

A microframework based on Werkzeug, Jinja2 and good intentions

Flask is a microframework for Python based on Werkzeug, Jinja 2 and good
intentions. And before you ask: It’s BSD licensed!
4 changes: 4 additions & 0 deletions build/pkgs/flask/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=Flask-VERSION.tar.gz
sha1=d3d078262b053f4438e2ed3fd6f9b923c2c92172
md5=378670fe456957eb3c27ddaef60b2b24
cksum=2901487846
5 changes: 5 additions & 0 deletions build/pkgs/flask/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) | pip werkzeug jinja2 itsdangerous

----------
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 build/pkgs/flask/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.10.1
3 changes: 3 additions & 0 deletions build/pkgs/flask/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

cd src && python setup.py install
1 change: 1 addition & 0 deletions build/pkgs/flask/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
9 changes: 9 additions & 0 deletions build/pkgs/flask_autoindex/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
= Flask-AutoIndex =

== Description ==

The mod_autoindex for Flask

Flask-AutoIndex generates an index page for your Flask application
automatically. The result just like mod_autoindex, but the look is more
awesome!
4 changes: 4 additions & 0 deletions build/pkgs/flask_autoindex/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=Flask_AutoIndex-VERSION.tar.gz
sha1=15e08bd3a516aa327ab4af767a29154a4bebdae3
md5=24984602365704737468bb4d2586a739
cksum=1140907747
5 changes: 5 additions & 0 deletions build/pkgs/flask_autoindex/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) | pip flask_silk

----------
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 build/pkgs/flask_autoindex/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.5
3 changes: 3 additions & 0 deletions build/pkgs/flask_autoindex/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

cd Flask* && python setup.py install
1 change: 1 addition & 0 deletions build/pkgs/flask_autoindex/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
6 changes: 6 additions & 0 deletions build/pkgs/flask_babel/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
= Flask-Babel =

== Description ==

Adds i18n/l10n support to Flask applications with the help of the Babel
library.
4 changes: 4 additions & 0 deletions build/pkgs/flask_babel/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=Flask_Babel-VERSION.tar.gz
sha1=977d3b152f876e06c215f6bb72616b4ce138fa49
md5=4762e0392303f464d53cbebedfb87ded
cksum=2286190911
5 changes: 5 additions & 0 deletions build/pkgs/flask_babel/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) | pip flask speaklater

----------
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 build/pkgs/flask_babel/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.9
3 changes: 3 additions & 0 deletions build/pkgs/flask_babel/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

cd Flask* && python setup.py install
1 change: 1 addition & 0 deletions build/pkgs/flask_babel/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
5 changes: 5 additions & 0 deletions build/pkgs/flask_oldsessions/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
= Flask-OldSessions =

== Description ==

Provides a session class that works like the one in Flask before 0.10.
4 changes: 4 additions & 0 deletions build/pkgs/flask_oldsessions/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=Flask_OldSessions-VERSION.tar.gz
sha1=1c0bbcd79b4fc626da2fd34ce9b59b2d43f6d81e
md5=3d731d343d5380bb9f502742ad62df50
cksum=709943870
5 changes: 5 additions & 0 deletions build/pkgs/flask_oldsessions/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) | pip

----------
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 build/pkgs/flask_oldsessions/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.10
3 changes: 3 additions & 0 deletions build/pkgs/flask_oldsessions/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

cd *flask-oldsessions* && python setup.py install
1 change: 1 addition & 0 deletions build/pkgs/flask_oldsessions/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
5 changes: 5 additions & 0 deletions build/pkgs/flask_openid/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
= Flask-OpenID =

== Description ==

OpenID support for Flask
4 changes: 4 additions & 0 deletions build/pkgs/flask_openid/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=Flask_OpenID-VERSION.tar.gz
sha1=18d39e03417cd2b577cd5c1f5c2ac117493f3fef
md5=a40c63df701ec634450d03490ddfb6c1
cksum=995771756
5 changes: 5 additions & 0 deletions build/pkgs/flask_openid/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) | pip flask python_openid

----------
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 build/pkgs/flask_openid/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.2.5
3 changes: 3 additions & 0 deletions build/pkgs/flask_openid/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

cd Flask* && python setup.py install
1 change: 1 addition & 0 deletions build/pkgs/flask_openid/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
5 changes: 5 additions & 0 deletions build/pkgs/flask_silk/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
= Flask-Silk =

== Description ==

Adds silk icons to your Flask application or blueprint, or extension.
4 changes: 4 additions & 0 deletions build/pkgs/flask_silk/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=Flask_Silk-VERSION.tar.gz
sha1=cef42b469c9ebb69a766d0cd33ad27480800d518
md5=aca545a94063dc4acd21779ea5dde330
cksum=1557295080
5 changes: 5 additions & 0 deletions build/pkgs/flask_silk/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) | pip flask

----------
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 build/pkgs/flask_silk/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.2
3 changes: 3 additions & 0 deletions build/pkgs/flask_silk/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

cd Flask* && python setup.py install
1 change: 1 addition & 0 deletions build/pkgs/flask_silk/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
6 changes: 6 additions & 0 deletions build/pkgs/itsdangerous/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
= itsdangerous =

== Description ==

Various helpers to pass data to untrusted environments and to get it back
safe and sound.
4 changes: 4 additions & 0 deletions build/pkgs/itsdangerous/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=itsdangerous-VERSION.tar.gz
sha1=0a6ae9c20cd72e89d75314ebc7b0f390f93e6a0d
md5=a3d55aa79369aef5345c036a8a26307f
cksum=2767256127
5 changes: 5 additions & 0 deletions build/pkgs/itsdangerous/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) | pip

----------
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 build/pkgs/itsdangerous/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.24
3 changes: 3 additions & 0 deletions build/pkgs/itsdangerous/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

cd src && python setup.py install
1 change: 1 addition & 0 deletions build/pkgs/itsdangerous/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
8 changes: 4 additions & 4 deletions build/pkgs/libfplll/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=libfplll-VERSION.tar.bz2
sha1=0810bb8283671b7bb84392494cc84a20162dd40f
md5=281bbe2b95572401b6cd5264b5694863
cksum=3698765896
tarball=libfplll-VERSION.tar.gz
sha1=4f03734645abe800cd4d7838fcec0cbd2c551633
md5=661440d1249e1f8d6346ab91a8658de6
cksum=1133822281
2 changes: 1 addition & 1 deletion build/pkgs/libfplll/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20160107
20160331
34 changes: 34 additions & 0 deletions build/pkgs/libfplll/spkg-src
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env bash

if [ -z "$SAGE_LOCAL" ]; then
echo >&2 "Error: SAGE_LOCAL undefined - exiting..."
echo >&2 "Maybe run 'sage -sh'?"
exit 1
fi

FPLLL_REVISION="b50fd91ba0aeea2067dc9d82e6c352dbe0210eb3"
FPLLL_VERSION="4.0.5"
SPKG_ROOT="$SAGE_ROOT/build/pkgs/libfplll"

set -e

cd "$SPKG_ROOT"

FPLLL_SAGE_VERSION=`cat package-version.txt |sed 's/[.]p.*//'`

rm -rf fplll-checkout
git clone git://github.com/dstehle/fplll fplll-checkout

cd fplll-checkout
git checkout "$FPLLL_REVISION"
./autogen.sh
./configure
make dist
tar xvfz libfplll-"$FPLLL_VERSION".tar.gz
rm libfplll-"$FPLLL_VERSION".tar.gz
mv libfplll-"$FPLLL_VERSION" libfplll-"$FPLLL_SAGE_VERSION"
tar cvfz libfplll-"$FPLLL_SAGE_VERSION".tar.gz libfplll-"$FPLLL_SAGE_VERSION"

mv libfplll-"$FPLLL_SAGE_VERSION".tar.gz "$SAGE_DISTFILES/"
cd ..
rm -rf fplll-checkout
5 changes: 1 addition & 4 deletions build/pkgs/matplotlib/dependencies
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
$(PYTHON) numpy freetype libpng dateutil pyparsing tornado six cycler | sagenb setuptools

The sagenb dependency is because of the "pytz" package. If that package
is ever pulled out from sagenb, replace "sagenb" by "pytz" above.
$(PYTHON) numpy freetype libpng dateutil pyparsing tornado six cycler | pytz setuptools

----------
All lines of this file are ignored except the first.
Expand Down
36 changes: 25 additions & 11 deletions build/pkgs/mpfr/patches/mpfr-3.1.4-1.src.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
--- mpfr-3.1.4/src/mpfr-impl.h 2016-03-06 12:33:04.000000000 +0100
+++ mpfr-3.1.4/src/mpfr-impl.h 2016-03-06 17:25:16.341090700 +0100
@@ -257,6 +257,8 @@ typedef struct __gmpfr_cache_s *mpfr_cac
# if defined(_WIN32)
# error "Both __unix__ and _WIN32 are defined"
# endif
+#endif
+#if (defined(__unix__) && !defined(__CYGWIN__))
# if __GMP_LIBGMP_DLL
# error "__unix__ is defined and __GMP_LIBGMP_DLL is true"
# endif
Patch from upstream needed to fix an error when compiling on Cygwin
See http://trac.sagemath.org/ticket/20423 for discussion and link to
the original upstream patch.
--- trunk/src/mpfr-impl.h 2016/04/08 15:55:03 10257
+++ trunk/src/mpfr-impl.h 2016/04/08 23:17:07 10260
@@ -208,19 +208,6 @@
# define MPFR_WIN_THREAD_SAFE_DLL 1
#endif

-/* Detect some possible inconsistencies under Unix. */
-#if defined(__unix__)
-# if defined(_WIN32)
-# error "Both __unix__ and _WIN32 are defined"
-# endif
-# if __GMP_LIBGMP_DLL
-# error "__unix__ is defined and __GMP_LIBGMP_DLL is true"
-# endif
-# if defined(MPFR_WIN_THREAD_SAFE_DLL)
-# error "Both __unix__ and MPFR_WIN_THREAD_SAFE_DLL are defined"
-# endif
-#endif
-
#if defined(__MPFR_WITHIN_MPFR) || !defined(MPFR_WIN_THREAD_SAFE_DLL)
extern MPFR_THREAD_ATTR mpfr_flags_t __gmpfr_flags;
extern MPFR_THREAD_ATTR mpfr_exp_t __gmpfr_emin;
6 changes: 3 additions & 3 deletions build/pkgs/nbconvert/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=nbconvert-VERSION.tar.gz
sha1=079fd51c75e5c8b76f9679aa7fc5ad8176004720
md5=58ee16f5da0dd2976ff992511d6bfb43
cksum=75346878
sha1=0f3c792cc624e09b2524cd0a010618036647a8cd
md5=710e356c4effcfddd29a3c10f1d8c3e6
cksum=137274062
2 changes: 1 addition & 1 deletion build/pkgs/nbconvert/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.0
4.2.0
6 changes: 3 additions & 3 deletions build/pkgs/notebook/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=notebook-VERSION.tar.gz
sha1=cf953bcaf73ba43e7ef0ce829126b6605105dd0f
md5=d390cf1a0785a43711a2548c8f3c91b8
cksum=2636243005
sha1=f5466b2f04e1b9c913dcf79f7e03812eba718d0d
md5=3a72bb93f6f01caec69e5e65718f5f7f
cksum=3858938777
2 changes: 1 addition & 1 deletion build/pkgs/notebook/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.0
4.2.0
24 changes: 0 additions & 24 deletions build/pkgs/notebook/patches/help_link_url_fix.patch

This file was deleted.

6 changes: 3 additions & 3 deletions build/pkgs/numpy/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=numpy-VERSION.tar.gz
sha1=46a653d3a3e474bf284cbf213c2ce5fa85c39371
md5=aed294de0aa1ac7bd3f9745f4f1968ad
cksum=4106390035
sha1=3e43596cba1d5df4002dd0c87d4041f31ea6e1b5
md5=bc56fb9fc2895aa4961802ffbdb31d0b
cksum=906704492
2 changes: 1 addition & 1 deletion build/pkgs/numpy/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.4.p1
1.11.0
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
BUG: Let linspace accept input that has an array_interface but is not otherwise a numpy or python type.

Upstream PR: https://github.com/numpy/numpy/pull/6659


diff -Naur numpy-1.10.1.orig/numpy/core/function_base.py numpy-1.10.1/numpy/core/function_base.py
--- numpy-1.10.1.orig/numpy/core/function_base.py 2015-11-11 10:12:45.583322683 +1300
+++ numpy-1.10.1/numpy/core/function_base.py 2015-11-11 10:14:05.813343880 +1300
@@ -3,7 +3,7 @@
__all__ = ['logspace', 'linspace']

from . import numeric as _nx
-from .numeric import result_type, NaN
+from .numeric import result_type, NaN, asanyarray
-from .numeric import result_type, NaN, shares_memory, MAY_SHARE_BOUNDS, TooHardError
+from .numeric import result_type, NaN, shares_memory, MAY_SHARE_BOUNDS, TooHardError, asanyarray


def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None):
Expand Down

0 comments on commit 0b6d895

Please sign in to comment.