# Contributor: Leo # Maintainer: Leo pkgname=py3-cachy _realname=cachy pkgver=0.3.0 pkgrel=1 pkgdesc="Simple yet effective caching library" options="!check" # No tests on pypi tarball, github uses pyproject.toml url="https://github.com/sdispater/cachy" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz" builddir="$srcdir/$_realname-$pkgver" build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests } sha512sums="0b69bd45ce81fc57710b44011965b8c4a313808f7c464a409b839d9206158f91b1e39a760d08d62bb5eb15e455ba9b89683f0eb42d2bfcc2e99b0b8f267e3ead cachy-0.3.0.tar.gz"