23 lines
553 B
Bash
23 lines
553 B
Bash
# Template file for 'python3-pyotp'
|
|
pkgname=python3-pyotp
|
|
version=2.3.0
|
|
revision=4
|
|
wrksrc="pyotp-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
short_desc="Python3 One-Time Password Library"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/pyotp/pyotp"
|
|
distfiles="${PYPI_SITE}/p/pyotp/pyotp-${version}.tar.gz"
|
|
checksum=fc537e8acd985c5cbf51e11b7d53c42276fee017a73aec7c07380695671ca1a1
|
|
|
|
do_check() {
|
|
python3 -B setup.py test
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|