21 lines
654 B
Bash
21 lines
654 B
Bash
# Template file for 'python3-gmpy2'
|
|
pkgname=python3-gmpy2
|
|
version=2.1.1
|
|
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=346f442063c8212c347e330519905591626ea6fa31aa6ccd299ecd5654e1086f
|
|
|
|
do_check() {
|
|
PYTHONPATH="$(cd build/lib* && pwd)" \
|
|
python3 test/runtests.py
|
|
}
|