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