2020-04-27 21:14:19 -04:00
|
|
|
# Description: sphinx extension which renders HTML help files
|
2023-08-06 19:25:46 +02:00
|
|
|
# URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/
|
|
|
|
# Maintainer: unmaintained
|
|
|
|
# Depends on: python3-build python3-installer python3-wheel
|
2020-04-27 21:14:19 -04:00
|
|
|
|
|
|
|
name=python3-sphinxcontrib-htmlhelp
|
2021-09-18 13:49:51 +10:00
|
|
|
_name=${name#*-}
|
2023-02-02 21:40:41 +01:00
|
|
|
version=2.0.1
|
|
|
|
release=1
|
2021-09-18 13:49:51 +10:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$version.tar.gz)
|
2020-04-27 21:14:19 -04:00
|
|
|
|
|
|
|
build() {
|
2023-08-06 19:25:46 +02:00
|
|
|
cd $_name-$version
|
2020-04-27 21:14:19 -04:00
|
|
|
|
2023-08-06 19:25:46 +02: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
|
|
|
}
|