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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 21:12:00 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:11:59
  Author: foutrelis
Revision: 1058831

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 1058830, python-flask-login/trunk/PKGBUILD)

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

Copied: python-flask-login/repos/community-staging-any/PKGBUILD (from rev 1058830, python-flask-login/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:11:59 UTC (rev 1058831)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-login
+pkgver=0.5.0
+pkgrel=4
+pkgdesc="User session management for Flask."
+arch=('any')
+url="https://pythonhosted.org/Flask-Login/"
+license=('MIT')
+depends=('python-flask')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-mock' 'python-blinker' 'python-semantic-version')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/maxcountryman/flask-login/archive/$pkgver.tar.gz")
+sha512sums=('8ffecd2a512738f81ec3901ad30d356b1d63355268f7cf1b427e463d0a271a4623723255e139bbd0f88845d73fa4aab051418b5f68aef0b4576c30294f6207b3')
+
+check() {
+  cd "$srcdir"/flask-login-$pkgver
+  nosetests3
+}
+
+package() {
+  cd flask-login-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+  install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list