6289273484
By default mpmath uses python's builtin long integers which are very slow. Installing python3-gmpy2 makes it use gmp, mpfr, mpc for that, which is asymptotically faster. After a discussion in #33481 it was decided to add it to depends. Also: - remove INSTALL.msg; for plotting, mpmath itself gives a warning. - Adopt.
19 lines
599 B
Bash
19 lines
599 B
Bash
# Template file for 'python3-mpmath'
|
|
pkgname=python3-mpmath
|
|
version=1.2.1
|
|
revision=3
|
|
wrksrc="mpmath-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm"
|
|
depends="python3 python3-gmpy2"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Python3 library for arbitrary-precision floating-point arithmetic"
|
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://mpmath.org/"
|
|
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
|
|
checksum=79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|