mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
25 lines
610 B
Bash
25 lines
610 B
Bash
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')
|