commit: 7eb7b64767f52700b5df01144afc696b1f5983b3 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Jul 22 21:59:46 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Jul 22 22:03:37 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=7eb7b647
dev-util/kdevelop*: Add 5.3.80 (5.4 beta1) See also: https://www.kdevelop.org/news/kdevelop-5380-released Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-util/kdevelop-php/kdevelop-php-5.3.80.ebuild | 52 ++++++++ .../kdevelop-python/kdevelop-python-5.3.80.ebuild | 47 ++++++++ dev-util/kdevelop/kdevelop-5.3.80.ebuild | 132 +++++++++++++++++++++ 3 files changed, 231 insertions(+) diff --git a/dev-util/kdevelop-php/kdevelop-php-5.3.80.ebuild b/dev-util/kdevelop-php/kdevelop-php-5.3.80.ebuild new file mode 100644 index 0000000000..249034d10e --- /dev/null +++ b/dev-util/kdevelop-php/kdevelop-php-5.3.80.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_DOC_DIR="docs" +KDE_HANDBOOK="forceoptional" +KDE_TEST="true" +KMNAME="kdev-php" +VIRTUALX_REQUIRED="test" +inherit kde5 + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="PHP plugin for KDevelop" +HOMEPAGE="https://www.kdevelop.org/" +LICENSE="GPL-2 LGPL-2" +IUSE="" + +BDEPEND=" + test? ( dev-util/kdevelop:5[test] ) +" +DEPEND=" + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(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-pg-qt:5 + dev-util/kdevelop:5 +" +RDEPEND="${DEPEND}" + +# remaining tests fail for some, bug 668530 +RESTRICT+=" test" + +src_test() { + # tests hang, bug 667922 + local myctestargs=( + -E "(completionbenchmark|duchain_multiplefiles)" + ) + kde5_src_test +} diff --git a/dev-util/kdevelop-python/kdevelop-python-5.3.80.ebuild b/dev-util/kdevelop-python/kdevelop-python-5.3.80.ebuild new file mode 100644 index 0000000000..2ca49a5318 --- /dev/null +++ b/dev-util/kdevelop-python/kdevelop-python-5.3.80.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_TEST="forceoptional" +KMNAME="kdev-python" +PYTHON_COMPAT=( python3_{5,6,7} ) +inherit kde5 python-single-r1 + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Python plugin for KDevelop" +HOMEPAGE="https://www.kdevelop.org/" +IUSE="" + +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 +} diff --git a/dev-util/kdevelop/kdevelop-5.3.80.ebuild b/dev-util/kdevelop/kdevelop-5.3.80.ebuild new file mode 100644 index 0000000000..e738d79b46 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-5.3.80.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="true" +VIRTUALDBUS_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" +HOMEPAGE="https://www.kdevelop.org/" +LICENSE="GPL-2 LGPL-2" +IUSE="+gdbui hex +plasma +qmake reviewboard subversion webkit" + +COMMON_DEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep sonnet) + $(add_frameworks_dep threadweaver) + $(add_kdeapps_dep libkomparediff2) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative 'widgets') + $(add_qt_dep qtgui) + $(add_qt_dep qthelp) + $(add_qt_dep qtnetwork) + $(add_qt_dep qttest) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + dev-libs/grantlee:5 + >=sys-devel/clang-3.8.0:= + gdbui? ( $(add_plasma_dep libksysguard) ) + hex? ( app-editors/okteta:5 ) + plasma? ( + $(add_frameworks_dep krunner) + $(add_frameworks_dep plasma) + ) + qmake? ( dev-util/kdevelop-pg-qt:5 ) + reviewboard? ( $(add_frameworks_dep purpose) ) + subversion? ( + dev-libs/apr:1 + dev-libs/apr-util:1 + dev-vcs/subversion + ) + webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 ) + !webkit? ( $(add_qt_dep qtwebengine 'widgets') ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + $(add_qt_dep qtconcurrent) +" +RDEPEND="${COMMON_DEPEND} + $(add_kdeapps_dep kapptemplate) + $(add_kdeapps_dep kio-extras) + $(add_qt_dep qtquickcontrols) + $(add_qt_dep qtquickcontrols2) + dev-util/ninja + >=sys-devel/gdb-7.0[python] + reviewboard? ( $(add_kdeapps_dep ktp-accounts-kcm) ) + !dev-util/kdevelop-clang-tidy + !dev-util/kdevplatform +" + +RESTRICT+=" test" +# see bug 366471 + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package gdbui KF5SysGuard) + -DBUILD_executeplasmoid=$(usex plasma) + $(cmake-utils_use_find_package plasma KF5Plasma) + $(cmake-utils_use_find_package hex OktetaKastenControllers) + $(cmake-utils_use_find_package qmake KDevelop-PG-Qt) + $(cmake-utils_use_find_package reviewboard KF5Purpose) + $(cmake-utils_use_find_package subversion SubversionLibrary) + $(cmake-utils_use_find_package !webkit Qt5WebEngineWidgets) + ) + + use reviewboard || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON ) + + kde5_src_configure +} + +pkg_postinst() { + kde5_pkg_postinst + + if ! has_version "kde-apps/konsole" ; then + elog "For konsole view, please install kde-apps/konsole" + fi + + if ! has_version "dev-util/cppcheck" ; then + elog "For static C/C++ code analysis support, please install dev-util/cppcheck" + fi + + if ! has_version "dev-util/heaptrack[qt5]" ; then + elog "For heap memory profiling support, please install dev-util/heaptrack" + fi + + if ! has_version "dev-util/clazy" ; then + elog "For static C++ Qt code analysis support, please install dev-util/clazy" + fi +}