diff options
Diffstat (limited to 'community/kapidox/APKBUILD')
-rw-r--r-- | community/kapidox/APKBUILD | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/community/kapidox/APKBUILD b/community/kapidox/APKBUILD index c4bbc1822d8..9130a99e0d3 100644 --- a/community/kapidox/APKBUILD +++ b/community/kapidox/APKBUILD @@ -1,7 +1,10 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> +# Maintainer: team/kde <bribbers@disroot.org> + +# The group tag is just to easily find this APKBUILD by some scripts for automation +# group=kde-frameworks pkgname=kapidox -pkgver=5.88.0 +pkgver=6.1.0 pkgrel=0 arch="noarch !armhf" # armhf blocked by extra-cmake-modules pkgdesc="Scripts and data for building API documentation (dox) in a standard format and style" @@ -14,28 +17,30 @@ depends=" python3 " makedepends=" - extra-cmake-modules + py3-gpep517 py3-setuptools + py3-wheel python3-dev + samurai " +checkdepends="bash" +subpackages="$pkgname-pyc" +_repo_url="https://invent.kde.org/frameworks/kapidox.git" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kapidox-$pkgver.tar.xz" -subpackages="$pkgname-doc" +# No useful tests +options="!check" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr - cmake --build build -} - -check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE ctest + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } package() { - DESTDIR="$pkgdir" cmake --build build --target install + python3 -m installer -d "$pkgdir" \ + .dist/*.whl } + sha512sums=" -aeef95e9069c7da82ee1650492384b0f89685826547466e77152e06593d02505e49bf6c8b49add6a001811bc6e6130ebc4d6b184f2b9c9edafb347cc307f56f1 kapidox-5.88.0.tar.xz +457ccd628cd05c37c7c10c0243516d48c1464f5609d43a36e0a6810250be31b168259afbcadece7c99b7fb0a0627aa901920b9c6ff25f2eed52d04be4777fbbc kapidox-6.1.0.tar.xz " |