Date: Monday, June 2, 2014 @ 10:00:01 Author: fyan Revision: 112449 archrelease: copy trunk to community-any
Added: python-redis/repos/community-any/PKGBUILD (from rev 112448, python-redis/trunk/PKGBUILD) Deleted: python-redis/repos/community-any/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-06-02 07:59:14 UTC (rev 112448) +++ PKGBUILD 2014-06-02 08:00:01 UTC (rev 112449) @@ -1,47 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@gmail.com> -# Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx> -# Contributor: Pierre Gueth <pierre.gu...@gmail.com> - -pkgbase=python-redis -pkgname=('python-redis' 'python2-redis') -_basename=redis -pkgver=2.9.1 -pkgrel=4 -pkgdesc='The Python interface to the Redis key-value store' -arch=('any') -url="http://github.com/andymccurdy/redis-py" -license=('MIT') -makedepends=('python' 'python2') -source=("https://pypi.python.org/packages/source/r/${_basename}/${_basename}-${pkgver}.tar.gz") -md5sums=('1da8ff78be75d7acf5d4684e77fc3606') - -prepare() { - cp -r ${_basename}-${pkgver}{,-py2} -} - -build() { - cd ${_basename}-${pkgver} - python setup.py build - - cd ../${_basename}-${pkgver}-py2 - python2 setup.py build -} - -package_python-redis() { - depends=('python') - - cd ${_basename}-${pkgver} - python setup.py install --root=${pkgdir}/ --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-redis() { - depends=('python2') - - cd ${_basename}-${pkgver}-py2 - python2 setup.py install --root=${pkgdir}/ --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -# vim:set ts=2 sw=2 et: Copied: python-redis/repos/community-any/PKGBUILD (from rev 112448, python-redis/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-06-02 08:00:01 UTC (rev 112449) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx> +# Contributor: Pierre Gueth <pierre.gu...@gmail.com> + +pkgbase=python-redis +pkgname=('python-redis' 'python2-redis') +_basename=redis +pkgver=2.10.0 +pkgrel=1 +pkgdesc='The Python interface to the Redis key-value store' +arch=('any') +url="http://github.com/andymccurdy/redis-py" +license=('MIT') +makedepends=('python' 'python2') +source=("https://pypi.python.org/packages/source/r/${_basename}/${_basename}-${pkgver}.tar.gz") +md5sums=('c3942fec7d0e7b081c0828f4495be497') + +prepare() { + cp -r ${_basename}-${pkgver}{,-py2} +} + +build() { + cd ${_basename}-${pkgver} + python setup.py build + + cd ../${_basename}-${pkgver}-py2 + python2 setup.py build +} + +package_python-redis() { + depends=('python') + + cd ${_basename}-${pkgver} + python setup.py install --root=${pkgdir}/ --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-redis() { + depends=('python2') + + cd ${_basename}-${pkgver}-py2 + python2 setup.py install --root=${pkgdir}/ --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: