21 lines
681 B
Bash
21 lines
681 B
Bash
# Template file for 'python3-gmpy2'
|
|
pkgname=python3-gmpy2
|
|
version=2.1.5
|
|
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"
|
|
changelog="https://github.com/aleaxit/gmpy/releases"
|
|
distfiles="${PYPI_SITE}/g/gmpy2/gmpy2-${version}.tar.gz"
|
|
checksum=bc297f1fd8c377ae67a4f493fc0f926e5d1b157e5c342e30a4d84dc7b9f95d96
|
|
|
|
do_check() {
|
|
PYTHONPATH="$(cd build/lib* && pwd)" \
|
|
python3 test/runtests.py
|
|
}
|