Trac #15873: Update GAP-4.7.4

New tarballs:
* http://boxen.math.washington.edu/home/vbraun/spkg/gap-4.7.4.tar.bz2
* http://boxen.math.washington.edu/home/vbraun/spkg/gap_packages-4.7.4.t
ar.bz2
* http://boxen.math.washington.edu/home/vbraun/spkg/database_gap-4.7.4.t
ar.bz2
* http://boxen.math.washington.edu/home/vbraun/spkg/libgap-4.7.4.tar.gz

URL: http://trac.sagemath.org/15873
Reported by: vbraun
Ticket author(s): Volker Braun
Reviewer(s): Jean-Pierre Flori
Trac #15742: Pkgconfig

Make pkg-config available to Sage

This ticket adds a C implementation of the pkg-config spec together with
a Python interface to Sage. This will be used in the future to make
linking to libraries easier.

Upstream tarballs:
*
http://rabbit.dereferenced.org/~nenolod/distfiles/pkgconf-0.9.4.tar.bz2
* https://pypi.python.org/packages/source/p/pkgconfig/pkgconfig-1.1.0.ta
r.gz

URL: http://trac.sagemath.org/15742
Reported by: vbraun
Ticket author(s): Volker Braun
Reviewer(s): François Bissey, Jean-Pierre Flori
Trac #15879: Prevent Python to use system hg and svn when it is built

When python gets built, the first minimal version built can try to use
the system hg and svn and fail (because its minimal or because we mess
with ld_library_path).
This can make the build process.

URL: http://trac.sagemath.org/15879
Reported by: jpflori
Ticket author(s): Jean-Pierre Flori
Reviewer(s): Volker Braun
Trac #12117: Bugfixes and improvements to Aurifeuillian factorization

{{{
sage: from sage.rings.factorint import factor_aurifeuillian as fa
sage: fa(2^6006 + 1)
[...]
}}}

This should produce a splitting, but instead it just returns a
singleton.  The problem is that there's rounding error because of the
fixed precision of 300 in aurifeuillian.

This patch also updates this factorization function to allow for a
greater variety of bases.

URL: http://trac.sagemath.org/12117
Reported by: roed
Ticket author(s): David Roe
Reviewer(s): Ralf Stephan, Travis Scrimshaw
Trac #15876: Disable downloading from within spkg-install

This patch disables downloads from within sage-install by redirecting
`http_proxy`. This would have avoided the unintentional nose download at
#15742, for example.

URL: http://trac.sagemath.org/15876
Reported by: vbraun
Ticket author(s): Volker Braun
Reviewer(s): Jean-Pierre Flori
Trac #15759: cached_method: __name__ and __module__ attributes; callable as functions / class bound methods

This ticket adds the following features to cached methods to make them
behave more like usual methods:

- __name__ and __module__ attributes
- calling them as functions / methods bound on a class:
    {{{
    class Foo:
        @cached_method
        def f(self):
            ...

    sage: instance = Foo()
    sage: Foo.f(instance) is instance.f()
    sage: Foo.__dict__['f'](instance) is instance(f)
    }}}

This makes them compatible with, e.g., deprecated_function_alias:
{{{
class Foo:
    @cached_method
    def f(self):
        ...
    bar = deprecated_function_alias(12963, f)
}}}

URL: http://trac.sagemath.org/15759
Reported by: nthiery
Ticket author(s): Nicolas M. Thiéry
Reviewer(s): Simon King
Trac #13981: Faster int -> Integer coercion for common ints

Defaulting to the same range as Python, namely [-5, 256].

URL: http://trac.sagemath.org/13981
Reported by: robertwb
Ticket author(s): Robert Bradshaw
Reviewer(s): Paul Zimmermann, Marc Mezzarobba
Trac #15307: typo in doc/faq

I got this report about "fiel" instead of "file".

> http://www.sagemath.org/doc/faq/faq-usage.html
>
> If you use search for "fiel" on the page, it is the first one.

Maybe there are even more typos on that page? We should try to run
`aspell` on the documentation pages.

URL: http://trac.sagemath.org/15307
Reported by: schilly
Ticket author(s): Frédéric Chapoton
Reviewer(s): Marc Mezzarobba
Trac #15722: Some documentation errata in numerical module

There are some errata (small, usually formatting) mistakes in the
documentation of the numerical formula. The linked branch fixes them.
(Or at least the ones I spotted.)

URL: http://trac.sagemath.org/15722
Reported by: equaeghe
Ticket author(s): Erik Quaeghebeur
Reviewer(s): Nathann Cohen
Trac #15755: Upgrade cython to version 0.20.1

Upstream tarball: [http://cython.org/release/Cython-0.20.1.tar.gz]

URL: http://trac.sagemath.org/15755
Reported by: ohanar
Ticket author(s): R. Andrew Ohana, Jeroen Demeyer
Reviewer(s): R. Andrew Ohana
Merge branch 'ticket/9457' into ticket/9457.2
implement and use PolynomialRingHomomorphism_from_base
doctest fixes
Trac #15794: Matroid linear_extensions() does not mention lack of coloops.

The linear_extensions() docstring does not mention that the extension by
a coloop is never computed.

URL: http://trac.sagemath.org/15794
Reported by: yomcat
Ticket author(s): Rudi Pendavingh
Reviewer(s): Michael Welsh
Trac #15490: improve documentation of projective dynatomic polynomial

There are two current issues. There is a typo: `n` instead of `period`.

Also, it would be nice to verify that the roots are actually giving
preperiodic points of the correct period as a doctest.

URL: http://trac.sagemath.org/15490
Reported by: bhutz
Ticket author(s): Weixin Wu
Reviewer(s): Ben Hutz
Changed unit to one in Stanley symmetric functions
Merge branch 'develop' into rowmotion
Merge branch 'develop' of trac.sagemath.org:sage into develop

* 'develop' of trac.sagemath.org:sage: (1220 commits)
  Updated Sage version to 6.2.beta2
  fix doctest error
  Limit the GAP command line history
  integrate better with Integer.is_prime
  Combine ECM-GMP with Baillie-PSW for prime factorization
  Cleaned up documentation and formatting.
  add doctesr
  Trac 15262: fix combine function
  trac #15810: The graph data structures may have a ._directed but no .directed
  ignore randomness in assertion
  trac #15810: Immutable directed graphs should know that they are directed
  Trac 15166: regression test
  Fix representation of RIF elements with large exponent
  docbuilding: suppress warnings during latex build
  workaround for the utf8 code points in the Sage banner
  Trac 15798: fix mwrank doctest for Solaris
  do not abbreviate 3.99999... to 3.99 with # abs tol 1e-2
  Updated Sage version to 6.2.beta1
  Use posix locale for regex
  Let ncurses build again on Solaris.
  ...
remove unused declaration from polynomial_ring_homomorphism.pxd
trac #15489: Rebase on 6.2.beta2