# Maintainer: Mark Wagie pkgname=python-asyncstdlib _name=${pkgname#python-} pkgver=3.10.8 pkgrel=1 pkgdesc="The missing toolbox for an async world" arch=('any') url="https://github.com/maxfischer2781/asyncstdlib" license=('MIT') depends=('python') makedepends=('python-build' 'python-flit-core' 'python-installer') source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('6cc705fc2bbeb02fed3e83775e50dca355af38ea0e633d5233390e68e4accdb5') build() { cd "$_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" }