mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kdevelop-python
|
|
pkgver=5.5.2
|
|
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="2558e4ad7485abe8473b703a3d80a1faea9e4152eb7be314ea8c3d46c841f457983206b1bc55f454496b81a468a2f8718086e1b0db3e9e880c50011407e7866e kdev-python-5.5.2.tar.xz"
|