void-packages/srcpkgs/kdevelop-python/template
2025-06-19 15:36:40 +02:00

29 lines
1.5 KiB
Bash

# Template file for 'kdevelop-python'
pkgname=kdevelop-python
version=25.04.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake"
pycompile_dirs="usr/share/kdevpythonsupport"
# FIXME: libimobiledevice added only to resolve ordering for Python rebuilds
hostmakedepends="extra-cmake-modules tar gettext qt6-base qt6-tools
kf6-kconfig kf6-kcmutils python3 libimobiledevice"
# FIXME: libimobiledevice added only to resolve ordering for Python rebuilds
makedepends="python3-devel kf6-knewstuff-devel kf6-kitemmodels-devel
kf6-threadweaver-devel kf6-ktexteditor-devel kf6-kcmutils-devel
kf6-knotifyconfig-devel kdevelop-devel libimobiledevice"
short_desc="Python 3 language and Django project support for KDevelop"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later, GPL-2.0-or-later"
homepage="https://www.kdevelop.org/"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kdev-python"
distfiles="${KDE_SITE}/release-service/${version}/src/kdev-python-${version}.tar.xz"
checksum=005ee17a747903ec082e1d8f6764a24ace846e841cc90ae7c240b5bafd22294d
python_version=3
post_install() {
# don't install this python2 script: generates documentation_files, useless at runtime
rm ${DESTDIR}/usr/share/kdevpythonsupport/documentation_files/PyKDE4/parse_xml.py \
${DESTDIR}/usr/share/kdevpythonsupport/documentation_files/PyKDE4/kdecore.py \
${DESTDIR}/usr/share/kdevpythonsupport/documentation_files/PyKDE4/khtml.py
}