# Maintainer: J. Nathanael Philipp (jnphilipp) pkgname=python-weasel _pkg="${pkgname#python-}" pkgver=0.4.1 pkgrel=1 pkgdesc="A small and easy workflow system" url="https://github.com/explosion/weasel/" depends=( 'python-confection' 'python-wasabi' 'python-srsly' 'python-typer' 'python-cloudpathlib' 'python-smart_open' 'python-requests' 'python-pydantic') makedepends=( 'python-build' 'python-installer' 'python-setuptools' 'python-wheel') license=('MIT') arch=(any) source=("$pkgname-$pkgver.tar.gz::https://github.com/explosion/$_pkg/archive/refs/tags/v$pkgver.tar.gz") sha256sums=("a38aaef04b471b98a4ac73b90c893bff0a8ba53aaefa70167e2571c87f051825") build() { cd $_pkg-$pkgver python -m build --wheel --no-isolation } package() { cd $_pkg-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }