# Description: Python implementation of SAML Version 2
# URL: https://pypi.python.org/pypi/pysaml2
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-dateutil python3-defusedxml python3-future python3-importlib_resources python3-poetry-core python3-pycryptodomex python3-pytz python3-requests python3-xmlschema python3-zope-interface xmlsec

name=python3-pysaml2
version=7.4.2
release=1
source=(https://pypi.org/packages/source/p/pysaml2/pysaml2-$version.tar.gz)

build() {
  cd pysaml2-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
