pkgname=python-editables pkgver=0.5 pkgrel=1 pkgdesc="Python library for creating editable wheels" arch=('x86_64') url="https://github.com/pfmoore/editables" license=('MIT') depends=('python') makedepends=('python-build' 'python-installer' 'python-flit-core') source=(https://github.com/pfmoore/editables/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(1ff2663aa1669eb89115a38e2d4067c21bb847e7006f72bf979a1a91b8bc2304) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer --destdir="$pkgdir" dist/*.whl }