KDE frameworks, bump to 6.25.0 part5 (#13943)

This commit is contained in:
Schrijvers Luc
2026-04-14 12:46:08 +02:00
committed by GitHub
parent c517aef2db
commit 1d44c30317
11 changed files with 148 additions and 31 deletions

View File

@@ -0,0 +1,55 @@
SUMMARY="Frameworks API Documentation Tools"
DESCRIPTION="This framework contains scripts and data for building API documentation (dox) in \
a standard format and style.
https://api.kde.org holds the result, and this very page is handled by KApiDox too: \
https://api.kde.org/frameworks/kapidox/html/index.html.
The Doxygen tool performs the actual documentation extraction and formatting. This framework \
provides a wrapper script to make generating the documentation more convenient (including reading \
settings from the target framework or other module) and a standard template for the generated \
documentation"
HOMEPAGE="https://invent.kde.org/frameworks/kapidox/"
COPYRIGHT="2010-2026 KDE Organisation"
LICENSE="BSD (2-clause)
GNU AGPL v3"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kapidox-$portVersion.tar.xz"
CHECKSUM_SHA256="01adf5e20ed1d4d838ae6e51ecc046cf9ef58a6da8903265e2539cf0656fea67"
SOURCE_DIR="kapidox-$portVersion"
ARCHITECTURES="any"
pythonVersion="3.10"
pythonPackage=python${pythonVersion//.}
PROVIDES="
kapidox6 = $portVersion
cmd:depdiagram_generate_all = $portVersion
cmd:kapidox_depdiagram_generate = $portVersion
cmd:kapidox_depdiagram_prepare = $portVersion
cmd:kapidox_generate = $portVersion
"
REQUIRES="
haiku
cmd:python$pythonVersion
jinja2_$pythonPackage
pyyaml_$pythonPackage
"
BUILD_REQUIRES="
haiku_devel
build_$pythonPackage
installer_$pythonPackage
setuptools_$pythonPackage
wheel_$pythonPackage
"
BUILD_PREREQUIRES+="
cmd:python$pythonVersion
"
INSTALL()
{
python=python$pythonVersion
$python -m build --wheel --skip-dependency-check --no-isolation
$python -m installer -p $prefix dist/*.whl
}