2023-01-10 19:12:28 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2021-11-30 21:44:44 +00:00
|
|
|
|
2023-01-10 19:12:28 +00:00
|
|
|
pkgname=py3-aioredis
|
|
|
|
_pyname="aioredis"
|
|
|
|
pkgver=2.0.1
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgrel=0
|
2023-01-10 19:12:28 +00:00
|
|
|
arch="noarch"
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgdesc="asyncio (PEP 3156) Redis client library"
|
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
|
|
license="MIT"
|
2023-01-10 19:12:28 +00:00
|
|
|
depends="python3 py3-async-timeout py3-hiredis"
|
2021-11-30 21:44:44 +00:00
|
|
|
makedepends='py3-setuptools'
|
2023-01-10 19:12:28 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
2021-11-30 21:44:44 +00:00
|
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
2023-01-10 19:12:28 +00:00
|
|
|
python3 setup.py build
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2023-01-10 19:12:28 +00:00
|
|
|
python3 -m pytest || echo "Tests failed"
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-01-10 19:12:28 +00:00
|
|
|
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
sha512sums="
|
2023-01-10 19:12:28 +00:00
|
|
|
9c2c3fe3e4e4a91e9ca727f8ad78c7c4e6ce1109e4a3043d9ddb929606b6879b1522f3845a3b18d8586ed557a4ab0f6288f27f2b6b0e307343e113f9b9b5fd76 py3-aioredis-2.0.1.tar.gz
|
2021-11-30 21:44:44 +00:00
|
|
|
"
|