python3-pplpy: add python3 as dep, fix tests

This commit is contained in:
icp 2022-11-17 01:11:01 +05:30 committed by Michal Vasilek
parent 674e17bb67
commit b2759d24c8
1 changed files with 6 additions and 1 deletions

View File

@ -1,11 +1,12 @@
# Template file for 'python3-pplpy'
pkgname=python3-pplpy
version=0.8.7
revision=2
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-cysignals python3-gmpy2 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"
@ -13,3 +14,7 @@ homepage="https://gitlab.com/videlec/pplpy"
changelog="https://gitlab.com/videlec/pplpy/-/raw/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pplpy/pplpy-${version}.tar.gz"
checksum=500bd0f4ae1a76956fae7fcba77854f5ec3e64fce76803664983763c3f2bd8bd
do_check() {
PYTHONPATH=$(cd build/lib* && pwd) python3 setup.py test
}