void-packages/srcpkgs/python3-mpmath/template
Gonzalo Tornaría 6289273484 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.
2021-10-13 15:00:00 -04:00

20 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
}