pkgname=python-setuptools pkgver=75.6.0 pkgrel=1 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages" arch=('x86_64') url="https://pypi.org/project/setuptools/" license=('PSF') depends=('python' 'python-packaging') makedepends=('python-flit-core' 'python-installer' 'python-build' 'python-wheel') source=(https://github.com/pypa/setuptools/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(8199222558df7c86216af4f84c30e9b34a61d8ba19366cc914424cdbd28252f6) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl }