diff --git a/python-aioauth-client/.SRCINFO b/python-aioauth-client/.SRCINFO new file mode 100644 index 0000000..fa306aa --- /dev/null +++ b/python-aioauth-client/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-aioauth-client + pkgdesc = OAuth support for Asyncio/Trio libraries + pkgver = 0.26.0 + pkgrel = 1 + url = https://github.com/klen/aioauth-client + arch = any + license = MIT + makedepends = python-setuptools + depends = python-httpx + source = https://github.com/klen/aioauth-client/archive/refs/tags/0.26.0.tar.gz + sha512sums = 582935e3a6a889159bc25222b7c150061c6ca176cccefa7174bb941fe3776f96e28aca3d437e6daf91ff1c70150b9986105226b1296b5bb8e84ecfafdbc2ffa6 + +pkgname = python-aioauth-client diff --git a/python-aioauth-client/PKGBUILD b/python-aioauth-client/PKGBUILD new file mode 100644 index 0000000..ca92bd1 --- /dev/null +++ b/python-aioauth-client/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Evgeniy Alekseev + +pkgname=python-aioauth-client +_pkgname=aioauth-client +pkgver=0.26.0 +pkgrel=1 +pkgdesc="OAuth support for Asyncio/Trio libraries" +arch=('any') +url="https://github.com/klen/aioauth-client" +license=('MIT') +depends=('python-httpx') +makedepends=('python-setuptools') +source=("https://github.com/klen/aioauth-client/archive/refs/tags/${pkgver}.tar.gz") + +build() { + cd "${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${_pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +sha512sums=('582935e3a6a889159bc25222b7c150061c6ca176cccefa7174bb941fe3776f96e28aca3d437e6daf91ff1c70150b9986105226b1296b5bb8e84ecfafdbc2ffa6')