# Maintainer: Eivind Uggedal pkgname=py3-hiredis pkgver=2.2.3 pkgrel=0 pkgdesc="Python extension that wraps hiredis" url="https://github.com/redis/hiredis-py" arch="all" license="BSD-3-Clause" makedepends="python3-dev py3-gpep517 py3-wheel py3-setuptools" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/h/hiredis/hiredis-$pkgver.tar.gz" builddir="$srcdir"/hiredis-$pkgver options="!check" # no tests in tarball build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 6a107ee4622998571b1374a156d844fdd23c61fdced634be66128901303f827598c2464521ad9205f634a5da4d514e206cbbd59d4577b5edb964dd5d8b4811da py3-hiredis-2.2.3.tar.gz "