[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Thu Oct 25 13:38:55 UTC 2018


    Date: Thursday, October 25, 2018 @ 13:38:54
  Author: felixonmars
Revision: 398947

addpkg: python-flask-debug 0.4.3-1

Added:
  python-flask-debug/
  python-flask-debug/repos/
  python-flask-debug/trunk/
  python-flask-debug/trunk/PKGBUILD

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

Added: python-flask-debug/trunk/PKGBUILD
===================================================================
--- python-flask-debug/trunk/PKGBUILD	                        (rev 0)
+++ python-flask-debug/trunk/PKGBUILD	2018-10-25 13:38:54 UTC (rev 398947)
@@ -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