python3-saml2: update to 7.1.0, adopt.

This commit is contained in:
Joel Beckmeyer 2021-11-10 09:40:07 -05:00 committed by paper
parent 267202d47f
commit 7026a5a5a3

View file

@ -1,7 +1,7 @@
# Template file for 'python3-saml2'
pkgname=python3-saml2
version=6.5.1
revision=2
version=7.1.0
revision=1
wrksrc="pysaml2-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
@ -10,20 +10,12 @@ depends="python3-cryptography python3-openssl python3-dateutil
python3-xmlschema"
checkdepends="python3-pytest python3-mock xmlsec1-devel $depends"
short_desc="Python3 implementation of SAML Version 2 Standard"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
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=3940f4b7da41f42d4155a21d50d28145b5bfec4724300553f09e4fe647f76cf9
post_patch() {
# importlib_resources just delegate to importlib.resources
# in Python 3.9
vsed -i -e 's/importlib_resources/importlib.resources/' \
src/saml2/xml/schema/__init__.py \
src/saml2/sigver.py
vsed -i -e '/importlib_resources/d' setup.cfg
}
checksum=2c5224cd52525d92000c0a5a2f732718fa9935de98c1c42e6dbea322aeffdd6d
do_check() {
# Ignore tests that depend on packages not provided by Void