python3-pplpy: update to 0.8.9, fix cross-build.

This commit is contained in:
Gonzalo Tornaría 2023-10-16 18:13:34 -03:00 committed by Andrew J. Hesford
parent 9aa9486d0c
commit 29c4f7d1ad
2 changed files with 17 additions and 9 deletions

View File

@ -0,0 +1,7 @@
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,3 @@
[build-system]
-requires = ["setuptools", "wheel", "Cython", "cysignals", "sphinx", "gmpy2>=2.1.0b1"]
+requires = ["setuptools", "wheel", "Cython", "cysignals", "gmpy2>=2.1.0b1"]
build-backend = "setuptools.build_meta"

View File

@ -1,19 +1,20 @@
# Template file for 'python3-pplpy'
pkgname=python3-pplpy
version=0.8.7
revision=4
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython0.29"
makedepends="python3-cysignals python3-gmpy2 python3-devel gmp-devel
gmpxx-devel ppl-devel mpfr-devel libmpc-devel pari-devel"
version=0.8.9
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-Cython0.29
python3-cysignals python3-gmpy2"
makedepends="python3-devel gmp-devel gmpxx-devel ppl-devel mpfr-devel
libmpc-devel pari-devel"
depends="python3"
short_desc="Python wrapper to the C++ Parma Polyhedra Library (PPL)"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/videlec/pplpy"
changelog="https://gitlab.com/videlec/pplpy/-/raw/master/CHANGES.txt"
homepage="https://github.com/sagemath/pplpy"
changelog="https://raw.githubusercontent.com/sagemath/pplpy/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pplpy/pplpy-${version}.tar.gz"
checksum=500bd0f4ae1a76956fae7fcba77854f5ec3e64fce76803664983763c3f2bd8bd
checksum=db7a3b571d6ef053f75137975e947c3a1c1e45a30bab90eaf215b4e5cc15797e
do_check() {
PYTHONPATH=$(cd build/lib* && pwd) python3 setup.py test