aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-otp/APKBUILD
blob: b6741d4c0ef77ad1756a67471760f9d9eae89198 (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-otp
pkgver=2.2.7
pkgrel=3
pkgdesc="Python One Time Password Library"
url="https://github.com/pyauth/pyotp"
arch="all"
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="d8fe8a737c75b1731042ffc7213eb20851fd31ee3583511a8db6c2adb171c63d6f2620d50921997836cbf34c37829d4f0bd44d8955ee66a1bec7e94e2368e19d  pyotp-2.2.7.tar.gz"