From 9629e670e9a8c211c7d833d4419fbe8676e00bce Mon Sep 17 00:00:00 2001 From: Drew Parsons Date: Sat, 16 Jan 2021 12:26:56 +0000 Subject: [PATCH 1/1] Import scipy_1.6.0-2.debian.tar.xz [dgit import tarball scipy 1.6.0-2 scipy_1.6.0-2.debian.tar.xz] --- README.source | 12 + changelog | 1144 +++++++++++++++++++++++++++++++ control | 103 +++ copyright | 405 +++++++++++ patches/Use-system-LBFGSB.patch | 38 + patches/css_font_OpenSans.patch | 59 ++ patches/css_font_local.patch | 19 + patches/qhull-lfs.patch | 26 + patches/series | 5 + patches/use_local_mathjax.patch | 22 + python-scipy-doc.doc-base | 14 + python-scipy-doc.docs | 1 + python3-scipy-dbg.install | 2 + python3-scipy.install | 1 + rules | 113 +++ source/format | 1 + tests/atlas | 1 + tests/blis | 1 + tests/control | 21 + tests/openblas | 21 + tests/python3 | 74 ++ tests/python3-smoke | 19 + watch | 3 + 23 files changed, 2105 insertions(+) create mode 100644 README.source create mode 100644 changelog create mode 100644 control create mode 100644 copyright create mode 100644 patches/Use-system-LBFGSB.patch create mode 100644 patches/css_font_OpenSans.patch create mode 100644 patches/css_font_local.patch create mode 100644 patches/qhull-lfs.patch create mode 100644 patches/series create mode 100644 patches/use_local_mathjax.patch create mode 100644 python-scipy-doc.doc-base create mode 100644 python-scipy-doc.docs create mode 100644 python3-scipy-dbg.install create mode 100644 python3-scipy.install create mode 100755 rules create mode 100644 source/format create mode 120000 tests/atlas create mode 120000 tests/blis create mode 100644 tests/control create mode 100755 tests/openblas create mode 100755 tests/python3 create mode 100755 tests/python3-smoke create mode 100644 watch diff --git a/README.source b/README.source new file mode 100644 index 00000000..3b29b1d3 --- /dev/null +++ b/README.source @@ -0,0 +1,12 @@ +Creating source package +======================= + +In the upstream supplied source tarball, certain source files are +missing which are present in the upstream subversion repository. + +The debian/orig-tar.sh script adds the missing source files and +creates a DFSG compatible source tarball for debian release. Please +use the 'rules/get-orig-source' target to create the tarball for +debian packaging. + +-- Varun Hiremath Fri, 30 Jul 2010 18:27:23 -0400 diff --git a/changelog b/changelog new file mode 100644 index 00000000..86cef94f --- /dev/null +++ b/changelog @@ -0,0 +1,1144 @@ +scipy (1.6.0-2) unstable; urgency=medium + + * Team upload. + * upload new upstream version to unstable + + -- Drew Parsons Sat, 16 Jan 2021 23:26:56 +1100 + +scipy (1.6.0-1) experimental; urgency=medium + + * Team upload. + * New upstream release. + * Standards-Version: 4.5.1 + * drop debian/python3-scipy.docs: Thanks.txt no longer shipped. + * update debian/copyright for new features + - benchmarks/benchmarks/go_benchmark_functions/*.py + Copyright: 2013 Andrea Gavana + License: expat + - scipy/fft/_pocketfft/pocketfft.cxx + Copyright: 2010-2019 Max-Planck-Society, Martin Reinecke + 2019 Peter Bell. License: BSD-3-clause + - scipy/fft/_pocketfft/pocketfft_hdronly.h + Copyright: 2010-2019 Max-Planck-Society, Martin Reinecke + 2019 Peter Bell, 2003,2007-2014 Matteo Frigo, + Massachusetts Institute of Technology. License: BSD-3-clause + - scipy/optimize/_highs/* + Copyright: 2020 ERGO-Code + License: Expat + - scipy/sparse/csgraph/_matching.pyx + Copyright: 1987, A. Volgenant/Amsterdam School of Economics, + University of Amsterdam. License: BSD-3-clause + - scipy/_lib/uarray/* + Copyright: 2018, Quansight-Labs + License: BSD-3-clause + + -- Drew Parsons Wed, 06 Jan 2021 19:57:43 +1100 + +scipy (1.5.4-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + + -- Drew Parsons Sat, 14 Nov 2020 13:36:06 +0800 + +scipy (1.5.3-2) unstable; urgency=medium + + * Team upload. + * push new upstream release to unstable + + -- Drew Parsons Thu, 05 Nov 2020 03:33:52 +0800 + +scipy (1.5.3-1) experimental; urgency=medium + + * Team upload. + + [ Ondřej Nový ] + * d/control: Update Maintainer field with new Debian Python Team + contact address. + * d/control: Update Vcs-* fields with new Debian Python Team Salsa + layout. + + [ Drew Parsons ] + * New upstream release. + + -- Drew Parsons Tue, 03 Nov 2020 13:32:21 +0800 + +scipy (1.5.2-2) unstable; urgency=medium + + * Team upload. + * debian/tests (autopkgtest): add a new test case using BLAS=libblis3 + + -- Drew Parsons Sat, 01 Aug 2020 12:49:57 +0800 + +scipy (1.5.2-1) experimental; urgency=medium + + * Team upload. + * New upstream release. + - update versioned Build-Depends: cython3 (>= 0.29.18), + python3-numpy (>= 1:1.14.5), python3-pybind11 (>= 2.4.3) + - builds with gfortran 10. Closes: #957780. + * debhelper compatibility level 13 + + -- Drew Parsons Fri, 24 Jul 2020 15:17:18 +0800 + +scipy (1.4.1-2) unstable; urgency=medium + + * Team upload. + * bring new upstream version to unstable + + -- Drew Parsons Sat, 18 Apr 2020 11:08:42 +0800 + +scipy (1.4.1-1) experimental; urgency=medium + + * Team upload. + * New upstream release. + - applies debian patches fix_custom_sampling_input_2b3ed61.patch + and fix_test_NAN_input_iv_7806757.diff + - deprecates debian patch use_local_objects.inv.patch + - Build-Depends: python3-pybind11 (>= 2.4.0) + - Build-Depends-Indep: python3-sphinx (>= 2~) + * provide PYTHONPATH as env variable with make doc + * Standards-Version: 4.5.0 + + -- Drew Parsons Fri, 17 Apr 2020 01:11:18 +0800 + +scipy (1.3.3-3) unstable; urgency=medium + + * Team upload. + * skip sparsetools.TestInt32Overflow tests test_bsr_1_block and + test_bsr_n_block (they regularly timeout) + + -- Drew Parsons Fri, 06 Dec 2019 10:22:05 +0800 + +scipy (1.3.3-2) unstable; urgency=medium + + * Team upload. + * add debian patches to avoid internet connections when using docs + - css_font_OpenSans.patch adapts font settings from + https://fonts.googleapis.com/css?family=Open+Sans + (Apache 2.0 licence) + - css_font_local.patch uses local font_OpenSans.css from + css_font_OpenSans.patch + - python-scipy-doc Depends: fonts-open-sans + - Closes: #873433. + * debian patch fix_custom_sampling_input_2b3ed61.patch applies + upstream commit 2b3ed61 to fix syntax. Closes: #945093. + + -- Drew Parsons Thu, 05 Dec 2019 00:30:25 +0800 + +scipy (1.3.3-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * change source package name to scipy for python3-only, to + distinguish from python-scipy which supports python2. + * update Vcs salsa repo name to scipy (from python-scipy) + + -- Drew Parsons Wed, 27 Nov 2019 20:53:58 +0800 + +python-scipy (1.3.1-1exp3) experimental; urgency=medium + + * Team upload. + * update versioned Build-Depends: python3-numpy (>= 1:1.13.3) + and cython3 (>= 0.29.2) + * Patch fix_test_NAN_input_iv_7806757.diff applies upstream commit + 7806757 to fix tests on hppa, riscv64, sparc64. Closes: #934806. + + -- Drew Parsons Fri, 16 Aug 2019 13:20:27 +0800 + +python-scipy (1.3.1-1exp2) experimental; urgency=medium + + * Team upload. + * build binaries before building docs + + -- Drew Parsons Tue, 13 Aug 2019 18:45:38 +0800 + +python-scipy (1.3.1-1exp1) experimental; urgency=medium + + * Team upload. + * New upstream release. + - drops support for Python 2 (python-scipy is no longer provided) + - applies patches + matrix_API_614847c5.patch + matrix_API_filter_check_87e48c3c5.patch + matrix_API_more_e0cfa29e2.patch + fix_test_optim_canonical_constraint_2d7e7e8c.patch + * adjust skipping of spatial tests according to context of test + (openblas,atlas specify scipy.spatial) + + -- Drew Parsons Tue, 13 Aug 2019 15:04:07 +0800 + +python-scipy (1.2.2-8) unstable; urgency=medium + + * Team upload. + + [ Ondřej Nový ] + * Bump Standards-Version to 4.4.1. + + [ Drew Parsons ] + * only build docs for default python3. Closes: #942794. + - apply dh_auto_install to arch-dependent packages only + + -- Drew Parsons Tue, 19 Nov 2019 02:32:19 +0800 + +python-scipy (1.2.2-7) unstable; urgency=medium + + * Team upload. + * Patch fix_test_NAN_input_iv_7806757.diff applies upstream commit + 7806757 to fix tests on mipsel, hppa, riscv64, sparc64 + (taken from 1.3.1-1exp3) + + -- Drew Parsons Sun, 25 Aug 2019 20:37:32 +0800 + +python-scipy (1.2.2-6) unstable; urgency=medium + + * Team upload. + * atlas, openblas tests Depends: python3 + + -- Drew Parsons Sun, 25 Aug 2019 01:47:34 +0800 + +python-scipy (1.2.2-5) unstable; urgency=medium + + * Team upload. + * adjust skipping of sparse and spatial tests according to context + of test (openblas and atlas specify scipy.sparse, scipy.spatial) + * run atlas and openblas tests with python3 not python2 + + -- Drew Parsons Sat, 24 Aug 2019 11:42:02 +0800 + +python-scipy (1.2.2-4) unstable; urgency=medium + + * Team upload. + * debian patch Use-system-LBFGSB.patch: + run test_minimize_l_bfgs_maxls with rtol=1e-5 + + -- Drew Parsons Tue, 30 Jul 2019 09:28:55 +0800 + +python-scipy (1.2.2-3) unstable; urgency=medium + + * Team upload. + * run build-time tests over all versions of python3 + * Build-Depends: liblbfgsb-dev and add Debian patch + Use-system-LBFGSB.patch to use the system L-BFGS-B library (which + uses LAPACK rather than the scipy-bundled LINPACK) + Enables test_minimize_l_bfgs_maxls in scipy.optimize to succeed. + Thanks Gard Spreemann. Closes: #778635. + + -- Drew Parsons Tue, 30 Jul 2019 00:26:20 +0800 + +python-scipy (1.2.2-2) unstable; urgency=medium + + * Team upload. + * debhelper compatibility level 12 + - run configure build step through pybuild to get consistent + build directories + - set PYLIBPATH to pybuild build directory + * debian/rules: use AUTOPKGTEST_TMP instead of ADTTMP to run tests + * v1.2.2 fixes indexing in fftpack. Closes: #924396. + * drop ignore_DeprecationWarning_diff1.2.patch (already applied in + scipy 1.2) + * Register docs with doc-base. Closes: #846253. + * debian/tests/python3: skip tests of + scipy.spatial.tests.test__plotutils.TestPlotting + (see https://github.com/scipy/scipy/issues/9946) + + -- Drew Parsons Mon, 29 Jul 2019 18:43:34 +0800 + +python-scipy (1.2.2-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * configure debian/watch to grab tar.xz rather than tar.gz + (for smaller tarballs) + * debian/rules: build with dh --buildsystem=pybuild + * Standards-Version: 4.4.0 + + -- Drew Parsons Fri, 26 Jul 2019 15:22:36 +0800 + +python-scipy (1.2.1-1exp1) experimental; urgency=medium + + * Team upload. + * New upstream release. + + -- Drew Parsons Thu, 28 Feb 2019 11:16:38 +0800 + +python-scipy (1.2.0-1) experimental; urgency=medium + + * New upstream release + + -- Julian Taylor Tue, 15 Jan 2019 12:27:45 +0100 + +python-scipy (1.1.0-7) unstable; urgency=medium + + * Team upload. + * Patch fix_test_optim_canonical~onstraint_2d7e7e8c.patch applies + upstream patch 2d7e7e8 to fix occasional random failures in + test_canonical_constraint.test_concatenation. + + -- Drew Parsons Fri, 12 Apr 2019 00:46:35 +0800 + +python-scipy (1.1.0-6) unstable; urgency=medium + + * Team upload. + * skip sparsetools.TestInt32Overflow matvec tests on python3 also. + + -- Drew Parsons Thu, 11 Apr 2019 09:38:17 +0800 + +python-scipy (1.1.0-5) unstable; urgency=medium + + * Team upload. + * Skip sparsetools.TestInt32Overflow matvec tests on python2 + (MemoryError). Closes: #919929. + + -- Drew Parsons Wed, 10 Apr 2019 16:41:47 +0800 + +python-scipy (1.1.0-4) unstable; urgency=medium + + * Team upload. + * Replace patch ignore_DeprecationWarning_diff1.2.patch with + matrix_API_614847c5.patch + matrix_API_filter_check_87e48c3c5.patch + matrix_API_more_e0cfa29e2.patch + adapting the indicated upstream commits to scipy 1.1.0 + (use numpy.matmul instead of @ for matrix multiplication, since @ + is not available in python2) + Removes sources of matrix DeprecationWarnings. + Addresses: Bug#919929. + + -- Drew Parsons Thu, 14 Mar 2019 14:12:00 +0800 + +python-scipy (1.1.0-3) unstable; urgency=medium + + * Team upload. + * Debian patch ignore_DeprecationWarning_diff1.2.patch applies diff + of pytest.ini between scipy 1.1 and 1.2 to ignore + DeprecationWarnings from numpy 1.16. Addresses Bug#919929. + * Use default gfortran-8 on s390x. unroll-loops was fixed in + gcc-8 8.2.0-18. Closes: #906198, #915738. + + -- Drew Parsons Fri, 08 Mar 2019 00:31:29 +0800 + +python-scipy (1.1.0-2) unstable; urgency=medium + + * Team upload. + * Remove Alexandre Fayolle from the Uploaders list. Thanks for your + previous contributions! Closes: #833329 + * Use gfortran-7 on s390x to work around a regression causing the imexam + test suite to fail when scipy is built with gfortran 8. Addresses: #906198 + * Add some Multi-Arch markers suggested by the m-a hinter. + + -- Mattia Rizzolo Sun, 04 Nov 2018 19:01:19 +0100 + +python-scipy (1.1.0-1) unstable; urgency=medium + + [ Julian Taylor ] + * New upstream release + Closes: #896060, #901380, #896635 + * update to debian/compat 9 and standard 4.1.4 + + [ Ondřej Nový ] + * d/control: Set Vcs-* to salsa.debian.org + * d/copyright: Use https protocol in Format field + * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP + * d/control: Remove ancient X-Python-Version field + * d/control: Remove ancient X-Python3-Version field + + -- Julian Taylor Sun, 01 Jul 2018 14:34:28 +0200 + +python-scipy (0.19.1-2) unstable; urgency=medium + + * Replace python-imaging recomments with python-pil (Closes: #866468) + * build documentation with python3-sphinx + * Fix atlas and openblas tests for openblas and atlas multiarch locations + Thanks to Matthias Klose for the patch (Closes: #876007) + * Depend on python-all-dbg for autopkgtests + Thanks to Michael Hudson-Doyle for the patch (Closes: #864699) + * bump standard to 4.1.3 + - debian/control: replace priority extra with optional + + -- Julian Taylor Sun, 07 Jan 2018 14:38:57 +0100 + +python-scipy (0.19.1-1) unstable; urgency=medium + + * New upstream release + * weave has been removed, drop its patch blitz++.patch + * drop cap-ld-precision.patch, fixed in numpy + + -- Julian Taylor Wed, 06 Sep 2017 18:07:38 +0200 + +python-scipy (0.18.1-2.1) unstable; urgency=high + + * Non-maintainer upload. + * No-change rebuild to build without _PyFPE symbols. + + -- Matthias Klose Tue, 05 Sep 2017 16:36:34 +0200 + +python-scipy (0.18.1-2) unstable; urgency=medium + + * fix dbg package import (Closes: #840264) + * add dbg package import adt tests + + -- Julian Taylor Fri, 21 Oct 2016 16:10:57 +0200 + +python-scipy (0.18.1-1) unstable; urgency=medium + + [ Julian Taylor ] + * New upstream bugfix release + + [ Sebastian Humenda ] + * make the build-indep target execute the build target to allow the usage of + the module for generating the documentation (Closes: #806867) + + -- Julian Taylor Sun, 25 Sep 2016 11:25:21 +0200 + +python-scipy (0.18.0-1) unstable; urgency=medium + + * New upstream release + * add python-setuptools to build depends + + -- Julian Taylor Sat, 30 Jul 2016 19:05:17 +0200 + +python-scipy (0.17.1-1) unstable; urgency=medium + + [ Julian Taylor ] + * New upstream bugfix release + * enable parallel build based on DEB_BUILD_OPTIONS + * bump standard to 3.9.7, no changes required + + [ Ondřej Nový ] + * Fixed VCS URL (https) + + -- Julian Taylor Mon, 23 May 2016 20:02:14 +0200 + +python-scipy (0.17.0-1) unstable; urgency=medium + + * New upstream release + + -- Julian Taylor Sat, 23 Jan 2016 20:39:44 +0100 + +python-scipy (0.16.1-1) unstable; urgency=medium + + * New upstream bugfix release + * update adt-tests to new layout + * remove duplicate files in -doc package + + -- Julian Taylor Sun, 25 Oct 2015 11:51:34 +0100 + +python-scipy (0.16.0-2) unstable; urgency=medium + + [ Julian Taylor ] + * bump cython build-depend to required 0.22 + + [ Jean-Christophe Jaskula ] + * fix build of documentation in arch only builds + + -- Julian Taylor Mon, 24 Aug 2015 09:51:10 +0200 + +python-scipy (0.16.0-1) unstable; urgency=medium + + [ Varun Hiremath ] + * New upstream release + * Bump Standards-Version to 3.9.6 + * Remove upstream applied patches: + - fitpack-alias.patch + - fix-undefined-behavior-in-alngam.patch + - relax-bounds-of-interpolate-test.patch + * d/rules: minor build fixes + + [ Jean-Christophe Jaskula ] + * Pointed debian/watch to github.com (cleaner sources) + * d/control: + - Added dh_python to B-d + - Removed unnecessary XS-Testsuite field + * Linking to local javascript libraries + - use_local_mathjax.patch + * Using local intersphinx objects + - use_local_objects.patch + * Cleaned debian/copyright + + -- Varun Hiremath Sun, 23 Aug 2015 23:01:46 -0400 + +python-scipy (0.14.1-1) unstable; urgency=medium + + * New upstream bugfix release + remove upstream applied patches: + - numpy-version-fix.patch + - numpy_ufunc.patch + - put-_gen-classes-back.patch + - put-back-veccdf.patch + - sparse-fix-omitted-types.patch + - sparse-superlu-fix.patch + * add python-gmpy2 dependency to autopkgtest to speed up mpmath tests + * add suggest on python-scipy-doc (Closes: #760522) + * debian/copyright: add bootstrap Apache 2.0 license + + -- Julian Taylor Fri, 05 Sep 2014 18:56:54 +0200 + +python-scipy (0.14.0-2) unstable; urgency=medium + + * add patches to fix test failures on i386 and mips: + - fix-undefined-behavior-in-alngam.patch (Closes: #756905) + - relax-bounds-of-interpolate-test.patch + * add patches from 0.14.x maintenance branch: + - sparse-superlu-fix.patch: fix crash + - sparse-fix-omitted-types.patch: fix crash + - put-back-veccdf.patch: restore stats api + - put-_gen-classes-back.patch: restore stats api + - numpy-version-fix.patch: fix wrong version check + - numpy_ufunc.patch: compatibility with numpy 1.9 + + -- Julian Taylor Wed, 27 Aug 2014 14:40:24 +0200 + +python-scipy (0.14.0-1) unstable; urgency=low + + [ Denis Laxalde ] + * Add the documentation binary package (Closes: #600547). + + [ Julian Taylor ] + * New upstream release + * drop not swig build dependency and reswig.patch, not needed anymore + * use embedded six, current unstable version not compatible + * fitpack-alias.patch: fix wrong aliasing in interpolate.splder + + -- Julian Taylor Fri, 23 May 2014 10:37:06 +0200 + +python-scipy (0.13.3-2) unstable; urgency=medium + + * upload to unstable + * add build-essential dependency to adt tests, needed for weave + + -- Julian Taylor Mon, 31 Mar 2014 23:32:16 +0200 + +python-scipy (0.13.3-1) experimental; urgency=low + + * New upstream release + * ignore TestSplder.test_kink adt failure, probably numerical error + + -- Julian Taylor Tue, 04 Feb 2014 19:48:01 +0100 + +python-scipy (0.13.2-1) experimental; urgency=low + + * New upstream release + * update X-Python-Version to >= 2.6 + * require python3-numpy (>= 1:1.7.2) for hashing fixes + * bump standard to 3.9.5, no changes required + * bump cython dependency to >= 0.19 to avoid leaks with fused types + + -- Julian Taylor Mon, 21 Oct 2013 18:59:29 +0200 + +python-scipy (0.13.0~b1-1) experimental; urgency=low + + [ Julian Taylor ] + * New upstream beta release + * require python-six >= 1.3.0, scipy ships a slightly patched 1.2.0, + version 1.3.0 includes the patches + + [ Varun Hiremath ] + * Fix debian/watch file + + -- Julian Taylor Sat, 07 Sep 2013 18:06:00 +0200 + +python-scipy (0.12.0-3) unstable; urgency=high + + * temporary-directory-usage.patch: + fix insecure temporary directory usage of weave module. (Closes: #726093) + Thanks to Tomas Tomecek for the patch. + + -- Julian Taylor Tue, 22 Oct 2013 23:44:47 +0200 + +python-scipy (0.12.0-2) unstable; urgency=low + + * ignore testsuite failures to not block python3.3 transition + only masks issues on hardly used ports + + -- Julian Taylor Mon, 01 Jul 2013 20:09:40 +0200 + +python-scipy (0.12.0-1) unstable; urgency=low + + [ Julian Taylor ] + * New upstream release, no repackaging required anymore + - Closes: #707315 + - Closes: #691254 + * also fail on test failures not only test errors + * skip failing test_mio on big endian python3 >= 3.2 + * print skipped tests and unused skips in autopkgtest scripts + * add-swig-filetypes.patch, reswig.patch: + reswigging from setup.py, dropped from debian/rules + * cython-wraparound.patch: fix issue in ckdtree.pyx + * qhull-lfs.patch: enable large file support + * cap-ld-precision.patch: fix test failures due to broken np.finfo on ppc + * refresh patches and remove upstream applied: + - BUG-fix-dependency-on-dict-ordering-in-test.patch + - BUG-remove-inline-statement-rejected-by-cython.patch + - fix-dbg-crash.patch + - fix-f2py-dependencies.patch + - fix-test_basic.py-cephes_vs_amos_mass_te.patch + - python3.3-incdir.diff + * Bump standard to 3.9.4, no changes required + * drop unused sharutils build depend and python-profiler from suggests + * use system python-six and python-decorator instead of embedded copies + * don't install setup.py and generator scripts + + [ Jakub Wilk ] + * Use canonical URIs for Vcs-* fields. + * Remove DM-Upload-Allowed; it's no longer used by the archive + software. + + -- Julian Taylor Thu, 09 May 2013 11:35:07 +0200 + +python-scipy (0.11.0+dfsg1-1) experimental; urgency=low + + * New upstream release + * bump required cython to >= 0.17 + * refresh patches: + - drop upstream applied: + - interpnd-generator.patch + - dtype.diff, + - kolmogorov.diff, + - up_minpack_ints.diff + - kde.diff + - new patches for python3.3 compatibility and test fixing: + - BUG-remove-inline-statement-rejected-by-cython.patch + - BUG-fix-dependency-on-dict-ordering-in-test.patch + - fix-test_basic.py-cephes_vs_amos_mass_te.patch + - python3.3-incdir.diff + - fix-dbg-crash.patch + - fix-f2py-dependencies.patch + * add autopkgtests + * run fast tests during build + * update debian/copyright to dep5 + + -- Julian Taylor Fri, 25 Jan 2013 23:54:43 +0100 + +python-scipy (0.10.1+dfsg2-1) unstable; urgency=low + + * add missing cython and swig sources from git tag (Closes: #589731) + * generate cython c files, requires python-mako and cython build depends + * ensure that all swig files are regenerated + * update debian/orig-tar.sh appropriately + * interpnd-generator.patch: fix the interpnd.pyx generation + + -- Julian Taylor Thu, 29 Nov 2012 21:56:31 +0100 + +python-scipy (0.10.1+dfsg1-4) unstable; urgency=low + + [ Julian Taylor ] + * use dh_numpy3 + - build depend on python3-numpy >= 1:1.6.2~rc1-1~ + * debian/rules: remove reference to pyshared + + [ Varun Hiremath ] + * debian/patches: + - add dtype.diff (Closes: #682030) + - add up_minpack_ints.diff, thanks to Yaroslav Halchenko (Closes: #681270) + + -- Varun Hiremath Sat, 21 Jul 2012 17:23:02 -0400 + +python-scipy (0.10.1+dfsg1-3) unstable; urgency=low + + * wrap-and-sort debian folder + * add python3 packages (Closes: #664785) + * debian/rules: + - split the build into build and install step + - use .install files instead of direct setup.py install + + -- Julian Taylor Fri, 20 Apr 2012 21:59:33 +0200 + +python-scipy (0.10.1+dfsg1-2) unstable; urgency=low + + * debian/control: + - Recommends: python-imaging (Closes: #648036) + - Recommends: python-dev (Closes: #651760) + * debian/patches: + - Add kolmogorov.diff, thanks to Yaroslav Halchenko (Closes: #653948) + - Add kde.diff (Closes: #648034) + + -- Varun Hiremath Fri, 20 Apr 2012 02:37:28 -0400 + +python-scipy (0.10.1+dfsg1-1) unstable; urgency=low + + * New upstream release (Closes: #653262) + * Update debian/orig-tar.sh script + * debian/patches + - updated restore_sys_argv.patch + - removed string_exception.patch, not needed + + -- Varun Hiremath Thu, 19 Apr 2012 16:14:28 -0400 + +python-scipy (0.9.0+dfsg1-1) unstable; urgency=low + + * New upstream release (Closes: #614407, #579041, #569008) + * Convert to dh_python2 (Closes: #617028) + + -- Varun Hiremath Wed, 06 Apr 2011 21:26:25 -0400 + +python-scipy (0.8.0+dfsg1-1) experimental; urgency=low + + [ Varun Hiremath ] + * New upstream release + * Build-Depend on python-numpy-* (>= 1:1.5.1) + * Update all the debian/patches/* + + [ Luca Falavigna ] + * Remove myself from Uploaders. + + [ Stefano Rivera ] + * debian/patches/blitz++.patch: Fix scipy.weave.inline compilations. Thanks + to Sameer Morar (Closes: #598520, LP: #302649) + + -- Varun Hiremath Fri, 24 Dec 2010 08:20:54 -0500 + +python-scipy (0.7.2+dfsg1-1) unstable; urgency=low + + * Release with a new source tarball with missing cython source files + * debian/rules: Add get-orig-source target + * Add debian/README.source explaining the repackaging of source tarball + * Add debian/orig-tar.sh to add missing cython source files to the + source tarball (Closes: #589731) + * debian/rules: add call to dh_numpy to generate stricter versioned + depends on python-numpy (Closes: #590763) + * Bump Standards-Version to 3.9.1 + * Add myself to Uploaders + + -- Varun Hiremath Fri, 30 Jul 2010 18:29:18 -0400 + +python-scipy (0.7.2-2) unstable; urgency=low + + * debian/patches/string_exceptions.patch: + - Do not use string exceptions, not supported by Python 2.6. + + -- Luca Falavigna Mon, 07 Jun 2010 14:52:40 +0200 + +python-scipy (0.7.2-1) unstable; urgency=low + + * New upstream release. + * Switch to debhelper 7. + * Provide python-scipy-dbg package (Closes: #525329). + * Add myself to Uploaders. + + -- Luca Falavigna Sun, 25 Apr 2010 17:21:21 +0200 + +python-scipy (0.7.1-1) unstable; urgency=low + + [ Sandro Tosi ] + * debian/control + - removed Marco Presi from uploaders: thanks for your work! + + [ Luca Falavigna ] + * New upstream release. + - Fix KeyError exception in sparse module (Closes: #525109). + - Fix SyntaxWarning exception with python2.6 (Closes: #567148). + * debian/patches/restore_sys_argv.patch: + - Restore sys.argv in case of exception (Closes: #500814). + * debian/control: + - Depend on ${misc:Depends}. + - Drop useless Conflicts/Replaces fields. + - Bump Standards-Version to 3.8.4, no changes required. + * debian/README.Debian: + - Remove obsolete information. + * debian/pycompat: + - Remove, useless. + + -- Debian Python Modules Team Mon, 05 Apr 2010 17:10:56 +0200 + +python-scipy (0.7.0-2) unstable; urgency=medium + + [ Julien Lavergne ] + * debian/copyright : Update Copyright holders (Closes: #524131) + * From Ubuntu, prepare for the future python transition: + - debian/rules: + + Include /usr/share/python/python.mk + + Add $(py_setup_install_args) to setup.py install + + Replace site-packages by *-packages + - debian/control: + + Bump build-depends to python-all-dev (>= 2.5.4-1~) + + [ Luca Falavigna ] + * Remove patches, they are no longer needed and also causing FTBFS with + recent python-numpy. Remove quilt machinery too (Closes: #545606). + * debian/copyright: add missing copyright holder (Closes: #540504). + * debian/control: bump Standards-Version to 3.8.3, no changes required. + * debian/watch: fix regex to report correct upstream stable version. + + -- Debian Python Modules Team Tue, 15 Sep 2009 23:30:12 +0200 + +python-scipy (0.7.0-1) unstable; urgency=low + + [ Ondrej Certik ] + * Beta version + * debian/patches: scipy_include_fix.diff and segfault.patch removed (applied + upstream), swig_ftbfs.dpatch and umfpack.dpatch updated to new paths + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + [ David Cournapeau ] + * New upstream version + * Remove obsolete dependencies on libfftw3-dev, libx11-dev and libnetcdf-dev + * Update version for numpy dependency: scipy requires version >= 1.2.0 + * Set ATLAS to None when building scipy to avoid depending on ATLAS API, and + only use BLAS/LAPACK public API, even when ATLAS is installed on the build + machine + + -- Ondrej Certik Sun, 08 Mar 2009 18:47:03 -0700 + +python-scipy (0.6.0-12) unstable; urgency=low + + * The description updated to match the current SciPy (Closes: #489149). + * Standards-Version bumped to 3.8.0 (no action needed) + * Build-Depends: netcdf-dev changed to libnetcdf-dev + + -- Ondrej Certik Mon, 16 Jun 2008 22:58:01 +0200 + +python-scipy (0.6.0-11.1) unstable; urgency=low + + * Non-maintainer upload. + * Change description to refer to python-numpy package instead of Numeric + to avoid confusion with python-numeric package. + + -- Chris AtLee Wed, 23 Apr 2008 15:45:22 -0400 + +python-scipy (0.6.0-11) unstable; urgency=low + + * Fixes FTBFS, by unexporting LDFLAGS and setting FFLAGS directly, the same + hack as in numpy (Closes: #475990) + + -- Ondrej Certik Mon, 14 Apr 2008 14:53:57 +0200 + +python-scipy (0.6.0-10) unstable; urgency=low + + [Sandro Tosi] + * Fixes a dangling symlink (Closes: #471825) + + -- Ondrej Certik Thu, 20 Mar 2008 14:50:31 +0100 + +python-scipy (0.6.0-9) unstable; urgency=medium + + * Uses correct pycentral locations (Closes: #471549) + + -- Ondrej Certik Wed, 19 Mar 2008 21:41:12 +0100 + +python-scipy (0.6.0-8) unstable; urgency=low + + * Build depend on libsuitesparse (>= 3.1.0-3) + * Build depends fixed to use gfortran based lapack and blas (Closes: #466868) + + -- Ondrej Certik Sat, 23 Feb 2008 01:21:51 +0100 + +python-scipy (0.6.0-7) unstable; urgency=low + + * Bumped the version, because python-numpy conflicts with python-scipy (<= + 0.6.0-6). This compiles against the old suitesparse, but it makes the + package installable and working again. + + -- Ondrej Certik Thu, 21 Feb 2008 15:38:00 +0100 + +python-scipy (0.6.0-6) UNRELEASED; urgency=low + + * debian/control + - uniforming both Vcs-Svn and Vcs-Browser fields + + -- Sandro Tosi Thu, 03 Jan 2008 12:18:46 +0100 + +python-scipy (0.6.0-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Changed `fftw3-dev' to `libfftw3-dev' to get rid of that dependency + on a virtual package. + * Fix FTBFS with relation to swig with a patch provided by + Kumar Appaiah (Closes: #456892) + + -- Philipp Kern Mon, 31 Dec 2007 13:45:10 +0100 + +python-scipy (0.6.0-5) unstable; urgency=low + + * DM-Upload-Allowed changed to XS-DM-Upload-Allowed + * standards-version made uptodate (3.7.3) + * don't create an empty dir usr/share/doc/python-scipy/weave/ + + -- Ondrej Certik Tue, 04 Dec 2007 22:27:48 +0100 + +python-scipy (0.6.0-4) unstable; urgency=low + + * Use quilt (much eaiser to use) instead of dpatch + * Paul's patch added (Closes: #452991) + * Add DM-Upload-Allowed: yes + + -- Ondrej Certik Mon, 03 Dec 2007 15:33:24 +0100 + +python-scipy (0.6.0-3) unstable; urgency=low + + [ Piotr Ożarowski ] + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + + [ Ondrej Certik ] + * Depending on libsuitesparse-dev directly instead of libufsparse-dev + (Closes: #445771) + + -- Ondrej Certik Mon, 15 Oct 2007 20:09:07 +0200 + +python-scipy (0.6.0-2) unstable; urgency=medium + + * Replaced fftw-dev with fftw3-dev in Build-Depends (closes: #444124) + + -- Piotr Ożarowski Wed, 26 Sep 2007 23:52:25 +0200 + +python-scipy (0.6.0-1) unstable; urgency=low + + [Ondřej Čertík] + * New upstream release + * watch file added + + [Piotr Ożarowski] + * Homepage field added + + -- Ondrej Certik Sun, 23 Sep 2007 16:14:35 +0200 + +python-scipy (0.5.2.1-2) unstable; urgency=low + + * Got rid of all lintian and linda warnings (removed "SciPy is an open + source library of scientific tools for Python" (first sentence) from the + long description) + * debian/control: Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source + section + + -- Ondrej Certik Fri, 31 Aug 2007 04:29:55 +0200 + +python-scipy (0.5.2.1-1) unstable; urgency=low + + * Adopting the package + * New upstream release (Closes: #426012) + * Removed unnecessary patches + * Removing LICENSE.txt, since it is unnecessary (and it fixes a lintian + warning) + + -- Ondrej Certik Tue, 28 Aug 2007 12:03:29 +0200 + +python-scipy (0.5.2-9) experimental; urgency=low + + * Added Build-Dep on python-numpy (Closes: 422389) + * Made build independent of the python version (Closes: 414626) + * Added a new patch on sandbox/montecarlo to fix py2.5 compatibility + + -- Marco Presi (Zufus) Fri, 18 May 2007 11:12:31 +0100 + +python-scipy (0.5.2-8) experimental; urgency=low + + * Fixed compatibility with numpy >= 1.0.2, by importing parts from upstream svn + + -- Marco Presi (Zufus) Sat, 21 Apr 2007 22:46:29 +0100 + +python-scipy (0.5.2-7+b1) unstable; urgency=low + + * Binary-only non-maintainer upload for i386; no source changes. + * Rebuild to fix binaries built against experimental + + -- Debian/i386 Build Daemon Tue, 27 Feb 2007 02:01:45 -0600 + +python-scipy (0.5.2-7) unstable; urgency=low + + * Added 'm86k' among the archs on which xplt should not build. + + -- Marco Presi (Zufus) Sat, 24 Feb 2007 13:40:42 +0000 + +python-scipy (0.5.2-6) unstable; urgency=low + + * Merged patch for image viwer from upstream svn + + -- Marco Presi (Zufus) Sat, 24 Feb 2007 01:39:18 +0000 + +python-scipy (0.5.2-5) experimental; urgency=low + + * Added a fix in sandbox/montecarlo tests that prevented installation + + -- Marco Presi (Zufus) Thu, 22 Feb 2007 01:33:18 +0000 + +python-scipy (0.5.2-4) experimental; urgency=low + + * Incorporated code from setup_without_xplt.py into patches/sandbox.dpatch, in order to + build sandbox/xplt only on supported archs (Closes: #407869). + * Added libx11-dev among Build-Deps to support xplt. + + -- Marco Presi (Zufus) Thu, 22 Feb 2007 00:33:51 +0000 + +python-scipy (0.5.2-3) experimental; urgency=low + + * Added netcdfg-dev Build-Deps (completed sandbox inclusion) + + -- Marco Presi (Zufus) Tue, 20 Feb 2007 23:28:43 +0000 + +python-scipy (0.5.2-2) experimental; urgency=low + + * Enabled sandbox modules. To this aim randomkit.[ch] are included from + pyhon-numpy sources. See debian/patches/sandbox.dpatch + (Closes: #407869). + + -- Marco Presi (Zufus) Mon, 19 Feb 2007 19:26:22 +0000 + +python-scipy (0.5.2-1) unstable; urgency=low + + * Fixed scipy.signal segfault (closes: #410757) + * Replaced hard-coded xv command with "see" (from mime-support). + Additionally, the environment variable SCIPY_PIL_IMAGE_VIEWER can be set. + (Closes: #395198) + + -- Marco Presi (Zufus) Sun, 18 Feb 2007 16:22:03 +0000 + +python-scipy (0.5.2-0.1) unstable; urgency=medium + + * Remove build dependency on python-numpy-dev. + * python-scipy: Depend on python-numpy instead of python-numpy-dev. + * Package builds on other archs than i386. Closes: #402783. + + -- Matthias Klose Sun, 7 Jan 2007 14:12:12 +0100 + +python-scipy (0.5.2-0) experimental; urgency=low + + * New upstream version (compatible with python-numpy-1.0.x). + * (Build-)depend on python-numpy (>= 1:1.0.1). + * Remove redundant (build-)dependencies. + * weave examples and docs are removed from the upstream tarball. + + -- Matthias Klose Wed, 3 Jan 2007 22:37:49 +0100 + +python-scipy (0.5.1-3) unstable; urgency=low + + * Moved weave/examples into /usr/share/doc/python-scipy/ + and removed *.so files that prevented building on non x86 archs + (closes: #397241) + + -- Marco Presi (Zufus) Sat, 16 Sep 2006 18:46:56 +0200 + +python-scipy (0.5.1-2) unstable; urgency=low + + * Added swig and libufsparse-dev among Build-deps + + -- Marco Presi (Zufus) Mon, 11 Sep 2006 22:05:45 +0200 + +python-scipy (0.5.1-1) unstable; urgency=low + + * New upstream release + + -- Marco Presi (Zufus) Thu, 7 Sep 2006 00:32:07 +0200 + +python-scipy (0.5.0-3) unstable; urgency=low + + * Re-compiled to reflect C-API changes in numpy. + + -- Marco Presi (Zufus) Fri, 18 Aug 2006 01:06:06 +0200 + +python-scipy (0.5.0-2) unstable; urgency=low + + * Re-added fftw-dev among build-deps. + + -- Marco Presi (Zufus) Tue, 8 Aug 2006 17:34:44 -0400 + +python-scipy (0.5.0-1) unstable; urgency=low + + * New upstream release + * Removed debian/patches/python2.3.dpatch now included in upstream release + + -- Marco Presi (Zufus) Sun, 30 Jul 2006 00:33:21 +0200 + +python-scipy (0.4.9-2) unstable; urgency=low + + * Build against new release of python-numpy. + + -- José Fonseca Wed, 05 Jul 2006 18:06:41 +0100 + +python-scipy (0.4.9-1) unstable; urgency=low + + * New upstream version. + + -- José Fonseca Tue, 04 Jul 2006 16:11:01 +0100 + +python-scipy (0.3.2-9) unstable; urgency=low + + * Updated to new python policy (closes: #373352) + * Updated standards to 3.7.2 + + -- Alexandre Fayolle Thu, 15 Jun 2006 17:10:49 +0200 + +python-scipy (0.3.2-8) unstable; urgency=low + + * Changed dependency on libwxgtk2.4-1-python to python-wxgtk2.4 (closes: #333795) + * Added cow progress bar fix by Glen W. Mabey (closes: #322796) + + -- Alexandre Fayolle Tue, 8 Nov 2005 11:56:51 +0100 + +python-scipy (0.3.2-7) unstable; urgency=low + + * Depend on libwxgtk2.4-1-python due to new C++ ABI. + * Do not depend on obsolete blas-dev (Closes: #320441) + * Drop the python2.2 version due to python2.2-numeric removal. + * Applied Andreas Jochens' patch fixing gcc4.0 storage class + error (Closes: #302598) + + -- José Fonseca Sun, 31 Jul 2005 11:11:42 +0100 + +python-scipy (0.3.2-6) unstable; urgency=low + + * Added a Suggests: python2.X-profiler in debian/control, made the + import of pstats optional by patching stats/__init__.py + (Closes: #296796) + + -- Alexandre Fayolle Fri, 11 Mar 2005 10:54:35 +0100 + +python-scipy (0.3.2-5) unstable; urgency=low + + * Applied Adam Conrad's patch to allow build on m68k (Closes: #292919) + * Applied Andreas Jochens' patch fixing gcc4.0 incompatibility and + syntax error in debian/control (Closes: #288181) + + -- Alexandre Fayolle Thu, 17 Feb 2005 14:49:03 +0100 + +python-scipy (0.3.2-4) unstable; urgency=low + + * Build for python 2.4. + + -- José Fonseca Mon, 24 Jan 2005 12:25:16 +0000 + +python-scipy (0.3.2-3) unstable; urgency=low + + * fixed build dependencies on arm (Closes: #277897) + + -- Alexandre Fayolle Sat, 23 Oct 2004 11:28:51 +0200 + +python-scipy (0.3.2-2) unstable; urgency=low + + * Updated package description + * removed scipy.xplt on hppa, s390, ia64, mips, mipsel (Closes: #277485) + * Added note about the missing module in README.Debian + + -- Alexandre Fayolle Fri, 22 Oct 2004 15:05:00 +0200 + +python-scipy (0.3.2-1) unstable; urgency=low + + * New version. + + -- José Fonseca Mon, 18 Oct 2004 16:28:16 +0100 + +python-scipy (0.3.0+266.4239-1) unstable; urgency=low + + * Updated to release. + * Recommends c++-compiler. + * Dropped python2.1 support. + * Official package (closes: #126037). + * Added Alexandre Fayolle and Marco Presi as uploaders + * Added missing build dependencies + + -- Alexandre Fayolle Mon, 13 Sep 2004 23:04:34 +0200 + +python-scipy (0.2.0+cvs20031002-1) unstable; urgency=low + + * Moved scipy_core into a seperate package. + * Default to python-2.3. + + -- José Fonseca Thu, 02 Oct 2003 13:31:30 +0100 + +python-scipy (0.2.0+alpha144.4350-1) unstable; urgency=low + + * Initial Release. + + -- José Fonseca Tue, 01 Jul 2003 13:35:03 +0100 diff --git a/control b/control new file mode 100644 index 00000000..32c392a8 --- /dev/null +++ b/control @@ -0,0 +1,103 @@ +Source: scipy +Section: python +Priority: optional +Maintainer: Debian Python Team +Uploaders: Ondrej Certik , + David Cournapeau , + Varun Hiremath +Build-Depends: cython3 (>= 0.29.18), + debhelper-compat (= 13), + dh-python, + gfortran, + libblas-dev, + liblapack-dev, + liblbfgsb-dev, + libsuitesparse-dev (>= 3.1.0-3), + python3-all-dbg, + python3-all-dev, + python3-decorator, + python3-numpy (>= 1:1.14.5), + python3-numpy-dbg, + python3-pybind11 (>= 2.4.3), + python3-pytest, + python3-setuptools +Build-Depends-Indep: dvipng, + python3-doc, + python3-docutils, + python3-matplotlib, + python3-numpydoc, + python3-sphinx (>= 2~), + rdfind, + symlinks, + texlive-latex-base, + texlive-latex-extra +Standards-Version: 4.5.1 +Homepage: http://www.scipy.org/ +Vcs-Git: https://salsa.debian.org/python-team/packages/scipy.git +Vcs-Browser: https://salsa.debian.org/python-team/packages/scipy + +Package: python3-scipy +Architecture: any +Depends: python3-decorator, + python3-numpy (>= 1:1.7.2), + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Recommends: g++ | c++-compiler, python3-pil +Suggests: python-scipy-doc +Description: scientific tools for Python 3 + SciPy supplements the popular NumPy module (python-numpy package), gathering a + variety of high level science and engineering modules together as a single + package. + . + SciPy is a set of Open Source scientific and numeric tools for Python. It + currently supports special functions, integration, ordinary differential + equation (ODE) solvers, gradient optimization, genetic algorithms, parallel + programming tools, an expression-to-C++ compiler for fast execution, and + others. + +Package: python3-scipy-dbg +Section: debug +Architecture: any +Multi-Arch: same +Depends: python3-dbg, + python3-numpy-dbg (>= 1:1.7.2), + python3-scipy (= ${binary:Version}), + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Description: scientific tools for Python 3 - debugging symbols + SciPy supplements the popular NumPy module (python-numpy package), gathering a + variety of high level science and engineering modules together as a single + package. + . + SciPy is a set of Open Source scientific and numeric tools for Python. It + currently supports special functions, integration, ordinary differential + equation (ODE) solvers, gradient optimization, genetic algorithms, parallel + programming tools, an expression-to-C++ compiler for fast execution, and + others. + . + This package provides debugging symbols for python3-scipy. + +Package: python-scipy-doc +Depends: fonts-open-sans, + libjs-jquery, + libjs-mathjax, + libjs-underscore, + ${misc:Depends}, + ${sphinxdoc:Depends} +Section: doc +Architecture: all +Multi-Arch: foreign +Description: scientific library for Python - documentation + SciPy supplements the popular NumPy module (python-numpy package), gathering a + variety of high level science and engineering modules together as a single + package. + . + SciPy is a set of Open Source scientific and numeric tools for Python. It + currently supports special functions, integration, ordinary differential + equation (ODE) solvers, gradient optimization, genetic algorithms, parallel + programming tools, an expression-to-C++ compiler for fast execution, and + others. + . + This package contains documentation for the SciPy library. diff --git a/copyright b/copyright new file mode 100644 index 00000000..beeb2601 --- /dev/null +++ b/copyright @@ -0,0 +1,405 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: SciPy +Source: http://www.scipy.org/ + +Files: * +Copyright: 2003-2019 SciPy Developers + 1999-2005 Travis Oliphant + 2001-2002 Enthought, Inc. + 2002 Eric Jones + 2002 Patrick J. Miller + 2002-2003 Jochen Kuepper + 2002-2004 Pearu Peterson + 2002-2005 Jean-Sebastien Roy + 2003-2005 Peter J. Verveer + 2003-2006 Ed Schofield + 2003-2012 SciPy Developers. + 2004 David M. Cooke + 2006 Bart Vandereycken + 2006 BasSw + 2006 Johannes Loehnert + 2007 Andrew D Straw + 2007 John Travers, Robert Hetland + 2007-2008 Damian Eads + 2008 Tiziano Zito + Gary Strangman + 2010 Pauli Virtanen + 2010, 2011 Pim Schellart + 2009 Yosef Meller +License: BSD-3-clause +Comment: the files in scipy/io/tests/data/*.sav are IDL formatted test data files + and can be read with the functions in scipy/io/idl.py + they contain a EULA notice which is likely invalid and ignored by debian, see + also https://lists.debian.org/debian-legal/2014/06/msg00001.html + +Files: debian/patches/css_font_OpenSans.patch +Copyright: 2010-2011, Google Corporation. +License: Apache-2.0 +Comment: + Adapted from https://fonts.googleapis.com/css?family=Open+Sans + +Files: doc/scipy-sphinx-theme/_theme/scipy/static/less/* + doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/* + doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-* + doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-bootstrap.css +Copyright: Copyright 2012 Twitter, Inc +License: Apache-2.0 +Comment: Twitter Bootstrap v2.3.1 (and generated output CSS files) + +Files: doc/scipy-sphinx-theme/_theme/scipy/static/copybutton.js +Copyright: 2014 PSF (Python Software Foundation) +License: PSF-2 +Comment: File originates from the cpython source + found in Doc/tools/sphinxext/static/copybutton.js + +Files: doc/source/_static/scipy-mathjax/* +Copyright: 2009-2017 The MathJax Consortium +License: Apache-2.0 + +Files: doc/sphinxext/* doc/sphinxext/numpydoc/* +Copyright: 2008 Stefan van der Walt , + Pauli Virtanen +License: BSD-2-clause + +Files: benchmarks/benchmarks/go_benchmark_functions/*.py +Copyright: 2013 Andrea Gavana +License: expat +Comment: Functions for testing global optimizers, + forked from the AMPGO project, https://code.google.com/archive/p/ampgo + +Files: scipy/fft/_pocketfft/pocketfft.cxx +Copyright: 2010-2019 Max-Planck-Society, Martin Reinecke + 2019 Peter Bell +License: BSD-3-clause + +Files: scipy/fft/_pocketfft/pocketfft_hdronly.h +Copyright: 2010-2019 Max-Planck-Society, Martin Reinecke + 2019 Peter Bell + 2003,2007-2014 Matteo Frigo, Massachusetts Institute of Technology +License: BSD-3-clause + +Files: scipy/linalg/src/id_dist/* +Copyright: 2014, P.-G. Martinsson, V. Rokhlin, Y. Shkolnisky, M. Tygert +License: BSD-3-clause + +Files: scipy/misc/ascent.dat +Copyright: public-domain +License: public-domain + No permission whatsoever is needed to copy or use public domain works. Public + domain material is available for anyone to use for any purpose, private and + commercial. Public domain works can serve as the foundation for new creative + works. Public domain works can also be copied and distributed without any + permission or paying royalties + +Files: scipy/ndimage/* +Copyright: 2003-2005, Peter J. Verveer +License: BSD-3-clause + +Files: scipy/optimize/_highs/* +Copyright: 2020 ERGO-Code +License: Expat + +Files: scipy/optimize/lbfgsb_src/*.f +Copyright: 2011 Ciyou Zhu, Richard Byrd, and Jorge Nocedal +License: BSD + The version included here (in lbfgsb.f) is 3.0 (released April 25, 2011). It was + written by Ciyou Zhu, Richard Byrd, and Jorge Nocedal . It + carries the following condition for use: + . + """ + This software is freely available, but we expect that all publications + describing work using this software, or all commercial products using it, + quote at least one of the references given below. This software is released + under the BSD License. + . + References + * R. H. Byrd, P. Lu and J. Nocedal. A Limited Memory Algorithm for Bound + Constrained Optimization, (1995), SIAM Journal on Scientific and + Statistical Computing, 16, 5, pp. 1190-1208. + * C. Zhu, R. H. Byrd and J. Nocedal. L-BFGS-B: Algorithm 778: L-BFGS-B, + FORTRAN routines for large scale bound constrained optimization (1997), + ACM Transactions on Mathematical Software, 23, 4, pp. 550 - 560. + * J.L. Morales and J. Nocedal. L-BFGS-B: Remark on Algorithm 778: L-BFGS-B, + FORTRAN routines for large scale bound constrained optimization (2011), + ACM Transactions on Mathematical Software, 38, 1. + """ + +Files: scipy/optimize/lbfgsb_src/lbfgsb.pyf +Copyright: 2004 David M. Cooke + 2012 Joonas Paalasmaa +License: Expat + +Files: scipy/sparse/csgraph/_matching.pyx +Copyright: 1987, A. Volgenant/Amsterdam School of Economics, + University of Amsterdam +License: BSD-3-clause + +Files: scipy/sparse/linalg/dsolve/SuperLU/* +Copyright: 2003, The Regents of the University of California, + through Lawrence Berkeley National Laboratory (subject to receipt + of any required approvals from U.S. Dept. of Energy) +License: BSD-3-clause + +Files: scipy/sparse/linalg/eigen/arpack/* +Copyright: 1996-2008 Rice University, + 1996-2008 D.C. Sorensen, R.B. Lehoucq, C. Yang, and K. Maschhoff + 2001-2011 Scilab Enterprises, Allan Cornet, Sylvestre Ledru + 2007 - Sébastien Fabbro (gentoo patch) + 2010 - Jordi Gutiérrez Hermoso (Octave patch) +License: BSD-3-clause + +Files: scipy/spatial/qhull_src/* +Copyright: 1993-2015, The Geometry Center (University of Minnesota) + 1993-2015, C.B. Barber +License: qhullbsd + This software includes Qhull from C.B. Barber and The Geometry Center. + Qhull is copyrighted as noted above. Qhull is free software and may + be obtained via http from www.qhull.org. It may be freely copied, modified, + and redistributed under the following conditions: + . + 1. All copyright notices must remain intact in all files. + . + 2. A copy of this text file must be distributed along with any copies + of Qhull that you redistribute; this includes copies that you have + modified, or copies of programs or other software products that + include Qhull. + . + 3. If you modify Qhull, you must include a notice giving the + name of the person performing the modification, the date of + modification, and the reason for such modification. + . + 4. When distributing modified versions of Qhull, or other software + products that include Qhull, you must provide notice that the original + source code may be obtained as noted above. + . + 5. There is no warranty or other guarantee of fitness for Qhull, it is + provided solely "as is". Bug reports or fixes may be sent to + qhull_bug@qhull.org; the authors may or may not act on them as + they desire. + +Files: scipy/special/cephes/* +Copyright: 1984, 1987, 1989, 2000 Stephen L. Moshier +License: BSD-3-clause + +Files: scipy/special/cephes/dd_*.c scipy/special/cephes/dd_*.h +Copyright: 2003-2009, The Regents of the University of California, + through Lawrence Berkeley National Laboratory (subject to receipt of + any required approvals from U.S. Dept. of Energy) +License: BSD-LBNL +Comment: This work was supported by the Director, Office of Science, Division + of Mathematical, Information, and Computational Sciences of the + U.S. Department of Energy under contract numbers DE-AC03-76SF00098 and + DE-AC02-05CH11231. + +Files: scipy/special/Faddeeva.cc scipy/special/Faddeeva.hh +Copyright: 2012 Massachusetts Institute of Technology +License: Expat + +Files: scipy/_lib/six.py +Copyright: 2010-2012 Benjamin Peterson +License: Expat + +Files: scipy/_lib/uarray/* +Copyright: 2018, Quansight-Labs +License: BSD-3-clause + +Files: scipy/_lib/decorator.py +Copyright: 2005-2015 Michele Simionato +License: bsdlike + All rights reserved. + . + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + Redistributions in bytecode form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); you may not + use this file except in compliance with the License. You may obtain a copy + of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + License for the specific language governing permissions and limitations + under the License. + . + On Debian systems, the full text of the Apache License, Version 2.0 + can be found in the file + `/usr/share/common-licenses/Apache-2.0'. + +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of Enthought nor the names of the SciPy Developers + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +License: BSD-LBNL + 1. Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met: + . + (1) Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + . + (2) Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + (3) Neither the name of the University of California, Lawrence + Berkeley National Laboratory, U.S. Dept. of Energy nor the names + of its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + . + 2. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + . + 3. You are under no obligation whatsoever to provide any bug fixes, + patches, or upgrades to the features, functionality or performance of + the source code ("Enhancements") to anyone; however, if you choose to + make your Enhancements available either publicly, or directly to + Lawrence Berkeley National Laboratory, without imposing a separate + written license agreement for such Enhancements, then you hereby grant + the following license: a non-exclusive, royalty-free perpetual license + to install, use, modify, prepare derivative works, incorporate into + other computer software, distribute, and sublicense such enhancements + or derivative works thereof, in binary and source code form. +Comment: modified BSD license + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in the + Software without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the + Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: PSF-2 + PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + . + 1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") accessing and + otherwise using this software ("Python") in source or binary form and + its associated documentation. + . + 2. Subject to the terms and conditions of this License Agreement, PSF hereby + grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, + analyze, test, perform and/or display publicly, prepare derivative works, + distribute, and otherwise use Python alone or in any derivative version, + provided, however, that PSF's License Agreement and PSF's notice of copyright, + i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, + 2011, 2012, 2013 Python Software Foundation; All Rights Reserved" are retained + in Python alone or in any derivative version prepared by Licensee. + . + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python. + . + 4. PSF is making Python available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + . + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + . + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + . + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF and + Licensee. This License Agreement does not grant permission to use PSF + trademarks or trade name in a trademark sense to endorse or promote + products or services of Licensee, or any third party. + . + 8. By copying, installing or otherwise using Python, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. diff --git a/patches/Use-system-LBFGSB.patch b/patches/Use-system-LBFGSB.patch new file mode 100644 index 00000000..248cf59a --- /dev/null +++ b/patches/Use-system-LBFGSB.patch @@ -0,0 +1,38 @@ +From: Gard Spreemann +Date: Tue, 2 Apr 2019 11:25:26 +0200 +Subject: Use system LBFGSB. + +--- + scipy/optimize/setup.py | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +Index: scipy/scipy/optimize/setup.py +=================================================================== +--- scipy.orig/scipy/optimize/setup.py 2021-01-06 16:20:52.593854525 +1100 ++++ scipy/scipy/optimize/setup.py 2021-01-06 16:20:52.589854530 +1100 +@@ -62,8 +62,10 @@ + pre_build_hook = None + + lapack = combine_dict(lapack, numpy_nodepr_api) ++ lapack.setdefault('libraries', []) ++ lapack['libraries'].append('lbfgsb') + +- sources = ['lbfgsb.pyf', 'lbfgsb.f', 'linpack.f', 'timer.f'] ++ sources = ['lbfgsb.pyf'] + ext = config.add_extension('_lbfgsb', + sources=[join('lbfgsb_src', x) + for x in sources], +Index: scipy/scipy/optimize/tests/test_optimize.py +=================================================================== +--- scipy.orig/scipy/optimize/tests/test_optimize.py 2021-01-06 16:20:52.593854525 +1100 ++++ scipy/scipy/optimize/tests/test_optimize.py 2021-01-06 16:20:52.589854530 +1100 +@@ -867,7 +867,8 @@ + sol = optimize.minimize(optimize.rosen, np.array([-1.2, 1.0]), + method='L-BFGS-B', jac=optimize.rosen_der, + options={'disp': False, 'maxls': 1}) +- assert_(not sol.success) ++ assert_(sol.success) ++ assert_allclose(sol.x,[1,1],rtol=1e-5) + + def test_minimize_l_bfgs_b_maxfun_interruption(self): + # gh-6162 diff --git a/patches/css_font_OpenSans.patch b/patches/css_font_OpenSans.patch new file mode 100644 index 00000000..b51c0d10 --- /dev/null +++ b/patches/css_font_OpenSans.patch @@ -0,0 +1,59 @@ +--- /dev/null ++++ b/doc/scipy-sphinx-theme/_theme/scipy/static/css/font_OpenSans.css +@@ -0,0 +1,56 @@ ++/* cyrillic-ext */ ++@font-face { ++ font-family: 'Open Sans'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Open Sans Regular'), local('OpenSans-Regular'), url(file:///usr/share/fonts/truetype/open-sans/OpenSans-Regular.ttf) format('truetype'); ++ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; ++} ++/* cyrillic */ ++@font-face { ++ font-family: 'Open Sans'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Open Sans Regular'), local('OpenSans-Regular'), url(file:///usr/share/fonts/truetype/open-sans/OpenSans-Regular.ttf) format('truetype'); ++ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; ++} ++/* greek-ext */ ++@font-face { ++ font-family: 'Open Sans'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Open Sans Regular'), local('OpenSans-Regular'), url(file:///usr/share/fonts/truetype/open-sans/OpenSans-Regular.ttf) format('truetype'); ++ unicode-range: U+1F00-1FFF; ++} ++/* greek */ ++@font-face { ++ font-family: 'Open Sans'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Open Sans Regular'), local('OpenSans-Regular'), url(file://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFVp0bbck.woff2) format('truetype'); ++ unicode-range: U+0370-03FF; ++} ++/* vietnamese */ ++@font-face { ++ font-family: 'Open Sans'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Open Sans Regular'), local('OpenSans-Regular'), url(file://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFWp0bbck.woff2) format('truetype'); ++ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; ++} ++/* latin-ext */ ++@font-face { ++ font-family: 'Open Sans'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Open Sans Regular'), local('OpenSans-Regular'), url(file:///usr/share/fonts/truetype/open-sans/OpenSans-Regular.ttf) format('truetype'); ++ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; ++} ++/* latin */ ++@font-face { ++ font-family: 'Open Sans'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Open Sans Regular'), local('OpenSans-Regular'), url(file:///usr/share/fonts/truetype/open-sans/OpenSans-Regular.ttf) format('truetype'); ++ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; ++} diff --git a/patches/css_font_local.patch b/patches/css_font_local.patch new file mode 100644 index 00000000..a4b1946b --- /dev/null +++ b/patches/css_font_local.patch @@ -0,0 +1,19 @@ +--- a/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-bootstrap.css ++++ b/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-bootstrap.css +@@ -1,4 +1,4 @@ +-@import url(https://fonts.googleapis.com/css?family=Open+Sans); ++@import 'font_OpenSans.css'; + /*! + * Bootstrap v2.3.1 + * +--- a/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-bootstrap.less ++++ b/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-bootstrap.less +@@ -3,7 +3,7 @@ + @import "bootstrap/responsive.less"; + + // google webfont +-@import url(https://fonts.googleapis.com/css?family=Open+Sans); ++@import '../css/font_OpenSans.css'; + + //Typography + @sansFontFamily: 'Open Sans', sans-serif !important; diff --git a/patches/qhull-lfs.patch b/patches/qhull-lfs.patch new file mode 100644 index 00000000..c6a852bb --- /dev/null +++ b/patches/qhull-lfs.patch @@ -0,0 +1,26 @@ +From: Julian Taylor +Date: Mon, 12 Oct 2015 15:17:23 -0700 +Subject: enable large file support + + probably not needed as the file open api of qhull is not available in python +Forwarded: no + +Patch-Name: qhull-lfs.patch +--- + scipy/spatial/setup.py | 3 +++ + 1 file changed, 3 insertions(+) + +Index: scipy/scipy/spatial/setup.py +=================================================================== +--- scipy.orig/scipy/spatial/setup.py 2020-07-01 13:48:23.397732252 +0800 ++++ scipy/scipy/spatial/setup.py 2020-07-01 13:48:23.393732347 +0800 +@@ -37,6 +37,9 @@ + config.add_extension('qhull', + sources=['qhull.c', 'qhull_misc.c'] + qhull_src, + **cfg) ++ cfg.setdefault('define_macros', []).append(('_FILE_OFFSET_BITS','64')) ++ cfg.setdefault('define_macros', []).append(('_LARGEFILE_SOURCE','1')) ++ cfg.setdefault('define_macros', []).append(('_LARGEFILE64_SOURCE','1')) + + # cKDTree + ckdtree_src = ['query.cxx', diff --git a/patches/series b/patches/series new file mode 100644 index 00000000..bc15073d --- /dev/null +++ b/patches/series @@ -0,0 +1,5 @@ +use_local_mathjax.patch +qhull-lfs.patch +Use-system-LBFGSB.patch +css_font_OpenSans.patch +css_font_local.patch diff --git a/patches/use_local_mathjax.patch b/patches/use_local_mathjax.patch new file mode 100644 index 00000000..63750542 --- /dev/null +++ b/patches/use_local_mathjax.patch @@ -0,0 +1,22 @@ +From: SVN-Git Migration +Date: Mon, 12 Oct 2015 15:17:20 -0700 +Subject: use_local_mathjax + +Setting mathjax_path variable to use the local mathjax javascript library +Patch-Name: use_local_mathjax.patch +--- + doc/source/conf.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +Index: scipy/doc/source/conf.py +=================================================================== +--- scipy.orig/doc/source/conf.py 2021-01-06 16:20:38.801872056 +1100 ++++ scipy/doc/source/conf.py 2021-01-06 16:20:38.797872061 +1100 +@@ -211,6 +211,7 @@ + htmlhelp_basename = 'scipy' + + mathjax_path = "scipy-mathjax/MathJax.js?config=scipy-mathjax" ++mathjax_path='/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML' + + + # ----------------------------------------------------------------------------- diff --git a/python-scipy-doc.doc-base b/python-scipy-doc.doc-base new file mode 100644 index 00000000..0490e435 --- /dev/null +++ b/python-scipy-doc.doc-base @@ -0,0 +1,14 @@ +Document: python-scipy-doc +Title: SciPy Manual +Author: The SciPy community +Abstract: This guide is intended as an introductory overview of SciPy + and explains how to install and make use of the most important + features of SciPy. + There is also a tutorial and an API reference manual which details + functions, modules, and objects included in SciPy, describing what + they are and what they do. +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-scipy-doc/html/index.html +Files: /usr/share/doc/python-scipy-doc/html/* diff --git a/python-scipy-doc.docs b/python-scipy-doc.docs new file mode 100644 index 00000000..8137b041 --- /dev/null +++ b/python-scipy-doc.docs @@ -0,0 +1 @@ +doc/build/html diff --git a/python3-scipy-dbg.install b/python3-scipy-dbg.install new file mode 100644 index 00000000..20ba7d2a --- /dev/null +++ b/python3-scipy-dbg.install @@ -0,0 +1,2 @@ +# extra stuff deleted in rules +usr/lib/python3*/*-packages/ diff --git a/python3-scipy.install b/python3-scipy.install new file mode 100644 index 00000000..eb5441e5 --- /dev/null +++ b/python3-scipy.install @@ -0,0 +1 @@ +usr/lib/python3*/dist-packages diff --git a/rules b/rules new file mode 100755 index 00000000..620f17e5 --- /dev/null +++ b/rules @@ -0,0 +1,113 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=scipy + +include /usr/share/dpkg/architecture.mk + +unexport LDFLAGS +export FFLAGS="-fPIC" +export ATLAS=None +export PATH := $(CURDIR)/debian/extra_bin:$(PATH) + +PY3VERS:= $(shell py3versions -v -r debian/control) +PY3_DEFAULT:= $(shell py3versions -d) +TMPDIR := $(CURDIR)/build/tmp +BASE=$(shell pwd)/debian + +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + export NPY_NUM_BUILD_JOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +endif + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_clean: + rm -rf build + -rm -rf doc/source/fontList.cache + -rm -rf doc/build + -rm -rf debian/extra_bin + find . -name "*.pyc" -exec rm {} \; + dh_clean + +override_dh_auto_configure: + rm -f cythonize.dat + touch scipy/linalg/_generate_pyx.py scipy/special/_generate_pyx.py + python3 tools/cythonize.py + +build-python%: + pybuild -p$* --configure --configure-args "config_fc --noarch build" + CFLAGS="-g -ggdb" \ + pybuild -p$* -ipython$*-dbg --configure --configure-args "config_fc --noarch build" + +override_dh_auto_build-arch: $(PY3VERS:%=build-python%) + +override_dh_auto_build-indep: build-$(PY3_DEFAULT) + # generate documentation (see comment below) needs compiled scipy + (export MPLCONFIGDIR=. ; \ + PYLIBPATH=`pybuild --print build_dir | grep $(PY3_DEFAULT) | awk '{print $$3}'`; \ + echo "building docs using PYLIBPATH=$$PYLIBPATH"; \ + PYTHONPATH=$$PYLIBPATH make -C doc html PYTHONPATH=$$PYLIBPATH PYVER=3) + +override_dh_auto_test: + echo "Build-time tests will be run after the installation dir is installed" + +override_dh_auto_install: + dh_auto_install -a -- --install-args "--root $(BASE)/tmp --force --no-compile --install-layout=deb"; + +override_dh_install-arch: + dh_install + find debian/python3-scipy -type f -name '*.cpython-3?d*.so' -delete + find debian/python3-scipy-dbg ! -type d ! -name '*.cpython-3?d*.so' -delete + find debian/python3-scipy-dbg -depth -empty -exec rmdir {} \; + rm -fr $(BASE)/python-scipy*/usr/lib/python*/*-packages/scipy/weave/examples/ + + # drop all the installed setup.py files + find $(BASE)/ -name setup.py -delete + find $(BASE)/ -name generate_ufuncs.py -delete + + set -e && for py in $(PY3VERS); do \ + ln -sf /usr/lib/python3/dist-packages/decorator.py $(BASE)/python3-scipy/usr/lib/python$$py/dist-packages/scipy/_lib/decorator.py; \ + done + + # not ported to py3 in 0.10.1 + rm -rf $(BASE)/python3-scipy/usr/lib/python3/dist-packages/scipy/weave + + dh_numpy3 +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + mkdir -p $(TMPDIR) + -set -e && for pyvers in $(PY3VERS); do \ + AUTOPKGTEST_TMP=$(TMPDIR) \ + PYTHONPATH=$(BASE)/python3-scipy/usr/lib/python$$pyvers/dist-packages/ \ + PYS=python$$pyvers TESTMODE=fast $(BASE)/tests/python3; \ + done +endif + +override_dh_fixperms-arch: + dh_fixperms + set -e; for i in `find debian -mindepth 2 -type f ! -perm 755`; do \ + if head -1 $$i | grep -q '^#!' ; then \ + chmod +x $$i; \ + fi ; \ + done + chmod a-x debian/python3-scipy/usr/lib/python3/dist-packages/scipy/optimize/_shgo_lib/sobol_vec.gz + sed -i '1s|.|#!/usr/bin/python3\n&|' $(BASE)/python3-scipy/usr/lib/python3/dist-packages/scipy/cluster/tests/test_vq.py + sed -i '1s|.|#!/usr/bin/python3\n&|' $(BASE)/python3-scipy/usr/lib/python3/dist-packages/scipy/stats/tests/test_stats.py + #replace all the usr/bin/env python + find $(BASE)/python3-scipy/usr/lib/python3/ -name "*.py" -type f | xargs sed -i -e "1s#usr/bin/env\s\+python\s*\$$#usr/bin/env python3#" + +override_dh_strip: + dh_strip -ppython3-scipy --dbg-package=python3-scipy-dbg + +override_dh_installdocs-indep: + dh_installdocs -i + + rm -rf debian/python-scipy-doc/usr/share/doc/python-scipy-doc/html/_static/jquery.js + dh_link -ppython-scipy-doc /usr/share/javascript/jquery/jquery.js /usr/share/doc/python-scipy-doc/html/_static/jquery.js + + rm -rf debian/python-scipy-doc/usr/share/doc/python-scipy-doc/html/_static/underscore.js + dh_link -ppython-scipy-doc /usr/share/javascript/underscore/underscore.js /usr/share/doc/python-scipy-doc/html/_static/underscore.js + + dh_sphinxdoc -i -XMathJax.js + find debian/python-scipy-doc/ -name scipy-mathjax | xargs rm -rf + rdfind -outputname /dev/null -makesymlinks true -removeidentinode false debian/python-scipy-doc + symlinks -r -s -c debian/python-scipy-doc diff --git a/source/format b/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tests/atlas b/tests/atlas new file mode 120000 index 00000000..6d65db32 --- /dev/null +++ b/tests/atlas @@ -0,0 +1 @@ +openblas \ No newline at end of file diff --git a/tests/blis b/tests/blis new file mode 120000 index 00000000..6d65db32 --- /dev/null +++ b/tests/blis @@ -0,0 +1 @@ +openblas \ No newline at end of file diff --git a/tests/control b/tests/control new file mode 100644 index 00000000..89f39b8d --- /dev/null +++ b/tests/control @@ -0,0 +1,21 @@ +Tests: python3 +Depends: build-essential, python3-scipy, python3-pytest, python3-all, python3-all-dev, python3-pil + +# short test on all python versions including debug +Tests: python3-smoke +Depends: python3-scipy, python3-scipy-dbg, python3-pytest, python3-all, python3-all-dbg + +#needs root for update-alternatives, build-essential for libc6-dev (ctype libm.so) +Tests: openblas +Restrictions: needs-root +Depends: build-essential, python3-scipy, python3-pytest, python3, libopenblas0 + +#needs root for update-alternatives, build-essential for libc6-dev (ctype libm.so) +Tests: atlas +Restrictions: needs-root +Depends: build-essential, python3-scipy, python3-pytest, python3, libatlas3-base + +#needs root for update-alternatives, build-essential for libc6-dev (ctype libm.so) +Tests: blis +Restrictions: needs-root +Depends: build-essential, python3-scipy, python3-pytest, python3, libblis3 diff --git a/tests/openblas b/tests/openblas new file mode 100755 index 00000000..a2dc3820 --- /dev/null +++ b/tests/openblas @@ -0,0 +1,21 @@ +#!/bin/sh +set -efu +ma=$(dpkg-architecture -qDEB_HOST_MULTIARCH) +blaslib=$(update-alternatives --list libblas.so.3-$ma | grep $(basename $0)) +update-alternatives --set libblas.so.3-$ma $blaslib + +echo "=== testing "$(basename $0)" ===" + +# one python is enough +PYS=${PYS:-"$(py3versions -d 2>/dev/null)"} + +#test only modules that link against libblas +PYS=$PYS TESTPKG=scipy.odr debian/tests/python3 +PYS=$PYS TESTPKG=scipy.optimize debian/tests/python3 +PYS=$PYS TESTPKG=scipy.spatial debian/tests/python3 +PYS=$PYS TESTPKG=scipy.special debian/tests/python3 +PYS=$PYS TESTPKG=scipy.cluster debian/tests/python3 +PYS=$PYS TESTPKG=scipy.integrate debian/tests/python3 +PYS=$PYS TESTPKG=scipy.interpolate debian/tests/python3 +PYS=$PYS TESTPKG=scipy.sparse debian/tests/python3 +PYS=$PYS TESTPKG=scipy.linalg debian/tests/python3 diff --git a/tests/python3 b/tests/python3 new file mode 100755 index 00000000..a8d2033e --- /dev/null +++ b/tests/python3 @@ -0,0 +1,74 @@ +#!/bin/sh +set -efu + +PYS=${PYS:-"$(py3versions -r 2>/dev/null)"} +TESTMODE=${TESTMODE:-full} +TESTPKG=${TESTPKG:-scipy} +export HOME=$AUTOPKGTEST_TMP +export TMPDIR=$AUTOPKGTEST_TMP + +if [ ${TESTPKG} = "scipy.sparse" ]; then + SPARSE=""; +else + SPARSE="sparse."; +fi + +if [ ${TESTPKG} = "scipy.spatial" ]; then + SPATIAL=""; +else + SPATIAL="spatial."; +fi + +cd "$AUTOPKGTEST_TMP" +#nosetest does not handle knowfailures +cat << EOF > runtest.py +import $TESTPKG +# add failures to skip here +skip = [ +# i386 failures +"special.tests.test_mpmath.TestSystematic.test_pcfw", +"special.tests.test_orthogonal.test_roots_jacobi", +"linalg.tests.test_solvers.test_solve_generalized_discrete_are", +# fails with atlas +"linalg.tests.test_solvers.test_solve_discrete_are", +# postscriptum on Bug#919929 +"${SPARSE}tests.test_sparsetools.TestInt32Overflow.test_matvecs", +"${SPARSE}tests.test_sparsetools.TestInt32Overflow.test_dia_matvec", +"${SPARSE}tests.test_sparsetools.TestInt32Overflow.test_bsr_1_block", +"${SPARSE}tests.test_sparsetools.TestInt32Overflow.test_bsr_n_block", +# a new, unresolved bug in matplotlib, see https://github.com/scipy/scipy/issues/9946 +"${SPATIAL}tests.test__plotutils.TestPlotting.test_delaunay", +"${SPATIAL}tests.test__plotutils.TestPlotting.test_voronoi", +"${SPATIAL}tests.test__plotutils.TestPlotting.test_convex_hull" +] + +junit = "$TMPDIR/junit.xml" +r= $TESTPKG.test(label='$TESTMODE', verbose=2, extra_argv=["--junit-xml=" + junit]) +import xml.etree.ElementTree as ET +ET.parse(junit) +tree =ET.parse(junit) +root = tree.getroot() +errors = [] +for testcase in root: + for result in testcase: + if result.tag in ("failure", "error"): + testid = testcase.attrib["classname"].split("scipy.")[-1] + "." + testcase.attrib["name"] + print("skipped:", testid) + if testid in skip: + del skip[skip.index(testid)] + else: + print("failed:", testid) + errors.append(testid) + +print("#errors: %d" % len(errors)) +for s in skip: + print("unused skips:", s) +assert len(errors) == 0 +EOF + + +for py in $PYS; do + echo "=== Testing: $py $TESTPKG ===" + $py runtest.py 2>&1 + echo "=== Done: $py $TESTPKG ===" +done diff --git a/tests/python3-smoke b/tests/python3-smoke new file mode 100755 index 00000000..300e08fc --- /dev/null +++ b/tests/python3-smoke @@ -0,0 +1,19 @@ +#!/bin/sh +set -efu +echo "=== testing "$(basename $0)" ===" + +PYS=${PYS:-"$(py3versions -r 2>/dev/null)"} +TESTMODE=${TESTMODE:-full} +TESTPKG=${TESTPKG:-scipy} +export HOME=$AUTOPKGTEST_TMP +export TMPDIR=$AUTOPKGTEST_TMP + +cd "$AUTOPKGTEST_TMP" + +# test imports and a fast test +for py in $PYS; do + echo "=== Testing: $py $TESTPKG ===" + $py -c "import scipy.interpolate, scipy.stats, scipy.ndimage; scipy.interpolate.test()" 2>&1 + ${py}-dbg -c "import scipy.interpolate, scipy.stats, scipy.ndimage; scipy.interpolate.test()" 2>&1 + echo "=== Done: $py $TESTPKG ===" +done diff --git a/watch b/watch new file mode 100644 index 00000000..1620bd6c --- /dev/null +++ b/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \ +https://github.com/scipy/scipy/releases (?:.*?/)?scipy-v?(\d[\d.]*)\.tar\.xz -- 2.30.2