Date: Monday, December 6, 2021 @ 21:01:48 Author: felixonmars Revision: 1065385
archrelease: copy trunk to community-staging-any Added: python-flask-bootstrap/repos/community-staging-any/ python-flask-bootstrap/repos/community-staging-any/PKGBUILD (from rev 1065384, python-flask-bootstrap/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: python-flask-bootstrap/repos/community-staging-any/PKGBUILD (from rev 1065384, python-flask-bootstrap/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-12-06 21:01:48 UTC (rev 1065385) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-flask-bootstrap +pkgver=3.3.7.1 +pkgrel=4 +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' 'python-email-validator') +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 +}