# Contributor: # Maintainer: Natanael Copa pkgname=py3-django-registration _pyname=django-registration pkgver=3.4 pkgrel=0 pkgdesc="simple user-registration application for Django" url="https://github.com/ubernostrum/django-registration" arch="noarch" license="BSD-3-Clause" depends="py3-django" makedepends="py3-gpep517 py3-setuptools py3-wheel" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$_pyname-$pkgver.tar.gz::https://github.com/ubernostrum/django-registration/archive/$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" options="!check" # need setup 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=" b6c87cbaeb9548e2c2d8672078b5967aee1e881c2b880193ba410a8c293c93fd0c8e57abac8deda2cb6f61a11936fd5c72060e4954f1d74de1e3a3646b63885b django-registration-3.4.tar.gz "