# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pyotp
_pkgname=pyotp
pkgver=2.1.1
pkgrel=0
pkgdesc="Python library for generating & verifying one-time passwords"
url="https://pyotp.readthedocs.io"
arch="noarch"
license="MIT"
depends="python3 py3-future"
makedepends="py-setuptools"
source="
$pkgname-$pkgver.zip::https://github.com/pyotp/${_pkgname}/archive/v${pkgver}.zip
"
builddir="$srcdir/${_pkgname}-${pkgver}"
check() {
cd "$builddir"
python3 setup.py check
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="e8fb2de02a1af0e84598cf54b8a3e8b24f20516adc44340a6812c3ab93cdcc289ae951ae2360c52a922811e7ebe6c2697bbf5f8f196db8ee8a17f7fe54946f1b py3-pyotp-2.1.1.zip"