# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdevelop-python pkgver=5.6.1 pkgrel=0 pkgdesc="Python language and documentation plugin for KDevelop" url="https://www.kdevelop.org/" arch="all !armhf !ppc64le !s390x !mips !mips64" # Blocked by kdevelop -> qt5-qtwebengine license="LGPL-2.0-or-later" depends="python3" makedepends=" extra-cmake-modules kdevelop-dev ki18n-dev ktexteditor-dev python3-dev qt5-qtbase-dev threadweaver-dev " checkdepends="xvfb-run" source="https://download.kde.org/stable/kdevelop/$pkgver/src/kdev-python-$pkgver.tar.xz" options="!check" # Tests hang builddir="$srcdir/kdev-python-$pkgver" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="bdf05ed098cfbca395c8c82650c278f33bd5878a08527f43d555e905142b3b486267d37789cbe9bf4924162fb9c3024c13e445a2f1d408626861b96c96103e12 kdev-python-5.6.1.tar.xz"