upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-flask-debug / repos / community-any / PKGBUILD
blob96be38d725d025796d63bb427b6491ad9babd865
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-flask-debug
4 pkgver=0.4.3
5 pkgrel=7
6 pkgdesc="A small debugging helper for Flask"
7 url="https://github.com/mbr/flask-debug"
8 license=('MIT')
9 arch=('any')
10 depends=('python-flask' 'python-inflection')
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest-runner')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/mbr/flask-debug/archive/$pkgver.tar.gz")
14 sha512sums=('7bc1cf9f88f28e2ca5a24c1454dcdb4e2a450eff3c00329f299c3840032e0803079f565652974f4c3a0e5aac443365ce47a3d2c2fee8e21e2e0c7150367e8816')
16 build() {
17   cd Flask-Debug-$pkgver
18   python setup.py build
21 check() {
22   cd Flask-Debug-$pkgver
23   python setup.py pytest
26 package() {
27   cd Flask-Debug-$pkgver
28   python setup.py install --root="$pkgdir" --optimize=1
29   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE