diff options
author | Ben Lönnqvist | 2021-07-05 13:18:33 +0300 |
---|---|---|
committer | Ben Lönnqvist | 2021-07-05 13:18:33 +0300 |
commit | 7138cbafe540779dcf523b8c801a348064be8a7f (patch) | |
tree | 6176ba2193a367ad35dddb128ebf21b3e0626a09 /PKGBUILD | |
download | aur-7138cbafe540779dcf523b8c801a348064be8a7f.tar.gz |
updpkg:python-aiohttp-security 0.4.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0147754925da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Ben 'silentnoodle' Lönnqvist <lonnqvistben at gmail dot com> + +pkgname=python-aiohttp-security +pkgdesc='auth and permissions for aiohttp' +pkgver=0.4.0 +pkgrel=1 +url='https://aiohttp-security.readthedocs.io' +license=('Apache') +arch=('any') +depends=('python-aiohttp') +makedepends=('python-setuptools') +source=( + "https://files.pythonhosted.org/packages/source/a/aiohttp-security/aiohttp-security-$pkgver.tar.gz" +) + +sha256sums=('40d4bb150454e392c2dfa3620f6eab28e140e94cf0c2d3b4bf43aef653ec9405') + +build() { + cd "aiohttp-security-$pkgver" + python setup.py build +} + +package() { + cd "aiohttp-security-$pkgver" + python setup.py install --skip-build --optimize=1 --prefix=/usr --root="$pkgdir" +} |