# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-flask-admin _pkgname=Flask-Admin pkgver=1.5.4 pkgrel=1 pkgdesc="Flask admin interface" url="https://pypi.python.org/pypi/Flask-Admin" arch="noarch" license="BSD-3-Clause" depends="python3 py3-flask py3-wtforms" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-flask-admin" # Backwards compatibility provides="py-flask-admin=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="dfc93ced771af07db1e7001c16952d410960a0272b52fe0ba6dd1f960d675092a5ab377a98edb769a1c13f5b092654190392ab0206089ebc13efb2eb4989c7ff Flask-Admin-1.5.4.tar.gz"