summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2018-11-19 02:55:57 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2018-11-19 03:15:22 +0100
commit823bd2d48417f8f666a8f1daa52b1def25199e00 (patch)
tree6d3f055706d75b63054ac3fb111d236a374aac13 /dev-util/kdevelop-python
parentdev-util/kdevelop-php: Version bump 5.3.0 (diff)
downloadgentoo-823bd2d48417f8f666a8f1daa52b1def25199e00.tar.gz
gentoo-823bd2d48417f8f666a8f1daa52b1def25199e00.tar.bz2
gentoo-823bd2d48417f8f666a8f1daa52b1def25199e00.zip
dev-util/kdevelop-python: Version bump 5.3.0
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'dev-util/kdevelop-python')
-rw-r--r--dev-util/kdevelop-python/Manifest1
-rw-r--r--dev-util/kdevelop-python/kdevelop-python-5.3.0.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/kdevelop-python/Manifest b/dev-util/kdevelop-python/Manifest
index c67af031aa06..022ebb556492 100644
--- a/dev-util/kdevelop-python/Manifest
+++ b/dev-util/kdevelop-python/Manifest
@@ -1 +1,2 @@
DIST kdev-python-5.2.4.tar.xz 1073172 BLAKE2B 774ef9853d9304073c5c8ff0657774a546c361d316116c1b09f21dad5f65cc8566948f42d179d5e612b64874ea14087e26794fdc3f3c7a9910569592c064973b SHA512 abf86aeeffba496a51cc6969bb0dd75509b3385332914f8135e3b1ec5e4da592af5a7d07fd98ad231d8c09109c2396037727e3db0a7ce14bd427f87d558fa3b8
+DIST kdev-python-5.3.0.tar.xz 1074128 BLAKE2B 0975aaa44555e45e17f79c68179b7e70c6b343356294b0f861feb34031267a41bddab2cf9e02bdabef2eb593fbd3bef8b26baf977c8dd778bacf2fa0538f87c1 SHA512 5e7b850dd297d14f81121a253d0650deed1ee9c22aef4c7b129f9aef57119bb9c3266292fb57cfa1dcbdd19ca076bc565cb21ced856e03480d1d774b719c8755
diff --git a/dev-util/kdevelop-python/kdevelop-python-5.3.0.ebuild b/dev-util/kdevelop-python/kdevelop-python-5.3.0.ebuild
new file mode 100644
index 000000000000..95cc296ddff0
--- /dev/null
+++ b/dev-util/kdevelop-python/kdevelop-python-5.3.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_BRANCH="5.3"
+KDE_TEST="forceoptional"
+KDEBASE="kdevelop"
+KMNAME="kdev-python"
+PYTHON_COMPAT=( python3_{4,5,6,7} )
+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
+}