~dricottone/huttese-apk

ref: 810a2724a8a0be6f06e96c23c42cb95e2626dc3c huttese-apk/sr.ht/py3-redis/APKBUILD -rw-r--r-- 718 bytes
810a2724 — Drew DeVault Update submit-builds 5 years ago
                                                                                
2effb6a1 Drew DeVault
04866bce Drew DeVault
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=0
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"