# Maintainer: Peter Mattern pkgname=python2-saml pkgver=2.9.0 pkgrel=1 pkgdesc="OneLogin's SAML Python Toolkit. Python 2 version / upstream python-saml." arch=('any') url='https://github.com/onelogin/python-saml' license=('MIT') makedepends=('python2-setuptools') depends=('python2-defusedxml' 'python2-isodate' 'python2-dm.xmlsec.binding') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") sha256sums=('2deed8c54fd6bed4e6c9935fcd3ee71d5281f998c5030c53298a65ecc718cdb1') build() { cd python-saml-${pkgver} python2 setup.py build } package() { cd python-saml-${pkgver} python2 setup.py install --root ${pkgdir} install -Dm644 ${srcdir}/python-saml-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }