# Description: Style-preserving TOML library for Python
# URL: https://github.com/sdispater/tomlkit
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer python3-poetry-core

name=python3-tomlkit
version=0.11.8
release=1
source=(https://files.pythonhosted.org/packages/source/t/tomlkit/tomlkit-$version.tar.gz)

build() {
  cd tomlkit-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
}
