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

Felix Yan felixonmars at archlinux.org
Thu Oct 25 13:39:22 UTC 2018


    Date: Thursday, October 25, 2018 @ 13:39:22
  Author: felixonmars
Revision: 398948

archrelease: copy trunk to community-any

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

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

Copied: python-flask-debug/repos/community-any/PKGBUILD (from rev 398947, python-flask-debug/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-10-25 13:39:22 UTC (rev 398948)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-debug
+pkgver=0.4.3
+pkgrel=1
+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