contrib/python3-sphinxcontrib-jsmath/Pkgfile

17 lines
641 B
Plaintext

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