# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) _pyname=python-memcached pkgname="py3-memcached" pkgver=1.59 pkgrel=0 arch="noarch" pkgdesc="Python interface to memcached" url="https://pypi.python.org/project/$_pyname" license="Python-2.0" depends="py3-six" makedepends="py3-setuptools" checkdepends="py3-tox" source="$pkgname-$pkgver.tar.gz::https://github.com/linsomniac/python-memcached/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver build() { python3 setup.py build } check() { tox -e python3 || true } package() { python3 setup.py install --root="$pkgdir" --optimize=1 install -Dm644 PSF.LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ } sha512sums=" d7ff45a329f2a9bf97fdc7c0268c2c67046c3501270fcf03578b955c2da35904d7bdecd4239924d390797ddff8f4cc69fc5743f4d4f663cdb9f2f8c7e8159512 py3-memcached-1.59.tar.gz "