pkgname=python-wheel pkgver=0.45.1 pkgrel=1 pkgdesc="A built-package format for Python" arch=('x86_64') url="https://pypi.org/project/wheel/" license=('MIT') depends=('python-packaging') makedepends=('python-build' 'python-flit-core' 'python-installer') source=(https://github.com/pypa/wheel/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(398fe0a1a609b1084bcab897c65596613544fbe6109408e505e29e4ce0c3175d) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }