diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-20 18:45:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-20 18:45:28 +0000 |
commit | 796cae72cf9ed18ba01256ac1f83a686a2a76036 (patch) | |
tree | 5ca737a2562d8c0a09fcfacd81d1f9004df37b00 /dev-util/kdevelop-python/kdevelop-python-5.2.0.ebuild | |
parent | 20d8e9cfb95a9f054d654ab6405e848807186aa0 (diff) |
gentoo resync : 20.11.2017
Diffstat (limited to 'dev-util/kdevelop-python/kdevelop-python-5.2.0.ebuild')
-rw-r--r-- | dev-util/kdevelop-python/kdevelop-python-5.2.0.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
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 +} |