summaryrefslogtreecommitdiff
path: root/community/py3-otp/APKBUILD
blob: 9cf5a5834d5edf9b701f0cb587bf20077f1f1721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-otp
pkgver=2.8.0
pkgrel=0
pkgdesc="Python One Time Password Library"
url="https://github.com/pyauth/pyotp"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev py3-setuptools"
source="https://pypi.io/packages/source/p/pyotp/pyotp-$pkgver.tar.gz"
builddir="$srcdir/pyotp-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
f4e6c857833c7c994a64586bb495b48935752d0fa9d90edbdcce899ebce10fc0ac13ab03c439ea81f1c0fcfc4adafbf2c42ee8c4fa4afdd662c30d5be164c9b2  pyotp-2.8.0.tar.gz
"