27 lines
874 B
Bash
27 lines
874 B
Bash
# Template file for 'python3-fpylll'
|
|
pkgname=python3-fpylll
|
|
version=0.5.9
|
|
revision=3
|
|
build_style=python3-module
|
|
hostmakedepends="python3-Cython"
|
|
makedepends="python3-cysignals 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=be16d40fd94ddea771ccef44434732dfbf9a88cf15cd5f9020ec7a8197f16358
|
|
|
|
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
|
|
}
|