void-packages/srcpkgs/python3-gmpy2/template

20 lines
628 B
Bash

# Template file for 'python3-gmpy2'
pkgname=python3-gmpy2
version=2.1.3
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel gmp-devel mpfr-devel libmpc-devel"
depends="python3"
short_desc="Python3 interface to GMP, MPFR and MPC libraries"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-3.0-or-later"
homepage="https://github.com/aleaxit/gmpy"
distfiles="${PYPI_SITE}/g/gmpy2/gmpy2-${version}.tar.gz"
checksum=10360cc39f1eb56e3a833a4d1cae3884c7f65b6ec490994801e6939dc08870ae
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" \
python3 test/runtests.py
}