22 lines
830 B
Bash
22 lines
830 B
Bash
# Template file for 'python3-cypari2'
|
|
pkgname=python3-cypari2
|
|
version=2.1.3
|
|
revision=5
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-Cython pari perl"
|
|
makedepends="python3-devel python3-cysignals 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"
|
|
distfiles="https://github.com/sagemath/cypari2/archive/refs/tags/${version}.tar.gz"
|
|
checksum=6f6f6ca2b2c2dbef4444727e8fb8652b090cfac4297ba959e94b3a91bbd86548
|
|
|
|
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
|
|
}
|