1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/kdevelop-python/APKBUILD
2021-06-26 23:43:50 +02:00

44 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdevelop-python
pkgver=5.6.2
pkgrel=1
pkgdesc="Python language and documentation plugin for KDevelop"
url="https://www.kdevelop.org/"
# armhf blocked by extra-cmake-modules
# ppc64le, s390x, mips64 and riscv64 blocked by kdevelop
arch="all !armhf !ppc64le !s390x !mips64 !riscv64"
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 --install build
}
sha512sums="c0ecf9c075fe8c18e31152b774e76596367bb5eca8bb5ec976e9ce90ce78512d9e42bc95daea0f1de18474ef4deee430674e186263736df0de67d7d26c81f6a0 kdev-python-5.6.2.tar.xz"