diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-05-26 08:33:00 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-05-26 08:33:00 +0000 |
commit | b6ea38e22e8826890379f5e7507d956065fa3b15 (patch) | |
tree | 5e72b299a088b99f25ee6de5f0feebd998fef9d4 /main | |
parent | 29ae0847ba2b4c11d474e9c8ff820b8f6b33afcd (diff) | |
download | aports-b6ea38e22e8826890379f5e7507d956065fa3b15.tar.bz2 aports-b6ea38e22e8826890379f5e7507d956065fa3b15.tar.xz |
main/py-redis: moved from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/py-redis/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-redis/APKBUILD b/main/py-redis/APKBUILD new file mode 100644 index 0000000000..314ba07692 --- /dev/null +++ b/main/py-redis/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Eivind Uggedal <eivind@uggedal.com> +pkgname=py-redis +_pkgname=${pkgname#py-} +pkgver=2.9.1 +pkgrel=0 +pkgdesc="Python client for Redis key-value store" +url="https://github.com/andymccurdy/redis-py" +arch="noarch" +license="MIT" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="1da8ff78be75d7acf5d4684e77fc3606 redis-2.9.1.tar.gz" +sha256sums="af9747ec2727425b1b09252975e21502ee5a3d8d235c7f49869eb13e09ccf4e4 redis-2.9.1.tar.gz" +sha512sums="6b4912acafb31c87a5bc47b0420834aa9d1eba57feb0bbacdea943b746fe2f24aee4c9f13e7b03ae4edc562043b22c370cc7f53e45be07c5408cfa9852f8ea38 redis-2.9.1.tar.gz" |