Date: Sunday, April 9, 2023 @ 04:09:50
  Author: felixonmars
Revision: 1443100

archrelease: copy trunk to community-staging-any

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

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

Copied: python-flask-login/repos/community-staging-any/PKGBUILD (from rev 
1443097, python-flask-login/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-09 04:09:50 UTC (rev 1443100)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-flask-login
+pkgver=0.6.2
+pkgrel=3
+pkgdesc="User session management for Flask"
+arch=('any')
+url="https://pythonhosted.org/Flask-Login/";
+license=('MIT')
+depends=('python' 'python-flask' 'python-werkzeug')
+makedepends=('python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-nose' 'python-blinker' 'python-semantic-version' 
'python-asgiref')
+source=("https://github.com/maxcountryman/flask-login/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('b286272ad5f7de2cfc913bee4a3eac46e4c1ce274bb12467009e1abae422f1a855aa49fd898778b8a2e937eebe9fbb387af11815267a2bc120cde943939111ec')
+
+build() {
+  cd flask-login-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd flask-login-$pkgver
+  nosetests3
+}
+
+package() {
+  cd flask-login-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+  install -Dm 644 README.md -t "$pkgdir"/usr/share/docs/$pkgname
+}

Reply via email to