# Description: ANSII Color formatting for output in terminal
# URL: https://pypi.python.org/pypi/termcolor
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-hatch-vcs

name=python3-termcolor
version=2.3.0
release=1
source=(https://pypi.python.org/packages/source/t/termcolor/termcolor-$version.tar.gz)

build() {
  cd termcolor-$version

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