summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/kdevelop-python/Manifest1
-rw-r--r--dev-util/kdevelop-python/kdevelop-python-5.2.0.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/kdevelop-python/Manifest b/dev-util/kdevelop-python/Manifest
index 6dd82ce5dd77..fae8abcdac3c 100644
--- a/dev-util/kdevelop-python/Manifest
+++ b/dev-util/kdevelop-python/Manifest
@@ -1,2 +1,3 @@
DIST kdev-python-5.1.1.tar.xz 1068832 SHA256 e2d8ed64106fb6ff12161095df67d078af9e56c9075f7c2a99d96fb517ff020e SHA512 e232b2fc44876c8e46422ea2986c2df06071e3422236139d3658f514d2f9d968c4f6320048566fe991c5c510cc3cf36eb55389e3d2205bb29c92b4c6a97b19bf WHIRLPOOL c5990fb2bbd74aee057b31b9dd74dafad0d1a8fe183f8c9321d444aca820dffe85a37642fa7de961362dea1b51224d6e3e80ab4c67525c82c676a152dd76425b
DIST kdev-python-5.1.2.tar.xz 1069080 SHA256 fd80a2d4073595b9d4ac404acc4d8939d43c9f367bc0e9a22dfb11781017690b SHA512 1c91554bce3a1bb92b247a8b924e5b73865b68c8b6c2898d708d3b45f89f1ca9cb4207bd2f1a6f71e7df95781cd5d0ddaa610fa5c18e8f4e902306df5c38591a WHIRLPOOL ff22f27c4f96c7d2325278ccb1f70c4e13d73f980f3c6807d677b071d21252de7abfd82e709a9034219280c805b3f6ec8e3a2a90ee56a32686e72dfb550f30f1
+DIST kdev-python-5.2.0.tar.xz 1070312 SHA256 9efb35b3a4abcf716484e1e80a5d92b9213ce14f3acd5716fa024e49111c960f SHA512 9b938144eb1f29d8caed923c724c93957c4f0f92eb05e54dd0d61d495cd919410db7dd0649d9ddf0b72e1e556d2404479f29acb7c77ee887ff8ec33686383147 WHIRLPOOL 3efcb8bbf7b01e3eba190123ec2afd9709d4eb6d37165cfdbcb88c9f8a6cfb54e479419b8c0bf783b3a4fc40848228bbe9d6f4fb77cb0e8f6484f3f35fb2bd98
diff --git a/dev-util/kdevelop-python/kdevelop-python-5.2.0.ebuild b/dev-util/kdevelop-python/kdevelop-python-5.2.0.ebuild
new file mode 100644
index 000000000000..d2599b41ee23
--- /dev/null
+++ b/dev-util/kdevelop-python/kdevelop-python-5.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 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
+}