void-packages/srcpkgs/python3-cypari2/template

20 lines
668 B
Bash
Raw Normal View History

2022-01-15 21:28:55 +00:00
# Template file for 'python3-cypari2'
pkgname=python3-cypari2
version=2.1.2
revision=1
wrksrc=cypari2-${version}
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython pari perl"
makedepends="python3-devel python3-cysignals pari-devel gmp-devel"
short_desc="Python interface to the number theory library PARI/GP"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://github.com/sagemath/cypari2"
distfiles="${PYPI_SITE}/c/cypari2/cypari2-${version}.tar.gz"
checksum=03cd45edab8716ebbfdb754e65fea72e873c73dc91aec098fe4a01e35324ac7a
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" \
make check
}