Date: Tuesday, June 23, 2020 @ 06:44:34 Author: felixonmars Revision: 650896
archrelease: copy trunk to community-testing-any Added: python-praw/repos/community-testing-any/ python-praw/repos/community-testing-any/PKGBUILD (from rev 650895, python-praw/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: python-praw/repos/community-testing-any/PKGBUILD (from rev 650895, python-praw/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-06-23 06:44:34 UTC (rev 650896) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-praw +pkgver=7.1.0 +pkgrel=1 +pkgdesc="Python Reddit API Wrapper that allows for simple access to reddit's API" +arch=('any') +license=('GPL') +url="https://praw.readthedocs.org" +depends=('python-prawcore' 'python-update-checker' 'python-websocket-client') +makedepends=('python-setuptools' 'python-pytest-runner') +checkdepends=('python-mock' 'python-betamax-serializers' 'python-betamax-matchers') +source=("$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/praw/archive/v$pkgver.tar.gz") +sha512sums=('3c04bd12877ee0487df9b385b442984fbaee70fdbd0f27d1e6d6b4d798ac55d7f887a24b1d5ef1db9a52a6b759655b212a83495b5833415932cd9e4343bcfe45') + +build() { + cd praw-$pkgver + python setup.py build +} + +check() { + cd praw-$pkgver + python setup.py pytest +} + +package() { + cd praw-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}