# Contributor: Simon Rupf # Maintainer: Philipp Glaum pkgname=py3-flask-sqlalchemy _pkgname=flask_sqlalchemy pkgver=3.0.5 pkgrel=0 pkgdesc="Adds SQLAlchemy support to your Flask application." url="https://pypi.org/project/Flask-SQLAlchemy/" arch="noarch" license="BSD-3-Clause" depends="py3-flask py3-greenlet py3-sqlalchemy" makedepends="py3-gpep517 py3-flit-core" checkdepends="py3-pytest py3-mock" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" ecb6df94e1db4298b335a65e54eae171fef75bd7f1cc1e251933b1fdc7e85bbba0c03b1c5b41c3e150898bdb36fc0021b4649b866a12d5b0c180f773dff5fd6b flask_sqlalchemy-3.0.5.tar.gz "