void-packages/srcpkgs/python3-fpylll/template

24 lines
903 B
Bash

# Template file for 'python3-fpylll'
pkgname=python3-fpylll
version=0.6.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-Cython
python3-cysignals"
makedepends="python3-devel gmp-devel mpfr-devel fplll-devel pari-devel"
depends="python3"
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"
changelog="https://github.com/fplll/fpylll/releases"
distfiles="${PYPI_SITE}/f/fpylll/fpylll-${version}.tar.gz"
checksum=dfd9529a26c50993a2a716177debd7994312219070574cad31b35b4f0c040a19
make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
case $XBPS_TARGET_MACHINE in
# skip a test with numerical noise on 32 bit
i686*) make_check_args="-k not(averaged_simulate_prob)" ;;
esac