# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=python-webcolors
pkgver=1.11.1
pkgrel=1slint
slackdesc=(\
"$pkgname (library for work with color names and value formats)"
"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"
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest-runner')
source=("https://pypi.io/packages/source/w/webcolors/webcolors-$pkgver.tar.gz")
sha512sums=('b8d9146e31292b41c3f3a501ca5f0ce5d9c21ec08dc31384bf6bfe06ccff202b97592eaafef0cfce9ddef1b674bf19a527225d67ecceb92bdc514a050a02524b')
docs=(LICENSE README.rst)
build() {
  cd webcolors-$pkgver
  python3 setup.py build
  python3 setup.py install --root=$PKG --optimize=1
}
