Date: Thursday, October 25, 2018 @ 18:57:02 Author: felixonmars Revision: 399032
archrelease: copy trunk to community-any Added: python-flask-dance/repos/community-any/ python-flask-dance/repos/community-any/PKGBUILD (from rev 399031, python-flask-dance/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: python-flask-dance/repos/community-any/PKGBUILD (from rev 399031, python-flask-dance/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2018-10-25 18:57:02 UTC (rev 399032) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-flask-dance +pkgver=1.1.0 +pkgrel=1 +pkgdesc="Doing the OAuth dance with style using Flask, requests, and oauthlib" +url="https://github.com/singingwolfboy/flask-dance" +license=('MIT') +arch=('any') +depends=('python-requests' 'python-oauthlib' 'python-requests-oauthlib' 'python-flask' + 'python-urlobject' 'python-six' 'python-lazy') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner' 'python-sphinx' 'python-pytest-cov' 'python-mock' + 'python-responses' 'python-freezegun' 'python-sqlalchemy' 'python-sqlalchemy-utils' + 'python-flask-sqlalchemy' 'python-flask-login' 'python-flask-caching' + 'python-flask-sphinx-themes' 'python-sphinxcontrib-seqdiag') +source=("$pkgname-$pkgver.tar.gz::https://github.com/singingwolfboy/flask-dance/archive/v$pkgver.tar.gz") +sha512sums=('1a0f3f44cbc8fba52bfb8bf00098545fcdbbbaa3278cfbb9da61174fe35960d25139137a15789428d6d3cd779ff6c49d1b5eeb84aab40573130a199f59fb21fb') + +build() { + cd flask-dance-$pkgver + python setup.py build +} + +check() { + cd flask-dance-$pkgver + python setup.py pytest +} + +package() { + cd flask-dance-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}