091b9cf0d2
1.1.0: Bugs: * Fixed severe bug in householder() for complex matrices * Fixed frequently-reported bug where findroot() mysteriously raised UnboundLocalError * Corrected rounding in binary-to-decimal conversion above 500 digits * Fixed minor loss of accuracy affecting rf(), ff(), binomial(), beta() * Fixed incorrect computation of the Hurwitz zeta function in some cases * Fixed accuracy of digamma function near 0 * Fixed RuntimeError in qfac() in Python 3.7 caused by raising StopIteration * Fix to allow NumPy arrays in fdot() Features and improvements: * Added more automatic conversions from Fraction, Decimal, NumPy types * Support creating mpf from a long literal * Implemented log1p() * Slight speedup of eig() * Implement polylog() for general complex s and z by using Hurwitz zeta algorithm as a fallback Library: * Test more CPython and PyPy versions * Drop support for Python 2.6 and 3.2 * Use py.test for test code; lots of code cleanup * Corrections to the documentation
23 lines
652 B
Makefile
23 lines
652 B
Makefile
# $NetBSD: Makefile,v 1.15 2019/05/06 08:48:06 adam Exp $
|
|
|
|
DISTNAME= mpmath-1.1.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mpmath/}
|
|
MASTER_SITES+= http://mpmath.org/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://mpmath.org/
|
|
COMMENT= Python library for arbitrary-precision FP arithmetic
|
|
LICENSE= modified-bsd
|
|
|
|
# py-gmpy provides faster backend
|
|
DEPENDS+= ${PYPKGPREFIX}-gmpy-[0-9]*:../../math/py-gmpy
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/mpmath/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|