# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) _pyname=django-otp pkgname="py3-$_pyname" pkgver=1.1.4 pkgrel=1 arch="noarch" pkgdesc="A pluggable framework for adding two-factor authentication to Django using one-time passwords." url="https://pypi.python.org/project/$_pyname" license="BSD-2-CLAUSE" depends="py3-django py3-qrcode" makedepends="py3-setuptools" checkdepends="py3-tox" source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver build() { python3 setup.py build } check() { tox -e python3 || true } package() { python3 setup.py install --skip-build --root="$pkgdir/" --optimize=1 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } sha512sums=" 24e10bbf7d8f64b0f69c8a2cfc4a818aade4579721fd1af8c792d9e8f83560b8f3bf03384472bfc759b9838a873b4936d1a721f4588f49c0418f55838c2597e7 py3-django-otp-1.1.4.tar.gz "