void-packages/srcpkgs/python-redis/template

30 lines
722 B
Bash

# Template file for 'python-redis'
pkgname=python-redis
version=3.3.11
revision=1
archs=noarch
wrksrc="redis-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 client for Redis key-value store"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/andymccurdy/redis-py"
distfiles="${PYPI_SITE}/r/redis/redis-${version}.tar.gz"
checksum=8d0fc278d3f5e1249967cba2eb4a5632d19e45ce5c09442b8422d15ee2c22cc2
post_install() {
vlicense LICENSE
}
python3-redis_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}