New package: python-redis-2.10.3
This commit is contained in:
parent
ee11025c68
commit
7bb0c6a44e
2 changed files with 35 additions and 0 deletions
34
srcpkgs/python-redis/template
Normal file
34
srcpkgs/python-redis/template
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Template file for 'python-redis'
|
||||||
|
pkgname=python-redis
|
||||||
|
version=2.10.3
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="redis-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
pycompile_module="redis"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
makedepends="python-devel python3.4-devel"
|
||||||
|
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=a4fb37b02860f6b1617f6469487471fd086dd2d38bbce640c2055862b9c4019c
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-redis_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="redis"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-redis
Symbolic link
1
srcpkgs/python3.4-redis
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-redis
|
Loading…
Add table
Add a link
Reference in a new issue