# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=py3-cachetools _pyname=cachetools pkgver=3.1.1 pkgrel=0 pkgdesc="Extensible memoizing collections and decorators" url="https://github.com/tkem/cachetools" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/tkem/cachetools/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" build() { python3 setup.py build } check() { python3 -m pytest . } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="3765f2a4dbca7fa1da92be6f68f3d4c1202b558ca6d7a5f05b8bb9c13cbb9ebeef19d4370b29d0239dc606656ce74b3db4d3df5d5ae36ce323d94eae3f18aedc py3-cachetools-3.1.1.tar.gz"