28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'python3-saml2'
|
|
pkgname=python3-saml2
|
|
version=7.1.0
|
|
revision=1
|
|
wrksrc="pysaml2-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-cryptography python3-openssl python3-dateutil
|
|
python3-pytz python3-requests python3-six python3-defusedxml
|
|
python3-xmlschema"
|
|
checkdepends="python3-pytest python3-mock xmlsec1-devel $depends"
|
|
short_desc="Python3 implementation of SAML Version 2 Standard"
|
|
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=2c5224cd52525d92000c0a5a2f732718fa9935de98c1c42e6dbea322aeffdd6d
|
|
|
|
do_check() {
|
|
# Ignore tests that depend on packages not provided by Void
|
|
PYTHONPATH=src python3 -m pytest \
|
|
--ignore=tests/test_30_mdstore.py \
|
|
--ignore=tests/test_36_mdbcache.py \
|
|
--ignore=tests/test_75_mongodb.py \
|
|
--ignore=tests/test_76_metadata_in_mdb.py
|
|
}
|