blob: 02e10b29c0843e341087ab11b4343124ef82e44a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: getzze
#
pkgname='python-django-oauth-toolkit'
_pkgbase="django-oauth-toolkit"
pkgver=1.5.0
pkgrel=1
pkgdesc='OAuth2 Provider for Django'
arch=(any)
url='https://github.com/jazzband/django-oauth-toolkit'
license=(BSD)
makedepends=( python-setuptools )
depends=(
python-django
python-requests
python-oauthlib
python-jwcrypto
)
options=(!emptydirs)
source=("https://github.com/jazzband/${_pkgbase}/archive/${pkgver}.zip")
sha256sums=('82347e1486a1d665638bc3c662e6810b6239152d9c4a3aafa31b16a3305fcde4')
package() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et:
|