debian/0000755000000000000000000000000012261072567007176 5ustar debian/rules0000755000000000000000000000344712014205425010251 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PY2VERS := $(shell pyversions -s) PY3VERS := $(shell py3versions -s) %: dh $@ --with sphinxdoc,python3 override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) #set -e ; \ for python in $(PY2VERS) $(PY3VERS); do \ $$python mpmath/tests/runtests.py -strict -py -local ; \ done endif override_dh_auto_build: set -e ; \ for python in $(PY2VERS) $(PY3VERS); do \ $$python setup.py build; \ done ( cd doc ; PYTHONPATH=../build/lib/ python build.py ) override_dh_auto_clean: set -e ; \ for python in $(PY2VERS) $(PY3VERS); do \ $$python setup.py clean; \ done find . -name '*\.py[co]' -delete dh_clean override_dh_auto_install: set -e ; \ for python in $(PY2VERS); do \ $$python setup.py install --root=debian/python-mpmath --install-layout=deb; \ done set -e ; \ for python in $(PY3VERS); do \ $$python setup.py install --root=debian/python3-mpmath --install-layout=deb; \ done # remove files not compatible with Python 2 find debian/python-mpmath -name "exec_py3.py" -delete find debian/python-mpmath -name "extratest_gamma.py" -delete find debian/python-mpmath -name "torture.py" -delete # remove files not compatible with Python 3.x find debian/python3-mpmath -name "exec_py2.py" -delete # move generated documentation under subdir to keep doc/ dir clean cp -arp doc/build/* $(CURDIR)/debian/python-mpmath-doc/usr/share/doc/python-mpmath-doc/html/ cp -arp doc/source/* $(CURDIR)/debian/python-mpmath-doc/usr/share/doc/python-mpmath-doc/txt/ override_dh_installchangelogs: dh_installchangelogs CHANGES override_dh_installexamples: dh_installexamples -ppython-mpmath-doc demo/* override_dh_compress: dh_compress -X.py -X.js -Xobjects.inv -X.txt debian/copyright0000644000000000000000000000367012261067762011140 0ustar This package was debianized by Sandro Tosi on Mon, 26 Nov 2007 20:55:55 +0100. It was downloaded from http://code.google.com/p/mpmath/ Upstream Author: Fredrik Johansson Copyright: Copyright (c) 2005-2013 Fredrik Johansson and mpmath contributors License: 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 mpmath nor the names of its contributors 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. The Debian packaging is Copyright (C) 2007-2013, Sandro Tosi and is licensed under the same terms as upstream code. debian/python-mpmath-doc.dirs0000644000000000000000000000011311140372675013422 0ustar usr/share/doc/python-mpmath-doc/html/ usr/share/doc/python-mpmath-doc/txt/ debian/changelog0000644000000000000000000002021512261072401011033 0ustar mpmath (0.18-1) unstable; urgency=low * New upstream release * debian/control - switch to gmpy2; thanks to Martin Kelly for the report; Closes: #731205 - bump Standards-Version to 3.9.5 (no changes needed) * debian/watch - changed to new download location * debian/copyright - extended upstream and packaging copyright years -- Sandro Tosi Wed, 01 Jan 2014 21:05:13 +0100 mpmath (0.17-3) unstable; urgency=low [ Sandro Tosi ] * debian/copyright - extend packaging copyright years * debian/source/format - switch to '3.0 (quilt)' source format * debian/README.source - removed, not needed anymore * debian/control - bump Standards-Version to 3.9.4 (no changes needed) [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. -- Sandro Tosi Sun, 29 Sep 2013 15:19:57 +0200 mpmath (0.17-2) experimental; urgency=low * debian/control - remove Ondrej from Uploaders; thanks! - removed DM-U-A flag - bump Standards-Version to 3.9.3 (no changes needed) - add python-pytest to b-d-i, needed to run tests * debian/{control, rules} - use dh_sphinxdoc - convert to dh sequencer - provide the Python 3 package; Closes: #624101 * debian/rules - remove files not compatible with python2 from python-mpmath package; Closes: #679200, #624105 -- Sandro Tosi Sun, 19 Aug 2012 17:55:36 +0200 mpmath (0.17-1) unstable; urgency=low * New upstream release * debian/rules - don't compress objects.inv; thanks to Michael Fladischer for the report; Closes: #608762 - use --install-layout=deb when installing * debian/control - bump Standards-Version to 3.9.2 (no changes needed) - set XS-Python-Version to 'all' -- Sandro Tosi Mon, 25 Apr 2011 17:23:45 +0200 mpmath (0.16-1) experimental; urgency=low * New upstream release * debian/watch - updated to fetch the full (code+doc) tarball * debian/control - bump Standards-Version to 3.9.1 (no changes needed) -- Sandro Tosi Tue, 14 Dec 2010 21:12:40 +0100 mpmath (0.15-1) unstable; urgency=low [ Sameer Rahmani ] * Watch file fixed. [ Sandro Tosi ] * New upstream release * debian/control - added texlive-latex-extra to b-d, needed to build documentation -- Sandro Tosi Mon, 21 Jun 2010 20:58:49 +0200 mpmath (0.14-1) unstable; urgency=low * New upstream releae * debian/copyright - extend packaging copyright years - extend upstream copyright years * debian/control - bump Standards-Version to 3.8.4 (no changes needed) -- Sandro Tosi Wed, 10 Feb 2010 00:19:00 +0100 mpmath (0.13-2) unstable; urgency=low * debian/python-mpmath-doc.doc-base - added doc-base * debian/rules - workaround to not FTBFS if tests fail, partially addressing #560631; I know it's quite ugly, but I want to give time to upstream to work on it while keeping the package buildable -- Sandro Tosi Thu, 14 Jan 2010 00:15:01 +0100 mpmath (0.13-1) unstable; urgency=low * New upstream release * debian/control - bump Standards-Version to 3.8.3 (no changes needed) * debian/{control, patches/, rules} - removed dpatch, no more needed * debian/rules - run tests with '-local' instead of playing with PYTHONPATH -- Sandro Tosi Tue, 01 Sep 2009 22:22:38 +0200 mpmath (0.12-1) unstable; urgency=low * New upstream release - pi calculation precision fixed; Closes: #530381 * debian/{control, rules} - added dpatch * debian/patches/10_fix_test.dpatch - added to fix test execution (solution provided by upstream author) * debian/control - bump Standards-Version to 3.8.1 + added debian/README.source -- Sandro Tosi Fri, 12 Jun 2009 08:04:37 +0200 mpmath (0.11-2) unstable; urgency=low * Uploading to unstable, since Lenny has been released * debian/copyright - relicensed packaging under the same upstream code terms * debian/rules - merged 'rm' call into 'dh_clean' one -- Sandro Tosi Sat, 21 Feb 2009 01:48:33 +0100 mpmath (0.11-1) experimental; urgency=low * New upstream release * debian/control - switch Vcs-Browser field to viewsvn - added versioned build-dep on python-sphinx since using newer APIs - added texlive-latex-base and dvipng to build-dep since needed to build doc - expanded long description * debian/copyright - extended copyright years, fixing the copyright holders names - fixed copyright notice and years for packaging - restored upstream verbatim LICENSE text, with not paragraphs formatting * debian/{control,dirs,rules,debian/python-mpmath-doc.docs} - added -doc package, renaming 'dirs' to 'python-mpmath-doc.dirs' -- Sandro Tosi Thu, 29 Jan 2009 19:34:32 +0100 mpmath (0.10-1) unstable; urgency=low * New upstream release * debian/control - added python-matplotlib to suggest, because upstrem now support plotting * debian/{control,copyright} - updated my email address * debian/patches/10_fix_doc_version.dpatch - removed since fixed upstream * debian/patches/20_fix_nan_or_inf_div_by_2n.dpatch - removed since merged upstream * debian/{control,patches/*,rules} - removed dpatch stuff * debian/rules - added local mpmath module location in doc build command -- Sandro Tosi Sun, 19 Oct 2008 18:54:45 +0200 mpmath (0.9-2) unstable; urgency=low * debian/control - added minimal version for python-gmpy (1.03) - removed capitalization from short description - removed additional spaces from long description -- Sandro Tosi Tue, 26 Aug 2008 20:29:17 +0200 mpmath (0.9-1) unstable; urgency=low [ Sandro Tosi ] * New upstream release * debian/control - added python-gmpy to suggests (used when available to speed-up high precision calculations) - added python-sphinx to build-dep-indep (to build documentation) - bump Standards-Version to 3.8.0 (no changes needed) - added libjs-jquery to depends, needed for sphinx doc - added dpatch to build-dep - added python-codespeak-lib to build-dep-indep (needed to run tests) * debian/rules - build and install sphinx doc - removed embedded jquery.js, linking to the one from libjs-jquery - added dh_link call - enabled dpatch stuff - added execution of tests at build time - added removal of compiled Python code; thanks to Piotr for the fix * debian/copyright - extended copyright years * debian/patches/10_fix_doc_version.dpatch - added to fix the doc version of mpmath * debian/patches/20_fix_nan_or_inf_div_by_2n.dpatch - backported from upstream SVN: fix inf/2**n and nan/2**n returning zero * debian/dirs - added to create doc subdirs [ Ondrej Certik ] * Ondrej Certik added to Uploaders [ Piotr Ożarowski ] * added "DM-Upload-Allowed: yes" -- Sandro Tosi Sun, 24 Aug 2008 00:49:28 +0200 mpmath (0.8-1) unstable; urgency=low * New upstream release * debian/patches/10_setup.py.dpatch - removed since merged upstream * debian/control - removed dpatch build-dep since no more needed * debian/rules - commented out dpatch stuff since no more needed (but maybe in the future will be used again) - updated doc location for installation -- Sandro Tosi Thu, 24 Apr 2008 07:36:52 +0200 mpmath (0.7-1) unstable; urgency=low * New upstream release * debian/rules - added doc/* file installation - added dpatch stuff * debian/control - added dpatch build-dep * debian/patches/10_setup.py.dpatch - added to remove demo directory installation -- Sandro Tosi Thu, 13 Mar 2008 23:07:31 +0100 mpmath (0.6-1) unstable; urgency=low * New upstream release * debian/rules - removed examples installation since no more in upstream tarball -- Sandro Tosi Mon, 14 Jan 2008 20:35:40 +0100 mpmath (0.5-1) unstable; urgency=low * Initial release (Closes: #453024) -- Sandro Tosi Thu, 06 Dec 2007 01:18:50 +0100 debian/watch0000644000000000000000000000030112261067240010211 0ustar version=3 #http://code.google.com/p/mpmath/downloads/list http://mpmath.googlecode.com/files/mpmath-all-(.*)\.tar.gz http://sage.math.washington.edu/home/fredrik/mpmath/mpmath-all-(.*)\.tar.gz debian/python-mpmath-doc.doc-base0000644000000000000000000000107011263710011014123 0ustar Document: python-mpmath-doc Title: mpmath’s documentation Author: Fredrik Johansson Abstract: Mpmath is a Python library for arbitrary-precision floating-point arithmetic. These pages documents mpmath’s main features, with extensive use of examples that can be run in the interactive Python interpreter. Section: Science/Mathematics Format: HTML Index: /usr/share/doc/python-mpmath-doc/html/index.html Files: /usr/share/doc/python-mpmath-doc/html/* Format: Text Index: /usr/share/doc/python-mpmath-doc/txt/index.txt Files: /usr/share/doc/python-mpmath-doc/txt/* debian/compat0000644000000000000000000000000210722653103010363 0ustar 5 debian/control0000644000000000000000000001143712261071226010576 0ustar Source: mpmath Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Sandro Tosi Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), python3-all (>= 3.1.3-3) Build-Depends-Indep: python-support (>= 0.4), python-sphinx (>= 1.0.7+dfsg), python-codespeak-lib, texlive-latex-base, dvipng, texlive-latex-extra, python-pytest, python3-py, python3-pytest Standards-Version: 3.9.5 XS-Python-Version: all Homepage: http://code.google.com/p/mpmath/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/mpmath/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/mpmath/trunk/ Package: python-mpmath Architecture: all Depends: ${python:Depends}, ${misc:Depends} Suggests: python-gmpy2, python-matplotlib, python-mpmath-doc Description: library for arbitrary-precision floating-point arithmetic Mpmath is a pure-Python library for multiprecision floating-point arithmetic. It provides an extensive set of transcendental functions, unlimited exponent sizes, complex numbers, interval arithmetic, numerical integration and differentiation, root-finding, linear algebra, and much more. Almost any calculation can be performed just as well at 10-digit or 1000-digit precision, and in many cases mpmath implements asymptotically fast algorithms that scale well for extremely high precision work. . If available, mpmath will (optionally) use gmpy to speed up high precision operations. If matplotlib is available, mpmath also provides a convenient plotting interface. . Its features include: . * Fair performance -- typically 10-100x faster than Python's decimal library * Transcendental functions -- all functions from Python's math and cmath modules, plus a few more like gamma, factorial, erf * Complex numbers -- with support for transcendental functions * Directed rounding -- floor, ceiling, down, up, half-down, half-up, half-even * Unlimited exponents -- no overflow or underflow Package: python3-mpmath Architecture: all Depends: ${python3:Depends}, ${misc:Depends} Suggests: python3-gmpy2, python3-matplotlib, python-mpmath-doc Description: library for arbitrary-precision floating-point arithmetic (Python3) Mpmath is a pure-Python library for multiprecision floating-point arithmetic. It provides an extensive set of transcendental functions, unlimited exponent sizes, complex numbers, interval arithmetic, numerical integration and differentiation, root-finding, linear algebra, and much more. Almost any calculation can be performed just as well at 10-digit or 1000-digit precision, and in many cases mpmath implements asymptotically fast algorithms that scale well for extremely high precision work. . If available, mpmath will (optionally) use gmpy to speed up high precision operations. If matplotlib is available, mpmath also provides a convenient plotting interface. . Its features include: . * Fair performance -- typically 10-100x faster than Python's decimal library * Transcendental functions -- all functions from Python's math and cmath modules, plus a few more like gamma, factorial, erf * Complex numbers -- with support for transcendental functions * Directed rounding -- floor, ceiling, down, up, half-down, half-up, half-even * Unlimited exponents -- no overflow or underflow . This package contains the Python 3 version of mpmath. Package: python-mpmath-doc Architecture: all Section: doc Depends: ${misc:Depends}, ${sphinxdoc:Depends} Suggests: python-mpmath Description: library for arbitrary-precision floating-point arithmetic - Documentation Mpmath is a pure-Python library for multiprecision floating-point arithmetic. It provides an extensive set of transcendental functions, unlimited exponent sizes, complex numbers, interval arithmetic, numerical integration and differentiation, root-finding, linear algebra, and much more. Almost any calculation can be performed just as well at 10-digit or 1000-digit precision, and in many cases mpmath implements asymptotically fast algorithms that scale well for extremely high precision work. . If available, mpmath will (optionally) use gmpy to speed up high precision operations. If matplotlib is available, mpmath also provides a convenient plotting interface. . Its features include: . * Fair performance -- typically 10-100x faster than Python's decimal library * Transcendental functions -- all functions from Python's math and cmath modules, plus a few more like gamma, factorial, erf * Complex numbers -- with support for transcendental functions * Directed rounding -- floor, ceiling, down, up, half-down, half-up, half-even * Unlimited exponents -- no overflow or underflow . This package contains the documentation for mpmath Python module. debian/source/0000755000000000000000000000000012261072414010465 5ustar debian/source/format0000644000000000000000000000001412014414755011677 0ustar 3.0 (quilt) debian/python-mpmath-doc.docs0000644000000000000000000000001312261071226013401 0ustar README.rst