ayaports/user/py3-rauth/APKBUILD

28 lines
828 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-rauth
_pkgname=rauth
pkgver=0.7.3
pkgrel=0
pkgdesc="A Python library for OAuth 1.0/a, 2.0, and Ofly"
arch="!armv7 noarch"
url="https://github.com/maxcountryman/rauth"
license="MIT"
depends="py3-requests"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://pypi.python.org/packages/source/r/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir" --optimize=1
}
sha512sums="
8bb6d10e5d4ddb583c45e3bf166051b8edde8193cd10da8c1a623908d2cc5a3a2cbc9065d5fa397188414e72fa66166051893e4ba956369b3f0f850ae823837e rauth-0.7.3.tar.gz
"