Package Details: python-bootstrap-flask 1.5.1-1

Git Clone URL: https://aur.archlinux.org/python-bootstrap-flask.git (read-only, click to copy)
Package Base: python-bootstrap-flask
Description: Bootstrap 4 helper for Flask/Jinja2
Upstream URL: https://github.com/greyli/bootstrap-flask
Licenses: MIT
Conflicts: python-flask-bootstrap
Submitter: valr
Maintainer: None
Last Packager: valr
Votes: 0
Popularity: 0.000000
First Submitted: 2020-10-05 20:09 (UTC)
Last Updated: 2020-12-26 20:45 (UTC)

Latest Comments

ClemensN commented on 2024-04-04 14:44 (UTC) (edited on 2024-04-04 14:45 (UTC) by ClemensN)

I think this PKGBUILD should build the latest (2.3.3) version:

pkgname=python-bootstrap-flask
pkgver=2.3.3
pkgrel=1
pkgdesc="Bootstrap 4 & 5 helper for Flask/Jinja2"
url="https://github.com/helloflask/bootstrap-flask"
arch=('any')
license=('MIT')
depends=('python-flask')
makedepends=('python-setuptools')
checkdepends=('python-pytest-runner' 'python-flask-sqlalchemy' 'python-flask-wtf')
# conflicts=('python-flask-bootstrap')
source=("$pkgname-$pkgver.tar.gz::https://github.com/helloflask/bootstrap-flask/archive/refs/tags/$pkgver.tar.gz")

sha256sums=('475307e2a01f225136ae8fe65e716a794d814a8f4b035e54216299d3aad6f5cf')

build() {
  cd bootstrap-flask-"$pkgver"
  python setup.py build
}

check() {
  cd bootstrap-flask-"$pkgver"
  python setup.py test
}

package() {
  cd bootstrap-flask-"$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}