summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 982d1c7be96076b86f32259a65f33d34e946ff7a (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
# Maintainer: Sergey Shatunov <me@prok.pw>

_pkgname=Flask-OAuthlib
pkgname=python2-flask-oauthlib
pkgver=0.9.3
pkgrel=1
pkgdesc='Flask-OAuthlib is an extension to Flask that allows you to interact with remote OAuth enabled applications'
arch=(any)
url='https://github.com/lepture/flask-oauthlib'
license=('MIT')
depends=('python2' 'python2-oauthlib')
makedepends=('python2-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" )
md5sums=('5cf967e3f678a22aee8cb99ebc906c58')

build() {
  cd ${srcdir}/${_pkgname}-${pkgver}
  python2 setup.py build
}

package() {
  cd ${srcdir}/${_pkgname}-${pkgver}
  python2 setup.py install --prefix=/usr --root=${pkgdir} --optimize=1
}