# Description: Bring colors to your terminal
# URL: https://github.com/sdispater/pastel
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-certifi python3-installer python3-poetry-core python3-ruamel-yaml-clib python3-wheel

name=python3-pastel
version=0.2.1
release=2
source=(https://github.com/sdispater/pastel/archive/$version/$name-$version.tar.gz)

build() {
  cd pastel-$version

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