diff --git a/srcpkgs/python3-cffi/template b/srcpkgs/python3-cffi/template index 9be8775ca6d..39e8677b50e 100644 --- a/srcpkgs/python3-cffi/template +++ b/srcpkgs/python3-cffi/template @@ -1,19 +1,19 @@ # Template file for 'python3-cffi' pkgname=python3-cffi -version=1.15.1 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools libffi-devel" +version=1.16.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel libffi-devel" makedepends="python3-devel libffi-devel" depends="python3-pycparser" -checkdepends="python3-pytest ${depends}" +checkdepends="python3-pytest-xdist ${depends}" short_desc="C foreign function interface for Python3" maintainer="Andrew J. Hesford " license="MIT" homepage="https://cffi.readthedocs.io/" changelog="https://cffi.readthedocs.io/en/latest/whatsnew.html" distfiles="${PYPI_SITE}/c/cffi/cffi-${version}.tar.gz" -checksum=d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 +checksum=bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 do_check() { # glibc libm.so is a GNU ld script that isn't properly handled @@ -25,7 +25,7 @@ do_check() { excludes+=' and not test_stdcall_only_on_windows' PYTHONPATH="$(cd build/lib* && pwd)" \ - python3 -m pytest c/ testing/ -x -k "$excludes" + pytest3 src/c -n "${XBPS_MAKEJOBS}" -k "$excludes" } post_install() {