# Description: clikit allows you to create beautiful and testable command-line interfaces
# URL: https://github.com/sdispater/clikit
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-crashtest python3-pastel python3-pylev

name=python3-clikit
version=0.6.2
release=3
source=(https://github.com/sdispater/clikit/archive/$version/$name-$version.tar.gz)

build() {
  cd clikit-$version

  sed -i -e '/^crashtest/s/\^/>=/' pyproject.toml
  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --destdir=$PKG dist/*.whl
}
