pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-mpmath



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan 11 08:07:44 UTC 2018

Modified Files:
        pkgsrc/math/py-mpmath: Makefile PLIST distinfo

Log Message:
py-mpmath: updated to 1.0.0

--1.0.0--
* Bumped to major version number for 10 year anniversary
* Added module for inverse Laplace transforms, including the top level
  function invertlaplace() as well as several different algorithms
  (Talbot, Gaver-Stehfest and de Hoog) implemented in
  mpmath.calculus.inverselaplace (Kris Kuhlman)
* Fixed bugs in elliprg() giving incorrect values for certain input
* Fixed wrong degree 1 nodes for Gaussian quadrature
* Made make acot(0) and acoth(0) return a finite result
* Fixed sieved zeta sum not being used in Python 3, and added cutoff
  for sieved zeta sum on 32-bit systems when too much memory would be used
* Fixed zeta(0,0.5) to return correct value instead of raising
  NoConvergence exception
* Added detection of exact zeros in gammainc(), in particular fixing
  NoConvergence error for gammainc(3,-1+1j)
* Fixed wrong values from besseli() due to improper internal precision
* Fixed bessely(0,1j) to return complex nan instead of raising NameError
  (Paul Masson)
* Changed float() and complex() applied to an mpf or mpc to use rounding
  to nearest (or the context rounding mode) instead truncating
* Fix imaginary part of gammainc(n,x), n negative odd int, x < 0
* Added alternative "phase" color scheme to cplot()
* Better error message for int(inf) or int(nan) (Aaron Meurer)
* Fixed polyroots() with error=True
* Added support to pass optional initial values to polyroots()
  (Michael Kagalenko)
* Rewrote the Python major version selection to make it work if something
  else has redefined xrange (Arne Brys)
* Switched documentation formula rendering to MathJax (Sergey B Kirpichev)
* Fixed documentation TeX build (Sergey B Kirpichev)
* Added PEP8 conformity testing (Sergey B Kirpichev)
* Various fixes for the test code and test infrastructure on different
  platforms and Python versions (Sergey B Kirpichev)
* Fixed module paths in setup.py (Aaron Meurer)
* Documented more options for methods such as nstr() and hyper()
* Miscellaneous corrections to the documentation (various)


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/math/py-mpmath/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/py-mpmath/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/py-mpmath/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-mpmath/Makefile
diff -u pkgsrc/math/py-mpmath/Makefile:1.13 pkgsrc/math/py-mpmath/Makefile:1.14
--- pkgsrc/math/py-mpmath/Makefile:1.13 Thu Jan 19 18:52:18 2017
+++ pkgsrc/math/py-mpmath/Makefile      Thu Jan 11 08:07:44 2018
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2017/01/19 18:52:18 agc Exp $
+# $NetBSD: Makefile,v 1.14 2018/01/11 08:07:44 adam Exp $
 
-DISTNAME=      mpmath-0.19
+DISTNAME=      mpmath-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    math
+CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mpmath/}
 MASTER_SITES+= http://mpmath.org/files/
 
@@ -11,30 +11,13 @@ HOMEPAGE=   http://mpmath.org/
 COMMENT=       Python library for arbitrary-precision FP arithmetic
 LICENSE=       modified-bsd
 
-USE_LANGUAGES= # none
-PYDISTUTILSPKG=        yes
-
-TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
+# py-gmpy provides faster backend
+DEPENDS+=      ${PYPKGPREFIX}-gmpy-[0-9]*:../../math/py-gmpy
 
-SUBST_CLASSES+=                python
-SUBST_STAGE.python=    post-patch
-SUBST_FILES.python+=   mpmath/matrices/eigen.py mpmath/matrices/eigen_symmetric.py
-SUBST_FILES.python+=   mpmath/tests/test_eigen.py mpmath/tests/test_eigen_symmetric.py
-SUBST_FILES.python+=   mpmath/tests/test_levin.py
-SUBST_MESSAGE.python=  Fixing path to Python interpreter.
-SUBST_SED.python=      -e "s,/usr/bin/python,${PYTHONBIN},g"
-
-SUBST_CLASSES+=                python2
-SUBST_STAGE.python2=   post-patch
-SUBST_FILES.python2+=  mpmath/tests/runtests.py
-SUBST_MESSAGE.python2= Fixing path to Python interpreter.
-SUBST_SED.python2=     -e "s,/usr/bin/env python,${PYTHONBIN},g"
+USE_LANGUAGES= # none
 
 do-test:
-       ${RUN} cd ${WRKSRC}/build/lib/mpmath/tests; \
-       ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
+       cd ${WRKSRC}/mpmath/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
 
-.include "../../lang/python/extension.mk"
-# optional speedup
-#.include "../../math/py-gmpy/buildlink3.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/py-mpmath/PLIST
diff -u pkgsrc/math/py-mpmath/PLIST:1.5 pkgsrc/math/py-mpmath/PLIST:1.6
--- pkgsrc/math/py-mpmath/PLIST:1.5     Fri Jun  6 12:11:46 2014
+++ pkgsrc/math/py-mpmath/PLIST Thu Jan 11 08:07:44 2018
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2014/06/06 12:11:46 wen Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/01/11 08:07:44 adam Exp $
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/mpmath/__init__.py
 ${PYSITELIB}/mpmath/__init__.pyc
 ${PYSITELIB}/mpmath/__init__.pyo
@@ -17,6 +18,9 @@ ${PYSITELIB}/mpmath/calculus/differentia
 ${PYSITELIB}/mpmath/calculus/extrapolation.py
 ${PYSITELIB}/mpmath/calculus/extrapolation.pyc
 ${PYSITELIB}/mpmath/calculus/extrapolation.pyo
+${PYSITELIB}/mpmath/calculus/inverselaplace.py
+${PYSITELIB}/mpmath/calculus/inverselaplace.pyc
+${PYSITELIB}/mpmath/calculus/inverselaplace.pyo
 ${PYSITELIB}/mpmath/calculus/odes.py
 ${PYSITELIB}/mpmath/calculus/odes.pyc
 ${PYSITELIB}/mpmath/calculus/odes.pyo

Index: pkgsrc/math/py-mpmath/distinfo
diff -u pkgsrc/math/py-mpmath/distinfo:1.7 pkgsrc/math/py-mpmath/distinfo:1.8
--- pkgsrc/math/py-mpmath/distinfo:1.7  Tue Nov  3 23:33:42 2015
+++ pkgsrc/math/py-mpmath/distinfo      Thu Jan 11 08:07:44 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 23:33:42 agc Exp $
+$NetBSD: distinfo,v 1.8 2018/01/11 08:07:44 adam Exp $
 
-SHA1 (mpmath-0.19.tar.gz) = 65da0ed4ed01d067f0f5b890ca28ad2f2fb56343
-RMD160 (mpmath-0.19.tar.gz) = 96c4f24528e8785209242cb9c36686c42248213f
-SHA512 (mpmath-0.19.tar.gz) = aeaef19f28b0c8a72d5bb093e23a8b1a8d6843f9087711e646b857c8a7722b11611fda76d3fe03c7fee042d0b69fc8f8bbbbb13a97c116a147346f36cdb4f8bf
-Size (mpmath-0.19.tar.gz) = 498564 bytes
+SHA1 (mpmath-1.0.0.tar.gz) = 1df3f1f930b9b7e752c56857f1ac22a62f25b854
+RMD160 (mpmath-1.0.0.tar.gz) = 89440e75bf0b33b125314bf60d92c5d4279c123b
+SHA512 (mpmath-1.0.0.tar.gz) = e26336ef35719d9a5a7387b9104be4251726bc9753ad4763f1d6041491e9904d9fc97831875cddbfd0b6b0eb641d579fcc3f556bfae7dd8acd1c5c6b10e8cd61
+Size (mpmath-1.0.0.tar.gz) = 511353 bytes



Home | Main Index | Thread Index | Old Index