contrib/python3-sphinxcontrib-htmlhelp/Pkgfile

18 lines
648 B
Plaintext

# Description: sphinx extension which renders HTML help files
# URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: python3-build python3-installer python3-wheel python3-flit-core
name=python3-sphinxcontrib-htmlhelp
_name=${name#*-}
version=2.0.5
release=1
source=(https://pypi.org/packages/source/s/sphinxcontrib_htmlhelp/sphinxcontrib_htmlhelp-$version.tar.gz)
build() {
cd sphinxcontrib_htmlhelp-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}