void-packages/srcpkgs/kdevelop-python/template
2017-12-18 18:25:05 +01:00

25 lines
1 KiB
Bash

# Template file for 'kdevelop-python'
pkgname=kdevelop-python
version=5.2.1
revision=1
build_style=cmake
wrksrc="kdev-python-${version}"
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"
pycompile_dirs="usr/share/kdevpythonsupport"
pycompile_version="3.6"
python_version="3"
short_desc="Python 3 language and Django project support for KDevelop"
maintainer="yopito <pierre.bourgin@free.fr>"
license="LGPL-2"
homepage="https://www.kdevelop.org/"
distfiles="https://download.kde.org/stable/kdevelop/${version}/src/kdev-python-${version}.tar.xz"
checksum=32d663e593ac8c538c101742b2ee838256a7794914d8e0a047ce0d28bafa027b
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
}