upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-flask-bootstrap / trunk / PKGBUILD
blobdd46158a473fc72d80711b3612f50343fb4e12d1
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-flask-bootstrap
4 pkgver=3.3.7.1
5 pkgrel=4
6 pkgdesc="Ready-to-use Twitter-bootstrap for use in Flask"
7 url="https://github.com/mbr/flask-bootstrap"
8 license=('Apache')
9 arch=('any')
10 depends=('python-flask' 'python-dominate' 'python-visitor')
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest-runner' 'python-requests' 'python-flask-appconfig' 'python-flask-nav'
13               'python-flask-wtf' 'python-flask-debug' 'python-email-validator')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/mbr/flask-bootstrap/archive/$pkgver.tar.gz")
15 sha512sums=('010c71f69a95cb51afb449d1b43cb345ad23815ea89b368281f721a2af13cf2c143d67b586114898450d8e7fec413f45ff042cfca3dc1183cb0f50566e39fdc3')
17 build() {
18   cd flask-bootstrap-$pkgver
19   python setup.py build
22 check() {
23   cd flask-bootstrap-$pkgver
24   python setup.py pytest
27 package() {
28   cd flask-bootstrap-$pkgver
29   python setup.py install --root="$pkgdir" --optimize=1