sagemath (9.5-6) unstable; urgency=high

  * Add patches to fix builds on i386 and arm64:
    - u0-32bit-integer-check.patch
    - u0-fix-arm64-libgap-segfaults.patch        #34701

 -- Tobias Hansen <thansen@debian.org>  Tue, 07 Feb 2023 15:47:13 +0000

sagemath (9.5-5) unstable; urgency=high

  * Rebuild against current dependencies
    (Closes: #1013399, #1020576, #1022254, #1022278,
             #1025217, #1025874, #1028345, #1028433)
  * New (Build-)Depends:
    - libgiac-dev >= 1.9.0.19+dfsg2-2
    - gap-dev (>= 4.12)
    - libgiac-dev (>= 1.9.0.35+dfsg2-1.1)
  * New patches:
    - u0-version-pari-2.15.patch                 #34537
    - u0-version-sphinx-4.4.patch                #33272
    - u0-version-sphinx-5.2.patch                #34615
    - u0-version-gap-4.12.patch                  #34391
    - u0-version-python-3.11.patch               #33842
    - u0-version-matplotlib-3.6.patch
    - u0-version-sympy-1.10.patch
    - u0-version-scipy-1.8.patch
    - u0-version-singular-4.3.1-p3.patch         #34851
    - dt-ignore-deprecation-warnings.patch
  * Allow up to 200 failed doctests.

 -- Tobias Hansen <thansen@debian.org>  Tue, 07 Feb 2023 07:40:09 +0000

sagemath (9.5-4) unstable; urgency=medium

  * Remove armel, armhf, mips64el and mipsel from Architecture list
    due to continual test failures. (Closes: #1009241)

 -- Tobias Hansen <thansen@debian.org>  Fri, 15 Apr 2022 17:38:10 +0100

sagemath (9.5-3) unstable; urgency=medium

  * Update debian/rules for Python 3.10.

 -- Tobias Hansen <thansen@debian.org>  Mon, 11 Apr 2022 08:53:24 +0000

sagemath (9.5-2) unstable; urgency=medium

  * Fix command removing sage-conf dependency from setup.cfg to avoid
    spurious dependency of python3-sage on sagemath-common caused by
    dh_python3.
  * Fix command for rerunning doctests.

 -- Tobias Hansen <thansen@debian.org>  Sat, 12 Feb 2022 18:42:24 +0000

sagemath (9.5-1) unstable; urgency=medium

  * New upstream release.
  * New (Build-)Depends:
    - python3-primecountpy
  * Remove (Build-)Depends:
    - libpynac-dev
  * New patches:
    - u0-version-arb-2.22.patch                  #33189
    - d0-cygdb3.patch
  * Remove patches (applied upstream):
    - u0-trac32799-set-MPMATH_SAGE.patch         #32799
    - u0-version-arb-2.21.patch                  #32567
    - u0-version-matplotlib-3.5.patch            #32909
    - u0-version-singular-4.2.1.patch            #32001
    - u0-version-singular-4.2.1p2.patch          #32907
    - u0-version-lcalc-2.0.patch                 #32037
    - u0-version-gsl-2.7.patch                   #32607
    - u1-close-the-internal-pipe-of-multiprocessing.Process.patch #33032
    - u3-fix-i386-build.patch                    #33073

 -- Tobias Hansen <thansen@debian.org>  Thu, 10 Feb 2022 21:58:08 +0000

sagemath (9.4-3) unstable; urgency=medium

  * Add Breaks+Replaces: sagemath-common (<< 9.4-1) for python3-sage.
    (Closes: #1002849)
  * Build-Depend on and Recommend cysignals-tools to obtain backtraces
    during build.
  * Set autopkgtest restriction allow-stderr.
  * Allow up to 100 test failures during build.
  * debian/watch: Check github releases rather than tags page,
    the latter may contain only prereleases on page 1.

 -- Tobias Hansen <thansen@debian.org>  Sat, 08 Jan 2022 11:50:35 +0000

sagemath (9.4-2) unstable; urgency=medium

  [ Tobias Hansen ]
  * Remove (Build-)Depends:
    - libfplll-dev
  * Autopkgtests:
    - Do not run long tests to avoid timeouts.
    - Set restriction skip-not-installable since sagemath
      is not available on all architectures.

  [ Nilesh Patra ]
  * New patches:
    - u3-fix-i386-build.patch                   #33073

 -- Tobias Hansen <thansen@debian.org>  Wed, 29 Dec 2021 13:17:02 +0000

sagemath (9.4-1) unstable; urgency=medium

  * New upstream release. (Closes: #951592, #960925, #964848,
    #984326, #986527, #993149, #998190)
  * Doctests work out of the box now. (Closes: #931223)
  * Build standard python package python3-sage.
  * Install scripts to /usr/bin (Closes: #972346)
  * Activate autopkgtest.
  * Move package to Debian Math Team.
  * New (Build-)Depends:
    - Use dependencies as provided by upstream (drop many).
    - libec-dev (>= 20210503)
    - python3-memory-allocator
    - python3-sphinx (>= 4.3.1-2) (includes fix to dh_sphinxdoc)
    - singular (>= 1:4.2.1-p2)
  * Add dependency on libjs-mathjax to sagemath-doc.
    (Closes: #988681)
  * Run dh_sphinxdoc again.
  * New patches:
    - u0-trac32799-set-MPMATH_SAGE.patch         #32799
    - u0-version-arb-2.21.patch                  #32567
    - u0-version-matplotlib-3.5.patch            #32909
    - u0-version-singular-4.2.1.patch            #32001
    - u0-version-singular-4.2.1p2.patch          #32907
    - u0-version-lcalc-2.0.patch                 #32037
    - u0-version-linbox-1.7.patch                #32959
    - u0-version-gsl-2.7.patch                   #32607
    - u0-version-sphinx-4.3.patch                #32968
    - u1-close-the-internal-pipe-of-multiprocessing.Process.patch
    - dt-version-ipywidgets-6-revert-31517.patch
  * Remove patches (applied upstream):
    - u0-version-pari-2.13-spkg-configure.patch  #30906
    - u0-version-pari-2.13.patch                 #30801
    - u0-version-gap-4.11.patch                  #29314
    - u0-version-flint-2.6.3.patch               #29719
    - d1-no-spkg-builds.patch
    - d1-system-python-packages.patch
    - dt-avoid-pari-timeout.patch
  * Remove patches (no longer required):
    - u1-scripts-dir.patch                       #22731
    - d0-gsl-cblas.patch
    - d0-libgap-path.patch
    - d0-singular.patch
    - d0-docbuild-main.patch
    - d1-sage-env.patch
    - d1-sage.patch
    - dt-avoid-giac-segfault.patch
    - dt-avoid-ecl-timeout.patch
  * Use dephelper-compat level 13.

 -- Tobias Hansen <thansen@debian.org>  Sat, 18 Dec 2021 00:15:17 +0000

sagemath (9.2-2) unstable; urgency=medium

  * Do not hardcode python minor version in d/rules. (Closes: #972916)
  * New patches:
    - u0-version-pari-2.13.patch (Closes: #974991)
    - u0-version-pari-2.13-spkg-configure.patch
    - dt-avoid-pari-timeout.patch

 -- Tobias Hansen <thansen@debian.org>  Sun, 22 Nov 2020 00:40:14 +0000

sagemath (9.2-1) unstable; urgency=medium

  * New upstream release. (Closes: #972916)
  * Remove patches (applied upstream):
    - d0-maxima.patch #30563
  * Update debian/watch.

 -- Tobias Hansen <thansen@debian.org>  Mon, 26 Oct 2020 19:59:07 +0000

sagemath (9.2~beta12-1) unstable; urgency=medium

  * New upstream release. (Closes: #949023, #963338)
  * We are now using upstream's new configure script that checks for
    system packages and configures sage to use them. It does not
    recognize all system packages yet, so we patched it to never
    build any spkg's (d1-no-spkg-builds.patch).
    At the same time we changed some details about how sage is installed
    and tried to remove as many patches as possible.
  * Add debian/depcheck.py and run it after configure.
    This script checks for all (Build-)Depends of the Debian package
    if they appear in the debian.txt files under sage/build/pkgs/*/distros
    and reports which ones do not appear in debian.txt files.
    This can be used to find obsolete package Depends and to help create
    missing debian.txt files.
  * New (Build-)Depends:
    - curl
    - ecl (>= 20.4.24)
    - glpk-utils
    - libcurl4-openssl-dev
    - libopenblas-dev
    - libzmq3-dev
    - maxima-sage (>= 5.44.0)
    - pari-gp2c
    - pari-elldata
    - pari-galpol
    - ppl-dev
    - pynac (>= 0.7.26-5)
    - python3-sphinx (>= 3.0)
    - python3-tk
    - yasm
  * Remove (Build-)Depends:
    - libblas-dev
    - python3-brial (>= 1.2.5-2)
  * New patches:
    - u0-version-flint-2.6.3.patch               #29719
    - d0-arb.patch
    - d1-sage.patch
    - d1-no-spkg-builds.patch
    - d1-system-python-packages.patch
    - dt-avoid-ecl-timeout.patch
    - dt-avoid-giac-segfault.patch
  * Remove patches (in refactoring for 9.2):
    - u1-fix-atrocious-symlink-logic.patch       #22444
    - u1-looser-doctest-basename.patch           #22445
    - u1-workaround-sympow-malloc-perturb.patch
    - u2-allow-override-sage-local.patch
    - d0-arb.patch
    - d0-disable-jsmol.patch
    - d1-sage-cli.patch
    - df-sage-gap-reset-doctest.patch
    - df-silence_ecl_opt_signals.patch
    - d0-threejs-default-in-notebooks.patch
    - d0-paths.patch
    - d0-threejs-offline-paths.patch
    - d1-install-paths.patch
    - d1-multiarch-python-paths.patch
    - dt-version-glpk-4.60-extra-hacky-fixes.patch
    - dt-more-fix-test-cases.patch
    - dt-work-around-singular-mips64el-segfault.patch
  * Remove patches (applied upstream in 9.2):
    - u0-version-sphinx-2.4.patch                #28856
    - u0-version-pari-2.11.3.patch               #29313
    - u0-version-ecl-16.1.3.patch                #22191
    - u0-version-ipython-7.patch                 #28197
    - u2-version-matplotlib-3.2.1.patch
    - u0-version-python-3.8.patch                #27754
  * Remove patches (applied upstream in 9.1):
    - u0-version-scipy-1.4.patch                 #29115
    - u0-version-sympy-1.5.patch                 #28911
    - u1-pkgconfig-extra-link-flags.patch        #27205
    - u1-fix-trivial-test-cases.patch
    - u2-version-rpy-3.patch
    - d0-nauty.patch
    - d1-fakeroot.patch
    - dt-version-glpk-4.65-ignore-warnings.patch
  * Pass --enable-build-as-root to ./configure.

 -- Tobias Hansen <thansen@debian.org>  Sat, 12 Sep 2020 09:52:45 +0000

sagemath (9.0-4) unstable; urgency=medium

  * New (Build-)Depends:
    - gap-dev (>= 4.11.0)
    - libgap-dev
  * New patches:
    - u0-version-gap-4.11.patch                  #29314
    - u0-version-sphinx-2.4.patch                #28856
    - u0-version-scipy-1.4.patch                 #29115
  * Remove patches:
    - d0-libgap-path.patch
    - df-revert-minor-feature-dependent-on-python-patch.patch
    - df-subprocess-sphinx.patch
  * Modified patches:
    - u0-version-python-3.8.patch (add 32-bit hashes)
  * Allow up to 200 failed doctests.
  * Stop using dh_sphinxdoc.

 -- Tobias Hansen <thansen@debian.org>  Sat, 25 Apr 2020 15:09:00 +0000

sagemath (9.0-3) unstable; urgency=medium

  [ Julien Puydt ]
  * Mark the -doc-en package M-A: foreign following hinter.

  [ Tobias Hansen ]
  * New (Build-)Depends:
    - pari (>= 2.11.4~pre1)
    - gap-atlasrep (>= 2.1.0-2)
    - libec-dev (>= 20190909-3)
  * Remove (Build-)Depends:
    - python3-openid   #29320
    - python3-twisted  #29320
  * New patches:
    - u0-version-python-3.8.patch (Closes: #950147)
    - u0-version-pari-2.11.3.patch               #29313
    - u0-version-sympy-1.5.patch                 #28911
    - u2-version-matplotlib-3.2.1.patch (Closes: #954504)

 -- Tobias Hansen <thansen@debian.org>  Sat, 04 Apr 2020 20:48:51 +0200

sagemath (9.0-2) unstable; urgency=medium

  * Update PPLPY_DOCS variable following move of pplpy documentation.
    (Closes: #952618)

 -- Tobias Hansen <thansen@debian.org>  Wed, 26 Feb 2020 16:32:50 +0000

sagemath (9.0-1) unstable; urgency=medium

  [ Tobias Hansen ]
  * New upstream release.
  * New (Build-)Depends:
    - ipython3 (>= 7.11.1) (Closes: #949287)
  * Remove (Build-)Depends:
    - python3-prompt-toolkit (Closes: #944544)
  * New patches (from Arch Linux):
    - u0-version-ipython-7.patch (Closes: #949446)
  * Remove patches:
    - u0-32bit-overflow-trac-28795.patch         #28795
    - u0-version-threejs-111.patch               #28560
    - d1-packages-exclude-pip.patch
    - d1-python3-shebang.patch
    - df-python_security.patch
    - dt-version-sympy-1.3.patch
  * Modify d1-sage-env.patch:
    Source sage-env earlier to fix 'sage -v' (Closes: #948731)
  * Depend on cython3 instead of cython (Closes: #938426)
  * Allow 25 failed indep doctests.

  [ Julien Puydt ]
  * Update d1-sage-env.patch to find scripts (Closes: #948212)

 -- Tobias Hansen <thansen@debian.org>  Wed, 22 Jan 2020 22:37:42 +0100

sagemath (8.9-3) unstable; urgency=medium

  * New (Build-)Depends:
    - libjs-three (>= 111)
  * New patch (Closes: #944648)
    - u0-32bit-overflow-trac-28795.patch         #28795
    - u0-version-threejs-111.patch               #28560
    - d1-packages-exclude-pip

 -- Tobias Hansen <thansen@debian.org>  Sun, 01 Dec 2019 12:26:58 +0000

sagemath (8.9-2) unstable; urgency=medium

  * Follow best practices for blas in Debian:
    - Build-Depend on libblas-dev instead of libopenblas-dev|libatlas-base-dev
    - Recommend libopenblas-base|libblis2|libatlas3-base|libblas3|libblas.so.3
  * Update pplpy documentation path for pplpy 0.8.4-3.
  * Add python3 environment variables to d/rules export-build-env.
  * New (Build-)Depends:
    - brial (>= 1.2.5-2)
  * Override lintian error for sagemath-dbgsym: field-too-long 'Build-Ids'.

 -- Tobias Hansen <thansen@debian.org>  Sun, 10 Nov 2019 21:41:38 +0100

sagemath (8.9-1) unstable; urgency=medium

  * New upstream release.
  * New (Build-)Depends:
    - libgivaro-dev (>= 4.1.1-2)

 -- Tobias Hansen <thansen@debian.org>  Tue, 01 Oct 2019 11:29:02 +0200

sagemath (8.9~beta9-1) unstable; urgency=medium

  [ Martin von Gagern ]
  * New patches:
    - dt-version-ipywidgets-6-tests.patch

  [ Tobias Hansen ]
  * New upstream release.
  * Use Python 3. (Closes: #938426, #939402)
  * Drop the deprecated Sage Notebook (sagenb) which is not
    Python 3 compatible. It is replaced by the Jupyter notebook.
  * New (Build-)Depends:
    - libpynac-dev (>= 0.7.26-2) (linked against libpython3)
    - libgivaro-dev (>= 4.1.1)
    - fflas-ffpack (>= 2.4.3)
    - liblinbox-dev (>= 1.6.3)
  * New patches:
    - u2-version-rpy-3.patch
    - d1-python3-shebang.patch
    - dt-version-sympy-1.3.patch
  * Remove obsolete patches:
    - debian/patches/d0-arb.patch
    - dt-work-around-doc-common-conf.patch
  * Replace language specific documentation packages
    by a single package sagemath-doc containing all languages.
  * Simplify pruner script, decleare all standard packages
    as installed.
  * Fix 3 doctests in interfaces/maxima_abstract.py.

 -- Tobias Hansen <thansen@debian.org>  Wed, 11 Sep 2019 21:12:30 +0200

sagemath (8.8-1) unstable; urgency=medium

  * New upstream release. (Closes: #932367, #934171)
  * New (Build-)Depends:
    - libbrial-dev (>= 1.2.5)
    - libbrial-groebner-dev (>= 1.2.5)
    - libec-dev (>= 20190226)
    - maxima-sage (>= 5.42.2)
    - python-cypari2 (>= 2.1)
    - python-gmpy2
    - python-nose
    - python-ppl
    - python-ppl-doc
    - python-scipy (>= 1.2)
    - python-sphinx (>= 1.8.5)
    - sagemath-database-conway-polynomials (>= 0.5-7)
  * Remove patches (applied upstream):
    - u0-version-numpy-1.16-inline-fortran.patch #27061
    - u0-version-sphinx-1.8.patch                #26451
    - u0-version-sphinx-1.8-dependency.patch     #26949
    - u1-sphinx-1.8-doctest-transform.patch      #27528
    - u2-libgap-symbol-loading.patch             #26930
    - d1-disable-post-install-tests.patch
  * Patches with non-trivial modifications:
    - u0-version-sphinx-1.8.patch                #26451
    - d0-singular.patch
    - d0-paths.patch
    - d0-libgap-path.patch
    - d1-install-paths.patch
    - d1-sage-cli.patch
    - d1-sage-env.patch
    - dt-version-ipywidgets-6-revert-23177.patch
  * Allow up to 65 failed tests.

 -- Tobias Hansen <thansen@debian.org>  Sun, 01 Sep 2019 16:14:42 +0000

sagemath (8.6-6) unstable; urgency=medium

  * New patches:
    - u1-sphinx-1.8-doctest-transform.patch
    - d0-mathjax.patch
  * Update u0-version-sphinx-1.8.patch.
  * Create symlinks to system mathjax to fix math typesetting
    in documentation.
  * Remove (Build-)Depends:
    - python-flask
    - python-flask-autoindex
    - python-flask-babel
    - python-flask-oldsessions
    - python-flask-openid
    - python-flask-silk
  * Move packages from Depends to Recommends of sagemath (they all stay
    Build-Depends):
    - maxima-sage-doc
    - pari-doc
    - python-sagenb-export
    - r-cran-lattice
    - singular-doc
  * Fix 'sage --version'. (Closes: #923166)

 -- Tobias Hansen <thansen@debian.org>  Sat, 02 Mar 2019 02:54:33 +0000

sagemath (8.6-5) unstable; urgency=medium

  * New patches:
    - d0-threejs-default-in-notebooks.patch
      Makes threejs the default 3D viewer in the Jupyter and sagenb
      notebooks.
    - u1-pkgconfig-extra-link-flags.patch (Closes: #919573)
  * Update u0-version-sphinx-1.8.patch.
  * Exclude all png's from dh_strip_nondeterminism.

 -- Tobias Hansen <thansen@debian.org>  Thu, 07 Feb 2019 06:51:46 +0000

sagemath (8.6-4) unstable; urgency=medium

  [ Ximin Luo ]
  * Add Rules-Requires-Root: no, avoid using fakeroot.

  [ Tobias Hansen ]
  * Install a desktop file to start the Jupyter notebook.
  * New (Build-)Depends:
    - python-sphinx (>= 1.8) (Closes: #920989)
  * Remove (Build-)Depends:
    - gnutls-dev
    - libblas-dev
    - libgcrypt-dev
    - python3-dev
    - scons
    - f2c
    - octave
    - python-crypto
    - python-gd
    - python-gnutls
    - python-jsonschema
    - python-moinmoin
    - python-ply
    - python-tk
  * Adjust two trivial test fixes.
  * New patches:
    - u0-version-sphinx-1.8-dependency.patch     #26949
    - u0-version-sphinx-1.8.patch                #26451
  * Don't install sage-env-config. (Closes: #918990)

 -- Tobias Hansen <thansen@debian.org>  Thu, 31 Jan 2019 15:35:11 +0000

sagemath (8.6-3) unstable; urgency=medium

  [ Tobias Hansen ]
  * New (Build-)Depends:
    - gap-online-help
    - gap-atlasrep
    - gap-table-of-marks
    - libopenblas-dev (on supported architectures)
  * Remove (Build-)Depends:
    - libatlas-base-dev (on openblas supported architectures)
    - liblapack-dev
  * Allow up to 50 test failures.
  * Run tests with appropriate --optional flag.

  [ E. Madison Bray ]
  * New patch: u2-libgap-symbol-loading.patch

 -- Tobias Hansen <thansen@debian.org>  Thu, 24 Jan 2019 08:52:42 +0000

sagemath (8.6-2) unstable; urgency=medium

  * New (Build-)Depends:
    - ecl (>= 16.1.3)
    - maxima-sage (>= 5.41.0+ds-3)
  * New patches:
    - u0-version-ecl-16.1.3.patch                #22191
  * Don't run dh_strip_nondeterminism on sageicon.png to avoid error.

 -- Tobias Hansen <thansen@debian.org>  Wed, 16 Jan 2019 17:33:43 +0000

sagemath (8.6-1) unstable; urgency=medium

  * Upload to unstable.
  * New upstream release.
  * New (Build-)Depends:
    - cysignals (>= 1.8.1)
    - libpynac-dev (>= 0.7.23)
    - python-sphinx (<< 1.8~)
  * New patches:
    - u0-version-numpy-1.16-inline-fortran.patch #27061
  * Remove patches (applied upstream):
    - u0-version-networkx-2.2.patch              #26326
  * Fix path to sage in Jupyter kernel spec. (Closes: #918993)

 -- Tobias Hansen <thansen@debian.org>  Wed, 16 Jan 2019 00:25:58 +0100

sagemath (8.6~rc0-1) experimental; urgency=medium

  * New upstream release.
  * New (Build-)Depends:
    - cython (>= 0.29.1)
    - lcalc (>= 1.23+dfsg-10)
    - libflint-arb-dev (>= 1:2.15)
    - python-cypari2 (>= 1.3.1)
  * Remove patches (applied upstream):
    - u0-gap-util.patch
    - u0-version-gap-4.10.patch                  #22626
    - u0-version-numpy-1.14.3.patch              #25260
    - u0-gap-trac-26889.patch                    #26889
    - u0-gap-trac-26856.patch                    #26856
    - u1-fix-mkdirs-sage-kernel-spec.patch       #26176
    - u2-version-r-3.5.1-incomplete.patch        #26185

 -- Tobias Hansen <thansen@debian.org>  Sun, 06 Jan 2019 12:19:11 +0000

sagemath (8.4-4) unstable; urgency=medium

  * Closes: #918068
  * New (Build-)Depends:
    - gap-primgrp
    - gap-smallgrp
    - gap-transgrp
    - lcalc (>= 1.23+dfsg-9)
  * New patches:
    - u0-gap-trac-26889.patch                    #26889
    - u0-gap-trac-26856.patch                    #26856

 -- Tobias Hansen <thansen@debian.org>  Thu, 03 Jan 2019 11:15:59 +0000

sagemath (8.4-3) unstable; urgency=medium

  * New (Build-)Depends:
    - gap (>= 4r10p0-3) (Closes: #912980)
    - networkx (>= 2.2)
    - gdb
  * Removed (Build-)Depends:
    - libgap-sage
    - libsingular4 (Closes: #912593)
    - gdb-python2 (Closes: #890231)
  * New patches:
    - u0-gap-util.patch
    - u0-version-gap-4.10.patch                  #22626
    - u0-version-networkx-2.2.patch              #26326
    - d0-libgap-path.patch
  * Removed patches:
    - d0-libgap-sage.patch
  * Add lintian overrides for threejs example files with long lines.
  * Allow 90 test failures for 'arch' tests, 10 for 'indep'.
  * Install shlibs.local for libgap.
  * Add lintian override for /usr/lib/*/gap in rpath.

 -- Tobias Hansen <thansen@debian.org>  Wed, 02 Jan 2019 11:28:59 +0000

sagemath (8.4-2) unstable; urgency=medium

  * Upload to unstable.
  * New (Build-)Depends:
    - libbraiding
    - libhomfly
  * Remove patch:
    - dt-revert-standard-libbraiding-libhomfly.patch

 -- Tobias Hansen <thansen@debian.org>  Sat, 20 Oct 2018 11:41:45 +0200

sagemath (8.4-1) experimental; urgency=medium

  * New upstream release.
  * New (Build-)Depends:
    - brial (>= 1.2.4)
    - cddlib (>= 094j)
    - eclib (>= 20180815)
  * New patches:
    - dt-revert-standard-libbraiding-libhomfly.patch
  * Remove patches (applied upstream):
    - u0-version-singular-4.1.1p2.patch
    - u0-version-cypari2-1.2.1.patch             #25813
    - u0-version-pari-2.11.patch                 #25567
    - u0-version-arb-2.14.patch                  #25966
    - u0-fix-symlink-sage-kernel-spec.patch      #25722
    - d0-pari.patch
    - d0-paths-sharedata.patch
    - dt-r-no-readline.patch
  * Patches with non-trivial modifications:
    - d0-maxima.patch
    - d0-paths.patch
    - d1-install-paths.patch
    - d1-sage-env.patch
    - dt-work-around-doc-common-conf.patch

 -- Tobias Hansen <thansen@debian.org>  Fri, 19 Oct 2018 00:18:23 +0200

sagemath (8.3-4) unstable; urgency=medium

  * Install sage-python23. (Closes: #910940)
  * Remove d1-remove-sage-python23.patch.
  * Fix some lintian warnings.
  * Fix path to sage-version.sh in u1-scripts-dir.patch.

 -- Tobias Hansen <thansen@debian.org>  Sun, 14 Oct 2018 12:47:48 +0000

sagemath (8.3-3) unstable; urgency=medium

  * New (Build-)Depends:
    - singular (== 4.1.1-p2)
  * New patches:
    - u0-version-singular-4.1.1p2.patch
  * Remove patches (applied upstream):
    - u0-fix-dont-require-DISPLAY.patch          #22441
  * dt-more-fix-test-cases.patch:
    Disable a test in sage/src/sage/libs/pari/tests.py that sometimes
    hangs on ppc64el.

 -- Tobias Hansen <thansen@debian.org>  Sat, 06 Oct 2018 14:15:28 +0000

sagemath (8.3-2) unstable; urgency=medium

  * Remove dependency on backports.ssl-match-hostname. (Closes: #909975)
  * Remove patches:
    - d1-test-optional.patch

 -- Tobias Hansen <thansen@debian.org>  Mon, 01 Oct 2018 20:16:30 +0200

sagemath (8.3-1) unstable; urgency=medium

  * Upload to unstable.

 -- Tobias Hansen <thansen@debian.org>  Wed, 26 Sep 2018 18:44:43 +0000

sagemath (8.3-1~exp2) experimental; urgency=medium

  [ Julian Rüth ]
  * New patches:
    - u0-fix-symlink-sage-kernel-spec.patch      #25722

  [ Ximin Luo ]
  * New patches:
    - u2-version-r-3.5.1-incomplete.patch        #26185

  [ Tobias Hansen ]
  * Depend on python-stemmer to fix docbuild (see #907381).

 -- Tobias Hansen <thansen@debian.org>  Tue, 04 Sep 2018 20:24:14 +0000

sagemath (8.3-1~exp1) experimental; urgency=medium

  [ Julian Rüth ]
  * New upstream version.
  * New (Build-)Depends:
    - libflint-arb-dev (>= 1:2.13)
    - libfplll-dev (>= 5.2.1)
    - libpynac-dev (>= 0.7.22)
    - ipython (>= 5.5.0)
    - maxima-sage (>= 5.41.0)
    - python-fpylll (>= 0.4.1)
    - python-packaging
  * Remove patches (applied upstream):
    - u0-version-pynac-0.7.19.patch              #24838
    - u0-version-sphinx-1.7.patch                #24935
    - u0-version-pbori-boost1.62-hashes.patch    #22243
    - u0-version-networkx-2.1.patch              #24374
    - u0-reproducible-docs.patch                 #25093
    - u0-better-sphinx-failure-modes.patch       #25160, 25161
    - u1-version-cddlib-094h.patch               #25341

  [ Tobias Hansen ]
  * New (Build-)Depends:
    - gfan (>= 0.6.2)
    - libgiac-dev (>= 1.4.9.69)
    - pari (>= 2.11.0)
    - python-cypari2 (>= 1.2.1),
  * New patches:
    - u0-version-cypari2-1.2.1.patch             #25813
    - u0-version-pari-2.11.patch                 #25567
    - u0-version-arb-2.14.patch                  #25966
  * Removed patches (aaplied upstream):
    - u2-pari-stackwarn.patch                    #23263
    - d0-pari-2.9-revert-24531.patch
    - d0-pari-2.9-revert-23544.patch
  * Use atlas instead of openblas to work around crashes with openblas 0.3.2.

 -- Ximin Luo <infinity0@debian.org>  Sun, 12 Aug 2018 14:53:31 -0700

sagemath (8.2-5) unstable; urgency=medium

  * New patch d1-remove-sage-python23.patch. (Closes: #902545)

 -- Tobias Hansen <thansen@debian.org>  Fri, 29 Jun 2018 12:12:45 +0200

sagemath (8.2-4) unstable; urgency=medium

  * Depend on libflint-arb-dev (>= 1:2.12).

 -- Tobias Hansen <thansen@debian.org>  Tue, 26 Jun 2018 18:00:34 +0200

sagemath (8.2-3) unstable; urgency=medium

  * Upload to unstable.
  * Update networkx patch.

 -- Tobias Hansen <thansen@debian.org>  Tue, 26 Jun 2018 12:01:13 +0200

sagemath (8.2-2) experimental; urgency=medium

  * New (Build-)Depends:
    - python-networkx (>= 2.1)
    - sympow (>= 1.023-9)
  * New patches:
    - u0-version-networkx-2.1.patch              #24374
      (Closes: #901532)

 -- Tobias Hansen <thansen@debian.org>  Fri, 22 Jun 2018 14:22:29 +0000

sagemath (8.2-1) experimental; urgency=medium

  * New upstream version.
  * New (Build-)Depends:
    - cython (>= 0.28.2)
    - fflas-ffpack (>= 2.3.2)
    - flint-arb (>= 2.12),
    - givaro (>= 4.0.4)
    - linbox (>= 1.5.2)
    - pynac (>= 0.7.19)
    - sphinx (>= 1.7)
    - python-numpy (>= 1:1.14)
    - python-sagenb (>= 1.0.1+ds1-5)
  * Version restrictions to use packages from unstable
    rather than experimental:
    - libec-dev (<< 20171219~)
    - libsingular4-dev (<< 1:4.1.1~)
  * Remove patches (applied upstream):
    - u0-version-matplotlib-2.1.0.patch          #23696
    - u0-version-mpfr-4.0.patch                  #24353
    - u1-version-ipython-5.4.patch               #24389
    - u1-version-giac-1.2.3.57.patch
  * New patches:
    - u0-version-numpy-1.14.3.patch              #25260
    - u0-version-pynac-0.7.19.patch              #24838
    - u0-version-sphinx-1.7.patch                #24935
    - d0-pari-2.9-revert-24531.patch
    - dt-version-ipywidgets-6-revert-23177.patch
  * Patches with non-trivial modifications:
    - d0-arb.patch
    - d0-pari-2.9-revert-23544.patch
    - d0-paths.patch
    - d1-sage-cli.patch
  * Increase the allowed test failures from 62 up to 70.

 -- Tobias Hansen <thansen@debian.org>  Wed, 06 Jun 2018 17:48:06 +0000

sagemath (8.1-7) unstable; urgency=medium

  [ Ximin Luo ]
  * Add dot2tex to Suggests, needed by GenericGraph.layout_graphviz().
  * Work around Singular bug on mips64el (#892622) by disabling ASLR.
  * Remove armel one-thread workaround because it didn't work.
  * Use pkg-config to check for freetype2. (Closes: #892440)

 -- Tobias Hansen <thansen@debian.org>  Sun, 18 Mar 2018 21:04:20 +0000

sagemath (8.1-6) unstable; urgency=medium

  * Add patch dt-version-glpk-4.65-ignore-warnings.patch.

 -- Tobias Hansen <thansen@debian.org>  Wed, 28 Feb 2018 16:23:41 +0000

sagemath (8.1-5) unstable; urgency=medium

  * Restrict to one thread on armel to try to avoid buildds getting stuck.

 -- Tobias Hansen <thansen@debian.org>  Thu, 22 Feb 2018 20:28:34 +0000

sagemath (8.1-4) unstable; urgency=medium

  * Bump gf2x build-dependency to pull in fixes for illegal instruction
    on older amd64 and i386 machines.
  * Increase the allowed test failures from 50 up to 62. This is mostly to
    handle certain arches that have 11 extra failures; most arches should
    stay below 50.
    - Generally we have to do this increasing when the versions of the
      Build-Deps in Debian grow newer and further apart from what upstream
      expects; and can reset the number back down to 50 or less when a new
      upstream version is released.

 -- Ximin Luo <infinity0@debian.org>  Tue, 13 Feb 2018 11:28:20 +0100

sagemath (8.1-3) unstable; urgency=medium

  [ Tobias Hansen ]
  * Update Vcs-* links for salsa.
  * New patches:
    - u0-version-mpfr-4.0.patch
      Fixes for libmpfr 4.0.
    - u0-version-matplotlib-2.1.0.patch
      New dependencies:
      - python-subprocess32
      - python-backports.functools-lru-cache
  * Modified patches:
    - dt-more-fix-test-cases.patch
      Fix ordering issue in two tests in the documentation.

  [ Ximin Luo ]
  * Tests now pass fine after fixes in other packages. (Closes: #888912)
  * Modified patches:
    - dt-more-fix-test-cases.patch
      Ignore sigabrt in sage_object.pyx doctest.
  * Add dbg packages to the pkg.sagemath.dbg build-profile to make
    stack traces work.
  * Touch the dummy spkg file to avoid rebuilds in some cases.

 -- Tobias Hansen <thansen@debian.org>  Sun, 11 Feb 2018 21:20:28 +0000

sagemath (8.1-2) unstable; urgency=medium

  * Upload to unstable.

 -- Tobias Hansen <thansen@debian.org>  Sat, 30 Dec 2017 12:26:04 +0100

sagemath (8.1-1) experimental; urgency=medium

  * New upstream version.

 -- Tobias Hansen <thansen@debian.org>  Thu, 28 Dec 2017 18:31:24 +0100

sagemath (8.1~rc0-1) experimental; urgency=medium

  [ Gianfranco Costamagna ]
  * Drop lcalc binNMU requirement, now it is satisfied everywhere
    and breaks debian derivatives.

  [ Tobias Hansen ]
  * New upstream version.
  * New (Build-)Depends:
    - libflint-arb-dev (>= 2.11.1)
    - python-cypari2 (>= 1.1.3)
    - python-numpy (>= 1:1.13)
    - brial (>= 1.0.1)
    - fplll (>= 5.2.0)
    - python-fpylll (>= 0.3.0)
  * Changed (Build-)Depends: (Closes: #880781)
    - (libgd2-noxpm-dev | libgd2-xpm-dev) to libgd-dev
  * New patches:
    - d0-pari-2.9-revert-23544.patch
  * Remove patches:
    - u0-version-pynac-0.7.12.patch
    - u2-fix-less-trivial-test-cases.patch

  [ Julien Puydt ]
  * Bump d/watch to version 4.

  [ Ximin Luo ]
  * New patches:
    - u1-version-ipython-5.4.patch

 -- Tobias Hansen <thansen@debian.org>  Mon, 13 Nov 2017 22:05:10 +0100

sagemath (8.1~beta7-1) experimental; urgency=medium

  * New upstream version.
  * New (Build-)Depends:
    - libpynac-dev (>= 0.7.12)
    - python-cypari2 (>= 1.1.1)
    - python-typing
  * Remove patches (applied upstream):
    - u0-version-cython-0.26.patch               #23360
    - u0-version-scipy-0.19.1.patch              #23594
    - u0-version-sphinx-1.6.patch                #23023
    - u1-pip-nowarn.patch                        #21835
    - u1-more-sphinx-1.5-fixes.patch             #23364
    - d0-cython-sys-path.patch
    - df-silence_debian_bug_780186.patch
  * Patches with non-trivial modifications:
    - u2-allow-override-sage-local.patch
    - u2-fix-trivial-test-cases.patch
    - u2-fix-less-trivial-test-cases.patch
    - d0-paths.patch
    - df-revert-lazy-import-dependent-on-python-patch.patch
  * New patches:
    - u0-version-pynac-0.7.12.patch

 -- Tobias Hansen <thansen@debian.org>  Sun, 15 Oct 2017 20:33:50 +0100

sagemath (8.0-9) unstable; urgency=medium

  [ Tobias Hansen ]
  * Changed (Build-)Depends: (Closes: #880781)
    - (libgd2-noxpm-dev | libgd2-xpm-dev) to libgd-dev

  [ Ximin Luo ]
  * New patches:
    - u1-version-ipython-5.4.patch

 -- Ximin Luo <infinity0@debian.org>  Fri, 10 Nov 2017 14:45:27 +0100

sagemath (8.0-8) unstable; urgency=medium

  [ Ximin Luo ]
  * Set a higher test timeout for slower architectures.
  * Don't ignore timed-out tests on i386, they work fine.
  * Re-enable parallel docbuild but using subprocess instead.

  [ Tobias Hansen ]
  * Add upstream patch to build with Sphinx (>= 1.6):
    - u0-version-sphinx-1.6.patch (Closes: #872259)
  * Print messages explaining why tests do/don't fail.
  * Organize d/rules into sections.

 -- Tobias Hansen <thansen@debian.org>  Wed, 20 Sep 2017 07:18:46 +0000

sagemath (8.0-7) unstable; urgency=medium
 
  * Add patch u0-version-scipy-0.19.1.patch from upstream.
  * Remove parts of u2-fix-less-trivial-test-cases.patch which are
    included in u0-version-scipy-0.19.1.patch.
  * Depend on scipy >= 0.19.1.

 -- Tobias Hansen <thansen@debian.org>  Sun, 10 Sep 2017 20:01:46 +0000

sagemath (8.0-6) unstable; urgency=medium

  * Use pkg-config to check for openblas|atlas in pruner, the old check
    broke with the multiarchified openblas 0.2.20+ds-3 and
    atlas 3.10.3-4.
  * Build with openblas on supported architectures and with atlas on
    the others.

 -- Tobias Hansen <thansen@debian.org>  Sun, 10 Sep 2017 18:03:14 +0100

sagemath (8.0-5) unstable; urgency=medium

  * Tweak the test failure limits to avoid unnecessary FTBFS.

 -- Ximin Luo <infinity0@debian.org>  Sun, 27 Aug 2017 22:12:28 +0200

sagemath (8.0-4) unstable; urgency=medium

  * Upload to unstable.
  * Relax the runtime dependencies.
  * Deduplicate the documentation using rdfind(1).

 -- Ximin Luo <infinity0@debian.org>  Sun, 27 Aug 2017 16:00:52 +0200

sagemath (8.0-3) experimental; urgency=medium

  * Fix FTBFS everywhere caused by bad Makefile syntax for running tests.
  * Add a pkg.sagemath.nolongcheck build profile for skipping --long tests.

 -- Ximin Luo <infinity0@debian.org>  Thu, 17 Aug 2017 15:23:14 +0200

sagemath (8.0-2) experimental; urgency=medium

  * Fix FTBFS everywhere by adding python-dev to Build-Depends since the
    pruner was updated to check for that instead of python-2.7.pc.

 -- Ximin Luo <infinity0@debian.org>  Thu, 17 Aug 2017 11:59:21 +0200

sagemath (8.0-1) experimental; urgency=medium

  [ Tobias Hansen ]
  * New upstream version (Closes: #870688).
  * New (Build-)Depends:
    - cypari2
  * Remove patches (applied upstream):
    - u0-fix-proper-scipy-rtol.patch
    - u0-version-r-3.3.3.patch
    - u0-version-singular-4.1.0p2.patch
    - u0-version-singular-4.1.0p3.patch
    - u0-sphinx-1.5.patch
    - u1-fix-use-lexists-not-exists.patch
    - u1-version-ecm-7.patch
    - u1-version-planarity-3.patch
    - df-sagedoc_avoid_exception.patch
  * Patches with non-trivial modifications:
    - u2-allow-override-sage-local.patch:
      May need further edits after https://trac.sagemath.org/ticket/21479
    - d0-libgap-sage.patch
    - d0-pari-stackwarn.patch
    - d0-paths.patch
    - d0-singular.patch
    - d1-install-paths.patch
    - d1-sage-env.patch
  * New patches:
    - df-revert-lazy-imports-22755.patch
    - u0-version-cython-0.26.patch
  * Decrease number of allowed test failures from 80 to 40.

  [ Ximin Luo ]
  * Update to latest Standards-Version; no changes required.
  * Split arch-dep vs arch-indep build and test targets more efficiently.
  * New patches:
    - u1-version-giac-1.2.3.57.patch
    - u2-workaround-sympow-malloc-perturb.patch

  [ Julien Puydt ]
  * Make searching for python check only the major version (Closes: #871794).

 -- Ximin Luo <infinity0@debian.org>  Wed, 16 Aug 2017 20:25:45 +0200

sagemath (7.6-3) unstable; urgency=medium

  * New patches:
    - u0-sphinx-1.5.patch, upstream fixes for sphinx 1.5.
    - u1-more-sphinx-1.5-fixes.patch from Dmitry Shachnev. (Closes: #866166)
  * Use libgcrypt-dev instead of obsolete libgcrypt11-dev. (Closes: #864132)
  * Increase number of allowed test failures from 40 to 80.

 -- Tobias Hansen <thansen@debian.org>  Mon, 24 Jul 2017 10:14:09 +0100

sagemath (7.6-2) unstable; urgency=medium

  * Upload to unstable.
  * New patch u0-version-singular-4.1.0-p3.
  * Depend on singular (>= 1:4.1.0-p3).

 -- Tobias Hansen <thansen@debian.org>  Mon, 08 May 2017 14:31:50 +0100

sagemath (7.6-1) experimental; urgency=medium

  * New upstream version.
  * Broken symlinks to thebe.js were removed upstream. (Closes: #856866)
  * Reduce number of allowed test failures during build from 80 to 40.
  * New (Build-)Depends:
    - eclib (>= 20170122)
    - ecl (= 16.1.2)
    - maxima-sage (>= 5.39.0)
    - python3-dev
    - python-enum34
  * Remove patches (applied upstream):
    - u0-dont-test-glpk-version.patch
    - u0-fix-libgap-systemwide.patch
    - u0-fix-preexec-fn.patch
    - u0-singular-include-path-for-pynac.patch
    - u0-use-local-threejs.patch
    - u0-version-pari-2.9.patch
    - u0-version-pynac-0.7.4.patch
    - dt-version-singular-4-extra-fixes.patch
  * New patches:
    - dt-undo-trac-21267-sagenb-interacts-for-jupyter.patch

 -- Tobias Hansen <thansen@debian.org>  Mon, 03 Apr 2017 20:04:43 +0100

sagemath (7.5.1-1) experimental; urgency=medium

  * New upstream version.
  * Remove useless dependency on python-zodb. (Closes: #854926)
  * New (Build-)Depends:
    - libjs-three (>= 80)
    - singular (>= 1:4.1.0-p2)
    - pynac (>= 0.7.5)
    - giac
  * Remove patches (applied upstream):
    - u0-version-cython-0.25.patch
    - u0-version-glpk-4.60.patch
    - u0-version-pari-2.9-trac-21765.patch
    - u0-version-singular-4.patch
    - u0-distutils-fixes.patch
    - u0-timeit-python-2.7.11.patch
    - u1-version-pkgconfig.patch
  * Patches with non-trivial modifications:
    - u0-pip-nowarn.patch
    - u0-version-pari-2.9.patch
    - u2-allow-override-sage-local.patch
    - u2-fix-trivial-test-cases.patch
    - u2-fix-less-trivial-test-cases.patch
    - d0-arb.patch (patch acb_poly.pxd)
    - d0-gsl-cblas.patch (keep gslcblas in gsl_libs)
    - d0-pari.patch
    - d0-pari-stackwarn.patch
    - d0-paths-sharedata.patch
    - d0-paths.patch
    - d0-singular.patch
    - d1-install-paths.patch
    - d1-sage-env.patch (also patch env.py from here)
    - dt-disable-parallel-sphinx.patch
    - dt-more-fix-test-cases.patch (parts were applied upstream)
  * New patches:
    - u0-use-local-threejs.patch
    - u0-version-singular-4.1.0p2.patch
    - u0-version-pynac-0.7.4.patch
    - u1-singular-include-path-for-pynac.patch
    - u1-dont-test-glpk-version.patch

 -- Tobias Hansen <thansen@debian.org>  Fri, 17 Mar 2017 00:17:32 +0000

sagemath (7.4-9) unstable; urgency=medium

  * Update for dh-python 2.20170125.

 -- Ximin Luo <infinity0@debian.org>  Thu, 26 Jan 2017 01:16:15 +0100

sagemath (7.4-8) unstable; urgency=medium

  * Work around some testing issues on i386. (Closes: #852374)

 -- Ximin Luo <infinity0@debian.org>  Wed, 25 Jan 2017 16:08:28 +0100

sagemath (7.4-7) unstable; urgency=medium

  * Improve the state of post-install tests.

 -- Ximin Luo <infinity0@debian.org>  Sun, 22 Jan 2017 01:17:16 +0100

sagemath (7.4-6) unstable; urgency=medium

  * Only check dochtml.log for errors if we will actually build the doc
    packages. This helps to avoid FTBFS on low-memory arch-any buildds.

 -- Ximin Luo <infinity0@debian.org>  Mon, 09 Jan 2017 12:53:34 +0100

sagemath (7.4-5) unstable; urgency=medium

  [ Ximin Luo ]
  * Generate documentation reproducibly.
  * Set SYMPOW_CACHEDIR instead of HOME.
  * Depend on python-numpy (>= 1:1.12.0~rc2-1).

  [ Tobias Hansen ]
  * Rebuild against brial 0.8.5-4. (Closes: #849152)
  * Remove sagetex from Build-Depends and sagemath:Depends,
    add to sagemath:Recommends.
  * Change u1-version-pbori-boost1.62-hashes.patch:
    Also update hashes for 32 bit.

 -- Tobias Hansen <thansen@debian.org>  Sun, 08 Jan 2017 09:57:27 +0100

sagemath (7.4-4) unstable; urgency=medium

  * Add a temporary exception to the i386 testsuite to allow the build to pass.
    This allows us to artificially pass an intermediate deadline for the Debian
    stretch release schedule, which gives us more breathing space to fix this
    properly for the eventual deadline.

 -- Ximin Luo <infinity0@debian.org>  Fri, 23 Dec 2016 17:37:30 +0100

sagemath (7.4-3) unstable; urgency=medium

  * Fix separate arch-all vs arch-any builds.

 -- Ximin Luo <infinity0@debian.org>  Thu, 22 Dec 2016 12:31:41 +0100

sagemath (7.4-2) unstable; urgency=medium

  [ Tobias Hansen ]
  * Upload to unstable.
  * Move install paths to */sagemath/* instead of */sage/*.

 -- Ximin Luo <infinity0@debian.org>  Wed, 21 Dec 2016 02:53:07 +0100

sagemath (7.4-1) experimental; urgency=medium

  * Initial package. (Closes: #841136)

 -- Tobias Hansen <thansen@debian.org>  Sun, 18 Dec 2016 13:25:32 +0000
