Date: Tuesday, November 22, 2022 @ 22:26:47
  Author: arojas
Revision: 1351905

upgpkg: python-flask-dance 6.2.0-1: Update to 6.2.0

Modified:
  python-flask-dance/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-22 22:20:51 UTC (rev 1351904)
+++ PKGBUILD    2022-11-22 22:26:47 UTC (rev 1351905)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-flask-dance
-pkgver=6.1.0
-pkgrel=2
+pkgver=6.2.0
+pkgrel=1
 pkgdesc="Doing the OAuth dance with style using Flask, requests, and oauthlib"
 url="https://github.com/singingwolfboy/flask-dance";
 license=('MIT')
@@ -9,7 +9,7 @@
 arch=('any')
 depends=('python-requests' 'python-oauthlib' 'python-requests-oauthlib' 
'python-flask'
          'python-urlobject' 'python-werkzeug')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-flit-core')
 checkdepends=('python-pytest-runner' 'python-sphinx' 'python-pytest-cov'
               'python-responses' 'python-freezegun' 'python-sqlalchemy' 
'python-sqlalchemy-utils'
               'python-flask-sqlalchemy' 'python-flask-login' 
'python-flask-caching'
@@ -16,7 +16,7 @@
               '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=('bb2b80cf2fe6031a4004b66cbcc16d847472af8fa454fe5b00bcea81843fed983367795913f1cfa08df9e7c614da9dd8710d7bb88c463db7bc1d65468fe61c81')
+sha512sums=('2e0a56e9e12faae34ac888df9f0b9e4ebfe0c0a7ea36fba4f3e17d5c0f4b2a25dba85d6f2e3c46f07757fff32ba5cb721bf562c4cf0f1af315d88663bc3f8e23')
 
 prepare() {
   cd flask-dance-$pkgver
@@ -25,17 +25,19 @@
 
 build() {
   cd flask-dance-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 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'
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest --deselect 
tests/contrib/test_jira.py::test_load_from_config
 }
 
 package() {
   cd flask-dance-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }

Reply via email to