diff --git a/srcpkgs/python3-saml2/template b/srcpkgs/python3-saml2/template index f805b568071..0a386d5c2ae 100644 --- a/srcpkgs/python3-saml2/template +++ b/srcpkgs/python3-saml2/template @@ -1,12 +1,13 @@ # Template file for 'python3-saml2' pkgname=python3-saml2 -version=7.2.1 -revision=2 -build_style=python3-module +version=7.4.1 +revision=1 +build_style=python3-pep517 make_check_args="--ignore=tests/test_36_mdbcache.py \ --ignore=tests/test_75_mongodb.py \ --ignore=tests/test_76_metadata_in_mdb.py" -hostmakedepends="python3-setuptools" +make_install_target="dist/pysaml2-${version}-*-*-*.whl" +hostmakedepends="python3-poetry-core unzip" depends="python3-cryptography python3-openssl python3-dateutil python3-pytz python3-requests python3-six python3-defusedxml python3-xmlschema" checkdepends="python3-pytest python3-mock xmlsec1-devel python3-responses @@ -17,5 +18,9 @@ license="Apache-2.0" homepage="https://github.com/IdentityPython/pysaml2" changelog="https://raw.githubusercontent.com/IdentityPython/pysaml2/master/CHANGELOG.md" distfiles="https://github.com/IdentityPython/pysaml2/archive/v${version}.tar.gz" -checksum=c6f5e36c0df040ebeccc0acc0be65960a2f12aaba1d77bbdae29cc3c475b0cdc +checksum=33afba452544662887f6eb8c6405aeebfa4017dc7762e414ab4318f2f9d9bb6d make_check_pre="env PYTHONPATH=src" + +pre_check() { + unzip ${make_install_target} "*.dist-info/*" +}