From 7026a5a5a31a5309c4116d17a83592a0eab36b81 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 10 Nov 2021 09:40:07 -0500 Subject: [PATCH] python3-saml2: update to 7.1.0, adopt. --- srcpkgs/python3-saml2/template | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/srcpkgs/python3-saml2/template b/srcpkgs/python3-saml2/template index 355d99a85c6..c506b92e248 100644 --- a/srcpkgs/python3-saml2/template +++ b/srcpkgs/python3-saml2/template @@ -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 " +maintainer="Joel Beckmeyer " 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