1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/py3-otp/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

29 lines
713 B
Text

# 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 --skip-build --root="$pkgdir"
}
sha512sums="
f4e6c857833c7c994a64586bb495b48935752d0fa9d90edbdcce899ebce10fc0ac13ab03c439ea81f1c0fcfc4adafbf2c42ee8c4fa4afdd662c30d5be164c9b2 pyotp-2.8.0.tar.gz
"