diff -Nru python-bumps-0.7.6/debian/changelog python-bumps-0.7.6/debian/changelog --- python-bumps-0.7.6/debian/changelog 2017-11-14 03:57:41.000000000 +0000 +++ python-bumps-0.7.6/debian/changelog 2017-12-30 05:38:43.000000000 +0000 @@ -1,3 +1,14 @@ +python-bumps (0.7.6-3) unstable; urgency=medium + + * Allow numerical fuzz in tests. + * Update Standards-Version to 4.1.2 (no changes required). + * Set Rules-Require-Root: no. + * Switch to dehelper compat 11. + - update to place documentation in /usr/share/doc/python-bumps as per + Policy ยง12.3. + + -- Stuart Prescott Sat, 30 Dec 2017 16:38:43 +1100 + python-bumps (0.7.6-2) unstable; urgency=medium * Team upload. @@ -5,7 +16,7 @@ * Add stray GPL and Expat licences to debian/copyright. * python3 package now available (Thanks Stuart Prescott) - rename the python2 version of /usr/bin/bumps as bumps2 - - bumps.gui will fail in python3 since wx is not available + - bumps.gui will fail in python3 since wx is not available -- Drew Parsons Tue, 14 Nov 2017 11:57:41 +0800 diff -Nru python-bumps-0.7.6/debian/compat python-bumps-0.7.6/debian/compat --- python-bumps-0.7.6/debian/compat 2017-11-14 03:57:41.000000000 +0000 +++ python-bumps-0.7.6/debian/compat 2017-12-30 05:38:43.000000000 +0000 @@ -1 +1 @@ -10 +11 diff -Nru python-bumps-0.7.6/debian/control python-bumps-0.7.6/debian/control --- python-bumps-0.7.6/debian/control 2017-11-14 03:57:41.000000000 +0000 +++ python-bumps-0.7.6/debian/control 2017-12-30 05:38:43.000000000 +0000 @@ -6,7 +6,7 @@ Drew Parsons , Stuart Prescott Build-Depends: - debhelper (>= 10), + debhelper (>= 11), dh-python, libjs-jquery, libjs-mathjax, @@ -30,12 +30,13 @@ python3-sklearn, python3-sphinx, texinfo -Standards-Version: 4.1.1 +Standards-Version: 4.1.2 Homepage: https://github.com/bumps/bumps X-Python-Version: >= 2.6 X-Python3-Version: >= 3.2 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/python-bumps.git Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/python-bumps.git/ +Rules-Requires-Root: no Package: python-bumps Architecture: all diff -Nru python-bumps-0.7.6/debian/patches/series python-bumps-0.7.6/debian/patches/series --- python-bumps-0.7.6/debian/patches/series 2017-11-14 03:57:41.000000000 +0000 +++ python-bumps-0.7.6/debian/patches/series 2017-12-30 05:38:43.000000000 +0000 @@ -1 +1,2 @@ sphinx-local-mathjax.patch +test-precision.patch diff -Nru python-bumps-0.7.6/debian/patches/test-precision.patch python-bumps-0.7.6/debian/patches/test-precision.patch --- python-bumps-0.7.6/debian/patches/test-precision.patch 1970-01-01 00:00:00.000000000 +0000 +++ python-bumps-0.7.6/debian/patches/test-precision.patch 2017-12-30 05:38:43.000000000 +0000 @@ -0,0 +1,22 @@ +Description: Fix test for numerical fuzz on i386 +Author: Sturt Prescott +Forwarded: https://github.com/bumps/bumps/pull/14 +--- a/bumps/wsolve.py ++++ b/bumps/wsolve.py +@@ -420,6 +420,7 @@ + """ + Check that results are correct for a known problem. + """ ++ from numpy.testing import assert_array_almost_equal_nulp + x = np.array([0, 1, 2, 3, 4], 'd') + y = np.array([2.5, 7.9, 13.9, 21.1, 44.4], 'd') + dy = np.array([1.7, 2.4, 3.6, 4.8, 6.2], 'd') +@@ -444,7 +445,7 @@ + assert dperr < 1e-14, "||dp-Tdp||=%g" % dperr + assert cierr < 1e-14, "||ci-Tci||=%g" % cierr + assert pierr < 1e-14, "||pi-Tpi||=%g" % pierr +- assert py == poly(px), "direct call to poly function fails" ++ assert_array_almost_equal_nulp(py, poly(px), nulp=8) + + if __name__ == "__main__": + # test() diff -Nru python-bumps-0.7.6/debian/python-bumps-doc.doc-base python-bumps-0.7.6/debian/python-bumps-doc.doc-base --- python-bumps-0.7.6/debian/python-bumps-doc.doc-base 2017-11-14 03:57:41.000000000 +0000 +++ python-bumps-0.7.6/debian/python-bumps-doc.doc-base 2017-12-30 05:38:43.000000000 +0000 @@ -10,5 +10,5 @@ Files: /usr/share/info/bumps.info*.gz Format: HTML -Index: /usr/share/doc/python-bumps-doc/html/index.html -Files: /usr/share/doc/python-bumps-doc/html/*.html +Index: /usr/share/doc/python-bumps/html/index.html +Files: /usr/share/doc/python-bumps/html/*.html diff -Nru python-bumps-0.7.6/debian/python-bumps-doc.lintian-overrides python-bumps-0.7.6/debian/python-bumps-doc.lintian-overrides --- python-bumps-0.7.6/debian/python-bumps-doc.lintian-overrides 2017-11-14 03:57:41.000000000 +0000 +++ python-bumps-0.7.6/debian/python-bumps-doc.lintian-overrides 2017-12-30 05:38:43.000000000 +0000 @@ -1,2 +1,2 @@ # this license.rst.txt is part of the documentation -python-bumps-doc: extra-license-file usr/share/doc/python-bumps-doc/html/_sources/getting_started/license.rst.txt +python-bumps-doc: extra-license-file usr/share/doc/python-bumps/html/_sources/getting_started/license.rst.txt diff -Nru python-bumps-0.7.6/debian/rules python-bumps-0.7.6/debian/rules --- python-bumps-0.7.6/debian/rules 2017-11-14 03:57:41.000000000 +0000 +++ python-bumps-0.7.6/debian/rules 2017-12-30 05:38:43.000000000 +0000 @@ -10,7 +10,7 @@ override_dh_auto_clean: dh_auto_clean - rm -rf .mplconfig doc/api doc/dream doc/tutorial api dream .cache + rm -rf .mplconfig doc/_build doc/api doc/dream doc/tutorial api dream .cache override_dh_install: dh_install