# Maintainer: Cowington Post pkgname=py3-flask-mailman pkgver=1.0.0 pkgrel=0 pkgdesc="Porting Django's email implementation to your Flask applications" url="https://waynerv.github.io/flask-mailman/" arch="noarch" license="BSD-3-Clause" depends="py3-flask" makedepends="py3-gpep517 py3-poetry-core py3-wheel" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://github.com/waynerv/flask-mailman/archive/v$pkgver/py3-flask-mailman-$pkgver.tar.gz" builddir="$srcdir/flask-mailman-$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=" 4ce9e4d6075c90d9e9dca19942c829bcaf74079f866d62799e659a3f593152412f7c8c847aafb6d09a7c1e9f1ab290a77878bcecd75e8e6270037dd60c1c76f5 py3-flask-mailman-1.0.0.tar.gz "