1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/py3-hiredis/APKBUILD
2023-02-14 03:08:03 +01:00

28 lines
800 B
Text

# Maintainer: Eivind Uggedal <eu@eju.no>
pkgname=py3-hiredis
pkgver=2.2.2
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"
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="
abb6883af0d186f0ada10ebb2128cc31c8e84273b75de762097489b25a28ed4442bf33a9c088152843aadfcb4daaae6ff65a21cf0e5d8a07a60a7e3fac1ab855 py3-hiredis-2.2.2.tar.gz
"