summaryrefslogtreecommitdiff
path: root/libre/python2-memcached1.54/PKGBUILD
blob: 1c349d9c82b999ffa8f32fd76a64064f6b4a30c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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: