contrib/python3-sphinxcontrib-apple.../Pkgfile

17 lines
579 B
Plaintext

# Description: sphinx extension which outputs Apple help books
# URL: https://github.com/sphinx-doc/sphinxcontrib-applehelp/
# Maintainer: unmaintained
# Depends on: python3-build python3-flit-core python3-installer python3-wheel
name=python3-sphinxcontrib-applehelp
version=1.0.4
release=1
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 --compile-bytecode 2 --destdir=$PKG dist/*.whl
}