pkgname=python-hatchling pkgver=1.26.3 pkgrel=1 pkgdesc="Extensible, standards compliant build backend used by Hatch" arch=('x86_64') url="https://github.com/pypa/hatch/tree/master/backend" license=('MIT') depends=('python' 'python-packaging' 'python-pathspec' 'python-pluggy' 'python-editables' 'python-trove-classifiers') makedepends=('python-build' 'python-installer') source=(https://github.com/pypa/hatch/archive/${pkgname#*-}-v${pkgver}/hatch-${pkgname#*-}-v${pkgver}.tar.gz) sha256sums=(c07d4e1a9e0b0fac8ac78c1918e96e88e4a939ecd03d95193f9c34f44cf9cedc) build() { cd hatch-${pkgname#*-}-v${pkgver}/backend python3 -m build --wheel --no-isolation } package() { cd hatch-${pkgname#*-}-v${pkgver}/backend python3 -m installer --destdir="$pkgdir" dist/*.whl }