1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-binary-memcached
7 pkgdesc='A pure python module to access memcached via its binary protocol with SASL auth support'
8 url='https://github.com/jaysonsantos/python-binary-memcached'
10 depends=('python-six' 'python-uhashring')
11 makedepends=('python-setuptools' 'python-uhashring')
12 checkdepends=('memcached' 'python-pytest' 'python-trustme')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/jaysonsantos/python-binary-memcached/archive/v$pkgver.tar.gz")
14 sha512sums=('8b83e09b80f0de86e9348c444f650d125878921f079fc2d4e4a79d1ad54a49217401498c80ca65ce864d8bb434dc2f20e2c25ff12bc46e351488508cd752c9fd')
17 sed -i '/typing/d' python-binary-memcached-$pkgver/setup.py
21 cd python-binary-memcached-$pkgver
26 cd python-binary-memcached-$pkgver
31 cd python-binary-memcached-$pkgver
32 python setup.py install --root "$pkgdir" --optimize=1
33 install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE