Files
ports/main/python3-sphinxygen/spkgbuild
2023-10-23 10:09:14 +00:00

15 lines
549 B
Plaintext

# description : Python module/script that generates Sphinx markup to describe a C API, from an XML description extracted by Doxygen
# homepage : https://gitlab.com/drobilla/sphinxygen
# depends : doxygen python3-sphinx
name=python3-sphinxygen
version=1.0.4
release=1
source="$name-$version.tar.bz2::https://gitlab.com/drobilla/sphinxygen/-/archive/v1.0.4/${name#*-}-v$version.tar.bz2"
build() {
cd ${name#*-}-v$version
python3 -m build --wheel --skip-dependency-check --no-isolation
python3 -m installer --destdir=$PKG dist/*.whl
}