[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Thu Oct 25 18:55:40 UTC 2018


    Date: Thursday, October 25, 2018 @ 18:55:39
  Author: felixonmars
Revision: 399031

addpkg: python-flask-dance 1.1.0-1

Added:
  python-flask-dance/
  python-flask-dance/repos/
  python-flask-dance/trunk/
  python-flask-dance/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: python-flask-dance/trunk/PKGBUILD
===================================================================
--- python-flask-dance/trunk/PKGBUILD	                        (rev 0)
+++ python-flask-dance/trunk/PKGBUILD	2018-10-25 18:55:39 UTC (rev 399031)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at 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
+}



More information about the arch-commits mailing list