void-packages/srcpkgs/python3-fpylll/template

25 lines
803 B
Bash

# Template file for 'python3-fpylll'
pkgname=python3-fpylll
version=0.5.7
revision=2
build_style=python3-module
hostmakedepends="python3-Cython"
makedepends="python3-cysignals python3-devel gmp-devel mpfr-devel fplll-devel
pari-devel"
checkdepends="python3-pytest python3-numpy"
short_desc="Python wrapper to fplll (floating point lattice algorithms)"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://github.com/fplll/fpylll"
distfiles="${PYPI_SITE}/f/fpylll/fpylll-${version}.tar.gz"
checksum=1afc88feee50a3e84de55e3913295922c25691f6edafb9ecfe8f2e90306758f6
case $XBPS_TARGET_MACHINE in
# skip a test with numerical noise on 32 bit
i686*) make_check_args="-k not(averaged_simulate_prob)" ;;
esac
pre_check() {
export PY_IGNORE_IMPORTMISMATCH=1
}