Date: Thursday, October 25, 2018 @ 13:41:16 Author: felixonmars Revision: 398955
addpkg: python-flask-bootstrap 3.3.7.1-1 Added: python-flask-bootstrap/ python-flask-bootstrap/repos/ python-flask-bootstrap/trunk/ python-flask-bootstrap/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: python-flask-bootstrap/trunk/PKGBUILD =================================================================== --- python-flask-bootstrap/trunk/PKGBUILD (rev 0) +++ python-flask-bootstrap/trunk/PKGBUILD 2018-10-25 13:41:16 UTC (rev 398955) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-flask-bootstrap +pkgver=3.3.7.1 +pkgrel=1 +pkgdesc="Ready-to-use Twitter-bootstrap for use in Flask" +url="https://github.com/mbr/flask-bootstrap" +license=('Apache') +arch=('any') +depends=('python-flask' 'python-dominate' 'python-visitor') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner' 'python-requests' 'python-flask-appconfig' 'python-flask-nav' + 'python-flask-wtf' 'python-flask-debug') +source=("$pkgname-$pkgver.tar.gz::https://github.com/mbr/flask-bootstrap/archive/$pkgver.tar.gz") +sha512sums=('010c71f69a95cb51afb449d1b43cb345ad23815ea89b368281f721a2af13cf2c143d67b586114898450d8e7fec413f45ff042cfca3dc1183cb0f50566e39fdc3') + +build() { + cd flask-bootstrap-$pkgver + python setup.py build +} + +check() { + cd flask-bootstrap-$pkgver + python setup.py pytest +} + +package() { + cd flask-bootstrap-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}