# Description: A library for working with color names and color value formats defined by the HTML and CSS specifications for use in documents on the Web
# URL: https://github.com/ubernostrum/webcolors
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer

name=python3-webcolors
version=1.13
release=1
source=(https://pypi.io/packages/source/w/webcolors/webcolors-$version.tar.gz)

build() {
  cd webcolors-$version

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