# Contributor: Jakob Gahde # Maintainer: Simon Hanna pkgbase=django-allauth pkgname=('python-django-allauth' 'python2-django-allauth') pkgver=0.30.0 pkgrel=1 pkgdesc="Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication." arch=('any') license=('MIT') url="http://www.intenct.nl/projects/django-allauth/" makedepends=('python-setuptools' 'python2-setuptools') source=("https://github.com/pennersr/${pkgbase}/archive/${pkgver}.tar.gz") sha256sums=('6d1794e42b0e9652da4d41772fae7b1717f271a817203c2fc3301ee786ec768c') package_python-django-allauth() { depends=('python' 'python-django' 'python-openid' 'python-requests-oauthlib' 'python-requests') cd "${srcdir}/${pkgbase}-${pkgver}" python setup.py install --root="${pkgdir}" -O1 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } package_python2-django-allauth() { depends=('python2' 'python2-django' 'python2-openid' 'python2-requests-oauthlib' 'python2-requests') cd "${srcdir}/${pkgbase}-${pkgver}" python2 setup.py install --root="${pkgdir}" -O1 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }