21 lines
657 B
Bash
21 lines
657 B
Bash
# Template file for 'python3-gmpy2'
|
|
pkgname=python3-gmpy2
|
|
version=2.1.0rc1
|
|
revision=1
|
|
wrksrc="gmpy2-${version}"
|
|
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=86cb6d8e5837560c32c706d48d6ed25676be6b3c79e6aa5d245965b9e99231b9
|
|
|
|
do_check() {
|
|
PYTHONPATH="$(cd build/lib* && pwd)" \
|
|
python3 test/runtests.py
|
|
}
|