# Maintainer: Caleb Maclennan pkgname=ufodiff pkgver=1.0.3 pkgrel=4 pkgdesc='UFO source file diff application' arch=(any) url="https://github.com/source-foundry/$pkgname" license=(MIT) _pydeps=(commandlines gitdb gitpython smmap standardstreams) depends=(python "${_pydeps[@]/#/python-}") makedepends=(python-{build,installer,wheel} python-setuptools) _archive="$pkgname-$pkgver" source=("$url/archive/v$pkgver/$_archive.tar.gz") sha256sums=('e549e7f3598c0cf0a6be207944fb632db0d834addb4cf202ee00967ceebd58dd') build() { cd "$_archive" python -m build -wn } package() { cd "$_archive" python -m installer -d "$pkgdir" dist/*.whl }