mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-25 02:21:58 +01:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kdevelop-python
|
|
pkgver=5.6.0
|
|
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 qt5-qtbase-dev ki18n-dev threadweaver-dev ktexteditor-dev kdevelop-dev python3-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="c6a866a563f3304aab860f66d752a617f8a0822c2e3b0f4131b8e8603f2ed86b5141ad308f967ffc5e9458693f389281a8918feea9fc584d7b4213fa265479be kdev-python-5.6.0.tar.xz"
|