28 lines
1.3 KiB
Bash
28 lines
1.3 KiB
Bash
# Template file for 'kdevelop-python'
|
|
pkgname=kdevelop-python
|
|
version=24.08.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake"
|
|
pycompile_dirs="usr/share/kdevpythonsupport"
|
|
hostmakedepends="extra-cmake-modules tar gettext qt6-base qt6-tools
|
|
kf6-kconfig kf6-kcmutils python3"
|
|
makedepends="python3-devel kf6-knewstuff-devel kf6-kitemmodels-devel
|
|
kf6-threadweaver-devel kf6-ktexteditor-devel kf6-kcmutils-devel kf6-knotifyconfig-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=203f2267f9f24c57ec41549968389548177118231c7d2da8cb3f0722a09d5cee
|
|
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
|
|
}
|