# Description: sphinx extension which renders HTML help files
# URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/
# Maintainer: unmaintained
# Depends on: python3-build python3-installer python3-wheel

name=python3-sphinxcontrib-htmlhelp
_name=${name#*-}
version=2.0.1
release=1
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$version.tar.gz)

build() {
  cd $_name-$version

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