void-packages/srcpkgs/python3-cypari2/template
2025-01-22 22:58:21 -05:00

23 lines
902 B
Bash

# Template file for 'python3-cypari2'
pkgname=python3-cypari2
version=2.2.1
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=3bcadf6d3e49db7438eeae581db57ec465dcff90fc5177812716f1bfc86895d3
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
}