PKGBUILD 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Maintainer: bill-auger <bill-auger@programmer.net>
  2. # Maintainer (aur): Simon Hanna <simon dot hanna AT serve-me DOT info>
  3. # Contributor: Jakob Gahde <j5lx@fmail.co.uk>
  4. pkgbase='django-allauth'
  5. pkgname=('python-django-allauth' 'python2-django-allauth')
  6. pkgver=0.37.0
  7. pkgrel=1
  8. pkgdesc="Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication."
  9. arch=('any')
  10. license=('MIT')
  11. url=http://www.intenct.nl/projects/django-allauth/
  12. makedepends=('python-setuptools' 'python2-setuptools')
  13. source=(https://github.com/pennersr/${pkgbase}/archive/${pkgver}.tar.gz)
  14. sha256sums=('3d526573d0f3463506c605224a9bb444cdf0ad2e7118206a8e8cf9af6489efc3')
  15. package_python-django-allauth()
  16. {
  17. depends=('python' 'python-django>=1.11' 'python2-openid' 'python-requests-oauthlib>=0.3.0'
  18. 'python-requests')
  19. cd "${srcdir}/${pkgbase}-${pkgver}"
  20. python setup.py install --root="${pkgdir}" -O1
  21. install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  22. }
  23. package_python2-django-allauth()
  24. {
  25. depends=('python2' 'python2-django>=1.10' 'python2-openid'
  26. 'python2-requests-oauthlib' 'python2-requests')
  27. cd "${srcdir}/${pkgbase}-${pkgver}"
  28. python2 setup.py install --root="${pkgdir}" -O1
  29. install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  30. }