# Maintainer: Peter Mattern pkgname=python2-saml pkgver=2.10.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=('5d31e22f16f132fa02f0d00b5ce43ac489a1e55fad0314629f73976a588696f9') 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 }