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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 18:19:10 UTC 2020


    Date: Monday, November 9, 2020 @ 18:19:10
  Author: felixonmars
Revision: 747965

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

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

Copied: python-flask-login/repos/community-staging-any/PKGBUILD (from rev 747963, python-flask-login/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:19:10 UTC (rev 747965)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-login
+pkgver=0.5.0
+pkgrel=2
+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