blob: f62599c11d9750b1c1eae943a5b3d61fe4b3e35b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGIT_BRANCH="5.2"
KDE_TEST="forceoptional"
KDEBASE="kdevelop"
KMNAME="kdev-python"
PYTHON_COMPAT=( python3_{4,5,6} )
inherit kde5 python-single-r1
DESCRIPTION="Python plugin for KDevelop"
IUSE=""
[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep kitemmodels)
$(add_frameworks_dep knewstuff)
$(add_frameworks_dep kparts)
$(add_frameworks_dep ktexteditor)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep threadweaver)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
dev-util/kdevelop:5
"
RDEPEND="${DEPEND}
dev-python/pycodestyle[${PYTHON_USEDEP}]
"
RESTRICT+=" test"
pkg_setup() {
python-single-r1_pkg_setup
kde5_pkg_setup
}
src_compile() {
pushd "${WORKDIR}"/${P}_build > /dev/null || die
emake parser
popd > /dev/null || die
kde5_src_compile
}
|