# Contributor: Leo # Maintainer: Michał Polański pkgname=py3-tomlkit _realname=tomlkit pkgver=0.12.1 pkgrel=0 pkgdesc="Style-preserving TOML library for Python" url="https://github.com/sdispater/tomlkit" arch="noarch" license="MIT" makedepends="py3-gpep517 py3-installer py3-poetry-core" checkdepends="py3-pytest py3-yaml" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz" builddir="$srcdir/$_realname-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/tomlkit-$pkgver-py3-none-any.whl } sha512sums=" 1f82023cbb8168f847bfa0211ee5c4d6870973ee1f51f4b60deb34ae6e0e930fe299c939b6c157811d16a73c68225a468e8312ca2731e1bbdcc5541fde2e2360 tomlkit-0.12.1.tar.gz "