24 lines
902 B
Bash
24 lines
902 B
Bash
# Template file for 'python3-cypari2'
|
|
pkgname=python3-cypari2
|
|
version=2.1.4
|
|
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=95daf1a74275a35730bbca75144776c1bb0594dd90af82ebf7bf96bb1a52c3d8
|
|
|
|
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
|
|
}
|