blob: d31f35838b4776183536b0c4a138711ec41a7321 (
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
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=py-oauthlib
_pkgname=${pkgname#py-}
pkgver=0.6.1
pkgrel=0
pkgdesc="A Python implementation of the OAuth request-signing logic"
url="https://github.com/idan/oauthlib"
arch="noarch"
license="BSD"
depends="python py-crypto"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="18f8524c85606380c1ef8a7ff50d69cc oauthlib-0.6.1.tar.gz"
sha256sums="3850fbe9cd9a9a8f82b3ed79a5948aa9f46d6f4405eacbc6bafb74e9f755c8ee oauthlib-0.6.1.tar.gz"
sha512sums="862a65e604c0e031eb840e276ce59171cb5daa7165c8bc60d31b5e7583aab86f533ee9da9a5062c6f8a48a9b5e14df094415f3ad76329cbc89ec7534a3aa2c8e oauthlib-0.6.1.tar.gz"
|