Date: Monday, December 2, 2019 @ 20:16:25 Author: demize Revision: 534750
archrelease: copy trunk to community-testing-any Added: python-pysaml2/repos/community-testing-any/ python-pysaml2/repos/community-testing-any/PKGBUILD (from rev 534749, python-pysaml2/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: python-pysaml2/repos/community-testing-any/PKGBUILD (from rev 534749, python-pysaml2/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-12-02 20:16:25 UTC (rev 534750) @@ -0,0 +1,44 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: Ivan Shapovalov <inte...@intelfx.name> + +pkgname=python-pysaml2 +pkgver=4.9.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=('7c9e7354ff0b753d45486635acb14ebc') + +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 :