added aur/python2-requests

This commit is contained in:
Kevin Mihelich 2012-03-05 19:35:58 -05:00
parent f7642ba9de
commit 88e7ed114a

View file

@ -0,0 +1,25 @@
pkgname=python2-requests-0.10.0
plugrel=1
pkgver=0.10.0
pkgrel=2
pkgdesc="Python HTTP for Humans."
url="http://python-requests.org"
depends=('python2' )
makedepends=('python2-distribute' )
optdepends=('python2-certifi: SSL support')
license=('custom: ISC')
arch=('any')
source=("http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz")
conflicts=('python2-requests')
build() {
cd $srcdir/requests-$pkgver
python2 setup.py build
}
package() {
cd $srcdir/requests-$pkgver
python2 setup.py install --root="$pkgdir" --optimize=1
}
md5sums=('c90a48af18eb4170dbe4832c1104440c')