# Contributor: mio # Contributor: Justin Berthault # Maintainer: Will Sinatra pkgname=py3-iniconfig _pyname=iniconfig pkgver=2.0.0 pkgrel=1 pkgdesc="brain-dead simple config-ini parsing" url="https://github.com/pytest-dev/iniconfig" arch="noarch" license="MIT" makedepends=" py3-gpep517 py3-setuptools py3-wheel py3-py py3-hatch-vcs py3-hatchling " subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/i/$_pyname/$_pyname-$pkgver.tar.gz https://github.com/pytest-dev/$_pyname/raw/v$pkgver/testing/test_iniconfig.py unittest_tests.patch " builddir="$srcdir/$_pyname-$pkgver" prepare() { cp "$srcdir"/test_iniconfig.py "$builddir"/test_iniconfig.py default_prepare } build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m unittest -v } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" f0287115595a1ba074c5c77c3f7840efc2fef6c95c5ff3deaaf278c78b328f92187c358d5dd074b62c033db47952d99fc6d5164d4a48c81ba2c53d571eb76090 iniconfig-2.0.0.tar.gz 3c0023cce2d7c37ae7e8086ab35a68d1b482502f241ed54de46830e09a4692cc548906f4ff70a638d03f5e0a5e06c079b6ef83a8398880ecf510b9db2e1d68a6 test_iniconfig.py c0c1344e284745f39fd27b053cab81a9f34d7a94583e66e696060968b00b089bf05bdbff3f5e03cd2168387a6511a5453eed586db4ab3256a660b2ccc6516920 unittest_tests.patch "