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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 03:59:22 UTC 2020


    Date: Tuesday, November 10, 2020 @ 03:59:22
  Author: felixonmars
Revision: 748316

archrelease: copy trunk to community-staging-any

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

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

Copied: python-flask-debug/repos/community-staging-any/PKGBUILD (from rev 748313, python-flask-debug/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 03:59:22 UTC (rev 748316)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-debug
+pkgver=0.4.3
+pkgrel=3
+pkgdesc="A small debugging helper for Flask"
+url="https://github.com/mbr/flask-debug"
+license=('MIT')
+arch=('any')
+depends=('python-flask' 'python-inflection')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mbr/flask-debug/archive/$pkgver.tar.gz")
+sha512sums=('7bc1cf9f88f28e2ca5a24c1454dcdb4e2a450eff3c00329f299c3840032e0803079f565652974f4c3a0e5aac443365ce47a3d2c2fee8e21e2e0c7150367e8816')
+
+build() {
+  cd Flask-Debug-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd Flask-Debug-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd Flask-Debug-$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