Commit 667c4b9d authored by Iztok Fister Jr.'s avatar Iztok Fister Jr. Committed by alice
Browse files

testing/py3-mpmath: new aport

parent 514218b0
Pipeline #137686 passed with stage
in 10 minutes and 37 seconds
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-mpmath
_pkgorig=mpmath
pkgver=1.2.1
pkgrel=0
pkgdesc="A Python library for arbitrary-precision floating-point arithmetic"
url="https://mpmath.org/"
arch="all"
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev py3-setuptools_scm py3-wheel"
checkdepends="
python3
py3-codecov
py3-pycodestyle
py3-pytest
py3-pytest-cov
"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/m/mpmath/mpmath-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
rm -r "$pkgdir"/usr/lib/python3.*/site-packages/mpmath/tests
}
sha512sums="
9644d69f3065a9eb2d90edc5b8c3709703aacbf53741ba4f9f57e2496b9f34bfdf656c247066b9825849c76583603dae77e8ff9c52f87978c53d6863f15dc5e3 py3-mpmath-1.2.1.tar.gz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment