pkgname=python-iniconfig pkgver=2.0.0 pkgrel=1 pkgdesc="brain-dead simple config-ini parsing" arch=('x86_64') url="https://github.com/RonnyPfannschmidt/iniconfig" license=('MIT') depends=('python') makedepends=('python-build' 'python-installer' 'python-hatchling' 'python-hatch-vcs') source=(https://files.pythonhosted.org/packages/source/i/iniconfig/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3) build() { cd ${pkgname#*-}-${pkgver} python3 -m build -nw } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }