void-packages/srcpkgs/python3-cypari2/template

24 lines
902 B
Bash

# Template file for 'python3-cypari2'
pkgname=python3-cypari2
version=2.1.5
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-Cython
python3-cysignals pari perl"
makedepends="python3-devel pari-devel gmp-devel"
depends="python3-cysignals"
checkdepends="${depends} python3-pytest"
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"
changelog="https://github.com/sagemath/cypari2/releases"
distfiles="https://github.com/sagemath/cypari2/archive/refs/tags/${version}.tar.gz"
checksum=3cea1051f7cd8832b7907d11c68764e83a430036698a215abae48924a580d7fb
do_check() {
# Please do not disable this custom check;
# This will run many more tests than just running pytest
PYTHONPATH=$(cd build/lib* && pwd) make check
}