[arch-commits] Commit in python-flask-dance/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jul 8 03:03:49 UTC 2021


    Date: Thursday, July 8, 2021 @ 03:03:49
  Author: felixonmars
Revision: 975390

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-08 03:03:34 UTC (rev 975389)
+++ PKGBUILD	2021-07-08 03:03:49 UTC (rev 975390)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-flask-dance
-pkgver=3.3.1
-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' 'python-betamax')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/singingwolfboy/flask-dance/archive/v$pkgver.tar.gz")
-sha512sums=('9bff427d6bc93a261ee2b1cf9efde8a9d3cd86e3abb2a59adbf7522b6518e608702445c4da35bf51228317f0cd6babc6fc1f42f1a3dbbf9f7fe6f9f80c4cafc9')
-
-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
-}

Copied: python-flask-dance/repos/community-any/PKGBUILD (from rev 975389, python-flask-dance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-08 03:03:49 UTC (rev 975390)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-dance
+pkgver=5.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-werkzeug')
+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' 'python-betamax'
+              'python-pyjwt' 'python-pytest-mock')
+source=("https://github.com/singingwolfboy/flask-dance/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('2b96b9755d42bb2af4e1e34147fee6651b3664ed470bfa3e6cd6cb07dcc04c5d78ef012e472491aef34ca48a90ad275e53844e2a0054b9f0cd59caff9a569cc8')
+
+prepare() {
+  cd flask-dance-$pkgver
+  sed -i 's/sign_rsa_sha1/_sign_rsa/' tests/contrib/test_jira.py
+}
+
+build() {
+  cd flask-dance-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd flask-dance-$pkgver
+  # New oauthlib related failure. The sed above didn't fix it cleanly.
+  python setup.py pytest --addopts '--deselect tests/contrib/test_jira.py::test_load_from_config'
+}
+
+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