1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 # Contributor: lilydjwg <lilydjwg@gmail.com>
4 pkgname=python-requests-file
7 pkgdesc="File transport adapter for Requests"
9 url="https://github.com/dashea/requests-file"
11 depends=('python-six' 'python-requests')
12 makedepends=('python-setuptools')
13 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dashea/requests-file/archive/${pkgver}.tar.gz")
14 sha256sums=('a9b0a80675727f320cd5c71d6eb70cc3969b468dc27896a893148c0f6b424446')
17 cd "$srcdir"/requests-file-${pkgver}
19 python setup.py build_ext --inplace
24 cd "$srcdir"/requests-file-${pkgver}
26 python setup.py install --skip-build --root="$pkgdir" --optimize=1