[arch-commits] Commit in python-flask-dance/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Apr 2 10:24:16 UTC 2019


    Date: Tuesday, April 2, 2019 @ 10:24:16
  Author: felixonmars
Revision: 447537

archrelease: copy trunk to community-testing-any

Added:
  python-flask-dance/repos/community-testing-any/
  python-flask-dance/repos/community-testing-any/PKGBUILD
    (from rev 447536, python-flask-dance/trunk/PKGBUILD)

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

Copied: python-flask-dance/repos/community-testing-any/PKGBUILD (from rev 447536, python-flask-dance/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-04-02 10:24:16 UTC (rev 447537)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-dance
+pkgver=2.0.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=('1ceb8a16e74fdcbd122fec01589584c634c17c7b54b9925e75368e64fc083058c699046815f77d569d9ebe3aae55756ce3912a65b27dca4bbff9fe845e32efb2')
+
+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