void-packages/srcpkgs/kdevelop-python/template
2019-11-07 12:01:43 +01:00

24 lines
1 KiB
Bash

# Template file for 'kdevelop-python'
pkgname=kdevelop-python
version=5.4.4
revision=1
wrksrc="kdev-python-${version}"
build_style=cmake
pycompile_dirs="usr/share/kdevpythonsupport"
hostmakedepends="extra-cmake-modules python3 qt5-qmake python3-devel"
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/"
distfiles="${KDE_SITE}/kdevelop/${version}/src/kdev-python-${version}.tar.xz"
checksum=62755863daa31f9f7dbfebdf1b49397afadcaff331c488294403746c594d0378
pycompile_version="$py3_ver"
nocross="kdevelop-devel is not available"
post_install() {
# don't install this python2 script: generates documentation_files, useless at runtime
rm -f ${DESTDIR}/usr/share/kdevpythonsupport/documentation_files/PyKDE4/parse_xml.py
}