void-packages/srcpkgs/python-redis/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

31 lines
773 B
Bash

# Template file for 'python-redis'
pkgname=python-redis
version=2.10.6
revision=2
noarch=yes
wrksrc="redis-${version}"
build_style=python-module
pycompile_module="redis"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 client for Redis key-value store"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="MIT"
homepage="https://github.com/andymccurdy/redis-py"
distfiles="${PYPI_SITE}/r/redis/redis-${version}.tar.gz"
checksum=a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f
post_install() {
vlicense LICENSE
}
python3-redis_package() {
noarch=yes
depends="python3"
pycompile_module="redis"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}