29 lines
721 B
Bash
29 lines
721 B
Bash
# Template file for 'python-redis'
|
|
pkgname=python-redis
|
|
version=3.5.3
|
|
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=0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2
|
|
|
|
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
|
|
}
|
|
}
|