2023-01-10 19:16:39 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2021-06-04 15:24:22 +00:00
|
|
|
|
|
|
|
pkgname=py3-rauth
|
2023-01-10 19:16:39 +00:00
|
|
|
_pkgname=rauth
|
2021-06-04 15:24:22 +00:00
|
|
|
pkgver=0.7.3
|
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="A Python library for OAuth 1.0/a, 2.0, and Ofly"
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2021-06-04 15:24:22 +00:00
|
|
|
url="https://github.com/maxcountryman/rauth"
|
|
|
|
license="MIT"
|
|
|
|
depends="py3-requests"
|
|
|
|
makedepends="py3-setuptools"
|
2023-01-10 19:16:39 +00:00
|
|
|
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
|
2021-06-04 15:24:22 +00:00
|
|
|
|
|
|
|
build() {
|
2023-01-10 19:16:39 +00:00
|
|
|
python3 setup.py build
|
2021-06-04 15:24:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-01-10 19:16:39 +00:00
|
|
|
python3 setup.py install --skip-build --root="$pkgdir" --optimize=1
|
2021-06-04 15:24:22 +00:00
|
|
|
}
|
|
|
|
|
2023-01-10 19:16:39 +00:00
|
|
|
sha512sums="
|
|
|
|
8bb6d10e5d4ddb583c45e3bf166051b8edde8193cd10da8c1a623908d2cc5a3a2cbc9065d5fa397188414e72fa66166051893e4ba956369b3f0f850ae823837e rauth-0.7.3.tar.gz
|
|
|
|
"
|