1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-prawcore
6 pkgdesc="Low-level communication layer for PRAW 4+."
9 url="https://github.com/praw-dev/prawcore"
10 depends=('python-requests')
11 makedepends=('python-setuptools')
12 checkdepends=('python-mock' 'python-betamax-matchers' 'python-betamax-serializers'
13 'python-testfixtures')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz")
15 sha512sums=('e6330ed370d987720c257913ca521ddd9129aea857792e9a17b9864c275034b795b2a577f4c2235877b165df91f0898bd8e4372b59224d6eb36d5efaa4a2d3f6')
24 python setup.py install --root="$pkgdir" --optimize=1
25 install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt