diff options
Diffstat (limited to 'libre/python2-memcached1.54/PKGBUILD')
-rw-r--r-- | libre/python2-memcached1.54/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libre/python2-memcached1.54/PKGBUILD b/libre/python2-memcached1.54/PKGBUILD new file mode 100644 index 000000000..1c349d9c8 --- /dev/null +++ b/libre/python2-memcached1.54/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Angel Velasquez <angvp@archlinux.org> +# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org> +# Contributor: Nathan Jones <nathanj@insightbb.com> + +pkgname=python2-memcached +pkgdesc='Python interface to memcached' +pkgver=1.54 +pkgrel=2 +url='https://github.com/linsomniac/python-memcached' +arch=('any') +license=('PSF') +depends=('python2-six') +makedepends=('python2-setuptools' 'git' 'python2-six') +source=("git://github.com/linsomniac/python-memcached#tag=release-$pkgver") +md5sums=('SKIP') + +prepare() { + cd 'python-memcached' + + sed -i 's:/env python:/python2:' memcache.py +} + +package() { + cd 'python-memcached' + + python2 setup.py install --root=$pkgdir --optimize=1 +} + +check() { + cd 'python-memcached' + + python2 setup.py check +} + +# getver: -u 2 github.com/linsomniac/python-memcached/blob/master/ChangeLog +# vim:set ts=2 sw=2 et: |