Date: Tuesday, October 27, 2020 @ 19:04:31 Author: demize Revision: 734848
archrelease: copy trunk to community-testing-any Added: python-pysaml2/repos/community-testing-any/ python-pysaml2/repos/community-testing-any/PKGBUILD (from rev 734847, python-pysaml2/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: python-pysaml2/repos/community-testing-any/PKGBUILD (from rev 734847, python-pysaml2/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-10-27 19:04:31 UTC (rev 734848) @@ -0,0 +1,44 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: Ivan Shapovalov <inte...@intelfx.name> + +pkgname=python-pysaml2 +pkgver=6.2.0 +pkgrel=1 + +pkgdesc='Python implementation of SAML Version 2' +url='https://pypi.python.org/pypi/pysaml2' +arch=('any') +license=('Apache') + +depends=('python' + 'python-future' + 'python-requests' + 'python-zope-interface' + 'python-pycryptodomex' + 'python-pytz' + 'python-pyopenssl' + 'python-dateutil' + 'python-six' + 'python-defusedxml') +makedepends=('python-setuptools') + +source=("https://pypi.org/packages/source/p/pysaml2/pysaml2-$pkgver.tar.gz") + +md5sums=('a249944d0b3c601515477cfa05455f65') + +build() { + cd "$srcdir"/pysaml2-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/pysaml2-$pkgver + python setup.py test +} + +package() { + cd pysaml2-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} + +# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :