# Contributor: Leo # Maintainer: Michał Polański pkgname=py3-tomlkit _realname=tomlkit pkgver=0.6.0 pkgrel=0 pkgdesc="Python3 library for parsing and modifying TOML" url="https://github.com/sdispater/tomlkit" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="pytest" source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz" builddir="$srcdir/$_realname-$pkgver" build() { python3 setup.py build } check() { py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests } sha512sums="030146f09a2e2ac9c676707b0c2c8c2d346dcdfd2cdd2797d0bb0032fd61ba71d5a8df7ed25ec898fb84337283897af989cff3b4797e9c9f73fe42c3a5d617b4 tomlkit-0.6.0.tar.gz"