# 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 py3-wheel py3-gpep517 py3-installer " checkdepends=" py3-pytest " options="!check" # Failing testsuite source="$pkgname-$pkgver.tar.gz::https://github.com/linsomniac/python-memcached/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver subpackages="$pkgname-pyc" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { pytest -v } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" d7ff45a329f2a9bf97fdc7c0268c2c67046c3501270fcf03578b955c2da35904d7bdecd4239924d390797ddff8f4cc69fc5743f4d4f663cdb9f2f8c7e8159512 py3-memcached-1.59.tar.gz "