# Description: sphinx extension which outputs Apple help books
# URL: https://github.com/sphinx-doc/sphinxcontrib-applehelp/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: python3-wheel

name=python3-sphinxcontrib-applehelp
version=2.0.0
release=2
source=(https://github.com/sphinx-doc/${name#*-}/archive/$version/${name#*-}-$version.tar.gz)

build() {
  cd ${name#*-}-$version

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