diff options
author | Andrey Grozin <grozin@gentoo.org> | 2009-06-11 16:49:28 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2009-06-11 16:49:28 +0000 |
commit | 414c5670b6d3bdb13817e5580496c981a554dd81 (patch) | |
tree | 099c438e10822d17d5122484f66dd3efd605e4e6 /dev-python/mpmath | |
parent | Bump to 0.2.6.12. Remove old. Fix bug 271322. (diff) | |
download | historical-414c5670b6d3bdb13817e5580496c981a554dd81.tar.gz historical-414c5670b6d3bdb13817e5580496c981a554dd81.tar.bz2 historical-414c5670b6d3bdb13817e5580496c981a554dd81.zip |
2 failing tests fixed
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'dev-python/mpmath')
-rw-r--r-- | dev-python/mpmath/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/mpmath/Manifest | 5 | ||||
-rw-r--r-- | dev-python/mpmath/files/mpmath-0.12-test.patch | 15 | ||||
-rw-r--r-- | dev-python/mpmath/mpmath-0.12-r1.ebuild (renamed from dev-python/mpmath/mpmath-0.12.ebuild) | 18 |
4 files changed, 41 insertions, 5 deletions
diff --git a/dev-python/mpmath/ChangeLog b/dev-python/mpmath/ChangeLog index 55760f419d02..efbf9e04e9db 100644 --- a/dev-python/mpmath/ChangeLog +++ b/dev-python/mpmath/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/mpmath # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.6 2009/06/10 11:29:05 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.7 2009/06/11 16:49:28 grozin Exp $ + +*mpmath-0.12-r1 (11 Jun 2009) + + 11 Jun 2009; Andrey Grozin <grozin@gentoo.org> -mpmath-0.12.ebuild, + +mpmath-0.12-r1.ebuild, +files/mpmath-0.12-test.patch: + 2 failing tests fixed *mpmath-0.12 (10 Jun 2009) diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index 2ad69c680993..ae7220019145 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1,6 +1,7 @@ +AUX mpmath-0.12-test.patch 517 RMD160 49c790109d3475e469f03e0104ae0e790aace346 SHA1 45e3bd7aa324d43fb23cf7e9448c27bee130c8ef SHA256 159510dae7105264eb95e6616eb37ee6f5b38c6499c74c549b77c97eab5b210a DIST mpmath-0.11.tar.gz 247240 RMD160 d96f5620e86ced5957e5be08a2ce43d9a372f450 SHA1 44a38591cbb9c3e5931b02356fcecae5f82ec844 SHA256 744ff3a7e2fef66cd4c03df418d4a3949e2394d6095836beca105d84f7342e03 DIST mpmath-0.12.tar.gz 267435 RMD160 8dbe5f8e3d546a13c53124d0f3cc455b49907974 SHA1 02c5f9cc2a295472285ecd45d73b7b3a243ee787 SHA256 369515b4da563ba19107387a04beee0e41971e36421088a805da643cdbf0d0b0 EBUILD mpmath-0.11.ebuild 888 RMD160 574b7fe5d419026aa9fc8cda6d4cfc10620937ed SHA1 14073b7111859b19d39dac75eb97155788750ece SHA256 b9840eb53a6a3482992b859bff19003c11ce68aee089273cfe9afb23a5d366d7 -EBUILD mpmath-0.12.ebuild 887 RMD160 f9b1ad3537dc57f19ad0e945aa690f9ecf9f606b SHA1 414f6ac6eb75c396beaa5eaa295fb67e8d4c407f SHA256 cb58332659313e27f4408f3bb695b7196942215eb385e0f26d2ac42c119a4632 -MISC ChangeLog 1031 RMD160 7a98ac6d9f08516a723bd2d6b638e2eb63d49b16 SHA1 33d7b20002a67f3125f53d3604a5aafca0882e3f SHA256 b8487c920e4b79397db28a8d241740f1ab1ec64739db94592cac5e8a8cdd8a21 +EBUILD mpmath-0.12-r1.ebuild 1058 RMD160 4f0e5a7e6bcbe0583540a3a72f1331ff6b67c382 SHA1 b382dcfe3360bad0b50eacc56241ea7ef4a29ed1 SHA256 04940bd9df7b0ac2216ab4dfe1f42e015eb55dfbf6afa0b5192c3fe139485c29 +MISC ChangeLog 1214 RMD160 7249dc0dd7ba3e6dfe9e6825881433ae33d9c83e SHA1 f510b29e1ee7d91bd91575b858f881829b00fea5 SHA256 a64dd6175d21cb044d66b1a7a2d082b56938bfb037255cf53cf239312c73d675 MISC metadata.xml 365 RMD160 ece7c524ccedeb12b39753fba601dd830c25f8ab SHA1 afc79096300fa102014e4e794fdc20814b25f363 SHA256 d6bb09b59c81f6643741decbdce8d164005673b406d703ce5c2448891b2db2a8 diff --git a/dev-python/mpmath/files/mpmath-0.12-test.patch b/dev-python/mpmath/files/mpmath-0.12-test.patch new file mode 100644 index 000000000000..28f0b560a447 --- /dev/null +++ b/dev-python/mpmath/files/mpmath-0.12-test.patch @@ -0,0 +1,15 @@ +diff -r -U2 mpmath-0.12.orig/mpmath/tests/test_linalg.py mpmath-0.12/mpmath/tests/test_linalg.py +--- mpmath-0.12.orig/mpmath/tests/test_linalg.py 2009-06-09 20:39:06.000000000 +0200 ++++ mpmath-0.12/mpmath/tests/test_linalg.py 2009-06-11 17:42:27.000000000 +0200 +@@ -91,4 +91,5 @@ +
+ def test_householder():
++ mp.dps = 15
+ A, b = A8, b8
+ H, p, x, r = householder(extend(A, b))
+@@ -143,4 +144,5 @@ +
+ def test_singular():
++ mp.dps = 15
+ A = [[5.6, 1.2], [7./15, .1]]
+ B = repr(zeros(2))
diff --git a/dev-python/mpmath/mpmath-0.12.ebuild b/dev-python/mpmath/mpmath-0.12-r1.ebuild index 19f0acfd6dbb..9411144ff1e0 100644 --- a/dev-python/mpmath/mpmath-0.12.ebuild +++ b/dev-python/mpmath/mpmath-0.12-r1.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/mpmath-0.12.ebuild,v 1.1 2009/06/10 11:29:05 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/mpmath-0.12-r1.ebuild,v 1.1 2009/06/11 16:49:28 grozin Exp $ +EAPI=2 NEED_PYTHON=2.4 inherit distutils @@ -18,13 +19,26 @@ DEPEND="doc? ( dev-python/sphinx ) gmp? ( dev-python/gmpy ) test? ( dev-python/py )" +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}"/${P}-test.patch +} + +src_compile() { + distutils_src_compile + if use doc; then + cd doc + "${python}" build.py + cd .. + fi +} + src_install() { DOCS="CHANGES" distutils_src_install if use doc; then cd doc - "${python}" build.py dohtml -r build/* cd .. fi |