# Maintainer: Philip May # Maintainer: Gustavo Rehermann pkgname=python-configparser _pkgname=configparser pkgver=7.0.0 pkgrel=1 pkgdesc='backport of configparser from Python 3' arch=('any') url='https://github.com/jaraco/configparser/' license=('MIT') depends=('python') makedepends=( 'python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm' 'git' ) source=("git+https://github.com/jaraco/${_pkgname}.git#tag=v${pkgver}") sha256sums=('ff07df61054ad7f485e555fc4c4a53a02a89b4c8f06eca27a21a092281797f6e') build() { cd "${srcdir}/${_pkgname}" python -m build --wheel --no-isolation } package() { cd "${srcdir}/${_pkgname}" python -m installer --destdir="$pkgdir" dist/*.whl }