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

Felix Yan felixonmars at archlinux.org
Wed Nov 6 22:52:23 UTC 2019


    Date: Wednesday, November 6, 2019 @ 22:52:22
  Author: felixonmars
Revision: 524434

archrelease: copy trunk to community-staging-any

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

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

Copied: python-flask-dance/repos/community-staging-any/PKGBUILD (from rev 524433, python-flask-dance/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-06 22:52:22 UTC (rev 524434)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-dance
+pkgver=3.0.0
+pkgrel=2
+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=('ba3f25ed6631f7880a52ad7a43413134d6a924b8ef5205b8a7ecb21f3ddc10ee49face89ede2d76b3ef73b3f938f263aa386f06e9e1c71d87ee92d08b00c804b')
+
+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