2020-04-27 21:14:19 -04:00
|
|
|
# Description: sphinx extension which outputs Apple help books
|
|
|
|
# URL: https://github.com/sphinx-doc/sphinxcontrib-applehelp/
|
2021-02-02 22:49:46 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2023-01-11 19:46:37 +00:00
|
|
|
# Depends on: python3-setuptools python3-installer python3-build python3-flit-core
|
2020-04-27 21:14:19 -04:00
|
|
|
|
|
|
|
name=python3-sphinxcontrib-applehelp
|
2023-01-26 18:46:30 +01:00
|
|
|
version=1.0.4
|
2020-04-27 21:14:19 -04:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/sphinx-doc/${name#*-}/archive/$version/${name#*-}-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
|
2023-01-11 19:46:37 +00:00
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2020-04-27 21:14:19 -04:00
|
|
|
}
|