python3-mpmath: depend on python3-gmpy2
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.
This commit is contained in:
parent
a4f65e8421
commit
6289273484
2 changed files with 3 additions and 7 deletions
|
@ -1,4 +0,0 @@
|
||||||
If you require plotting capabilities, install python3-matplotlib.
|
|
||||||
|
|
||||||
mpmath internally uses Python's builtin long integers by default.
|
|
||||||
For much faster high-precision arithmetic, install python3-gmpy2.
|
|
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'python3-mpmath'
|
# Template file for 'python3-mpmath'
|
||||||
pkgname=python3-mpmath
|
pkgname=python3-mpmath
|
||||||
version=1.2.1
|
version=1.2.1
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="mpmath-${version}"
|
wrksrc="mpmath-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools_scm"
|
hostmakedepends="python3-setuptools_scm"
|
||||||
depends="python3"
|
depends="python3 python3-gmpy2"
|
||||||
checkdepends="python3-pytest"
|
checkdepends="python3-pytest"
|
||||||
short_desc="Python3 library for arbitrary-precision floating-point arithmetic"
|
short_desc="Python3 library for arbitrary-precision floating-point arithmetic"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="http://mpmath.org/"
|
homepage="http://mpmath.org/"
|
||||||
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
|
||||||
|
|
Loading…
Reference in a new issue