pkgname=python-fastimport pkgver=0.9.14_2.1 pkgrel=1 pkgdesc="VCS fastimport/fastexport parser" arch=('x86_64') url="https://github.com/jelmer/python-fastimport" license=('GPL-2.0-or-later') depends=('python') makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools') source=(https://github.com/jelmer/python-fastimport/archive/${pkgver/_/-}-2.1/${pkgname}-${pkgver/_/-}.tar.gz) sha256sums=(21f636fcab339a5a6e6c613087e5862b441459f02427d9d7078a8bf1fa63ab4c) build() { cd ${pkgname}-${pkgver/_/-} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname}-${pkgver/_/-} python3 -m installer -d ${pkgdir} dist/*.whl }