maintainer="fossdd " pkgname=py3-propcache pkgver=0.3.1 pkgrel=0 pkgdesc="Fast property caching" url="https://github.com/aio-libs/propcache" license="Apache-2.0" arch="all" depends=" py3-expandvars python3 " makedepends=" cython py3-gpep517 py3-setuptools py3-wheel python3-dev " checkdepends=" py3-pytest py3-pytest-cov py3-pytest-covdefaults py3-pytest-xdist " subpackages="$pkgname-pyc" source="https://github.com/aio-libs/propcache/releases/download/v$pkgver/propcache-$pkgver.tar.gz" builddir="$srcdir/propcache-$pkgver" build() { gpep517 build-wheel \ --wheel-dir "$builddir"/.dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv ./.testenv/bin/python3 -m installer .dist/*.whl ./.testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" c109678adc26193d972906d923abbfe7ddeb02829fa3adb82d28988b56497a9e8126ce7186f1b0414ca6e6aba6baaddadcefdf19f7e24fbe5831e2f8da06473e propcache-0.3.1.tar.gz "