~dricottone/huttese-apk

ref: 57b6e8063a41a88f9d6f89ce8a14c8ba10471bc1 huttese-apk/py3-redis/APKBUILD -rw-r--r-- 718 bytes
57b6e806 — Drew DeVault Fix up builds.sr.ht package 7 years ago
                                                                                
2effb6a1 Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=redis
pkgname=py3-redis
pkgver=2.10.6
pkgrel=1
pkgdesc="The Python interface to the Redis key-value store"
url="https://github.com/andymccurdy/redis-py"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py-setuptools"
source="$_name-$pkgver.tar.gz::https://github.com/andymccurdy/redis-py/archive/${pkgver}.tar.gz"
builddir="$srcdir/${_name}-py-${pkgver}"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="b3a674ec248add9d6fd537c2d98bda48fc1867d111015dee772812e04e92dab879a2f913fb5d366ea3bb8469da6f1c91bdb3d73e797405d14a52109ff125a122  redis-2.10.6.tar.gz"