1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/py3-oauthlib/APKBUILD
2023-01-21 04:00:03 +01:00

35 lines
990 B
Text

# Contributor: Eivind Uggedal <eu@eju.no>
# Maintainer:
pkgname=py3-oauthlib
_pkgname=oauthlib
pkgver=3.2.2
pkgrel=0
pkgdesc="Python3 implementation of the OAuth request-signing logic"
options="!check" # requires 'blinker' that is in testing/
url="https://github.com/oauthlib/oauthlib"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-cryptography py3-jwt" # py3-blinker"
source="https://files.pythonhosted.org/packages/source/o/oauthlib/oauthlib-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-oauthlib" # Backwards compatibility
provides="py-oauthlib=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
c147b96e0ab0d1a8845f525e80831cfd04495134dd1f17fd95eac62f3a95c91e6dca9d38e34206537d77f3c12dd5b553252239318ba39546979c350e96536b8b oauthlib-3.2.2.tar.gz
"