# Contributor: Leo # Maintainer: pkgname=py3-boltons pkgver=23.0.0 pkgrel=1 pkgdesc="Bolted-on functionality for python3" url="https://github.com/mahmoud/boltons" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends="py3-pytest-xdist py3-pytest-cov" subpackages="$pkgname-pyc" source="$pkgname-$pkgver-2.tar.gz::https://github.com/mahmoud/boltons/archive/$pkgver.tar.gz" builddir="$srcdir/boltons-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .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 -n auto } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" f8e2ed488dbdf0dfa4090aac8c6ee97c382fdf8a2728567e2a5542f46bb00932f3b9498865d45a718216d5f9355e419a228c624844c25f89df458e00bc9e2e83 py3-boltons-23.0.0-2.tar.gz "