commit: c413eae7dc6ad82c5b33d50e8159a1266d7a6ce0 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Aug 18 17:03:38 2017 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Aug 18 17:05:27 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c413eae7
dev-util/kdevelop-python: Add 5.2 stable branch Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../kdevelop-python-5.2.9999.ebuild | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/dev-util/kdevelop-python/kdevelop-python-5.2.9999.ebuild b/dev-util/kdevelop-python/kdevelop-python-5.2.9999.ebuild new file mode 100644 index 0000000000..d2599b41ee --- /dev/null +++ b/dev-util/kdevelop-python/kdevelop-python-5.2.9999.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 +}