void-packages/srcpkgs/kdevelop-python/template

28 lines
1.3 KiB
Bash

# Template file for 'kdevelop-python'
pkgname=kdevelop-python
version=24.05.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
pycompile_dirs="usr/share/kdevpythonsupport"
hostmakedepends="extra-cmake-modules tar gettext python3 qt5-qmake python3-devel
qt5-host-tools kcoreaddons"
makedepends="python3-devel qt5-devel knewstuff-devel kitemmodels-devel
threadweaver-devel ktexteditor-devel kcmutils-devel knotifyconfig-devel
grantlee5-devel kdevelop-devel"
short_desc="Python 3 language and Django project support for KDevelop"
maintainer="yopito <pierre.bourgin@free.fr>"
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=0e32de35d49a1edc6076a6328782524fc40e1ffe75392697c9954287a18fb726
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
}