diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2018-11-19 02:44:09 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2018-11-19 02:44:09 +0000 |
commit | 61230ccc544be40259e354a5eb534b05341b78a4 (patch) | |
tree | d1b3577c96a82dce08c0e941c4fbd2e56711256e | |
parent | 2018-11-19 02:04:38 UTC (diff) | |
parent | dev-util/kdevelop: Version bump 5.3.0 (diff) | |
download | gentoo-61230ccc544be40259e354a5eb534b05341b78a4.tar.gz gentoo-61230ccc544be40259e354a5eb534b05341b78a4.tar.bz2 gentoo-61230ccc544be40259e354a5eb534b05341b78a4.zip |
Merge updates from master
-rw-r--r-- | dev-util/kdevelop-clang-tidy/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3.ebuild | 46 | ||||
-rw-r--r-- | dev-util/kdevelop-clang-tidy/metadata.xml | 8 | ||||
-rw-r--r-- | dev-util/kdevelop-php/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop-php/kdevelop-php-5.3.0.ebuild | 49 | ||||
-rw-r--r-- | dev-util/kdevelop-python/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop-python/kdevelop-python-5.3.0.ebuild | 53 | ||||
-rw-r--r-- | dev-util/kdevelop/Manifest | 1 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-5.3.0.ebuild | 133 |
9 files changed, 293 insertions, 0 deletions
diff --git a/dev-util/kdevelop-clang-tidy/Manifest b/dev-util/kdevelop-clang-tidy/Manifest new file mode 100644 index 000000000000..921e9a285e18 --- /dev/null +++ b/dev-util/kdevelop-clang-tidy/Manifest @@ -0,0 +1 @@ +DIST kdev-clang-tidy-0.3.3.tar.xz 55804 BLAKE2B 30ec12d5a2bc7d8b5d111374c8954a65bebe89a4a192d6ecfde7065b54fcfb41e46137a328cd172a06ef3e00cbee42581b1ce7561b2b2a43430b33aebd70fa0d SHA512 448cc8e30cb6e237c43eb52f4694327900558a34a707d15195c2ad460f48e405315b5a667cfcf7a402dc6d9c2861594912159f63ac4cf61546a3ddf8777be489 diff --git a/dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3.ebuild b/dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3.ebuild new file mode 100644 index 000000000000..4e1d831e0c22 --- /dev/null +++ b/dev-util/kdevelop-clang-tidy/kdevelop-clang-tidy-0.3.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDEBASE="kdevelop" +KDE_TEST="true" +KMNAME="kdev-clang-tidy" +VIRTUALX_REQUIRED="test" +inherit kde5 + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN/kdevelop/kdev}/${PV}/src/${P/kdevelop/kdev}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="KDevelop plugin for clang-tidy static analysis support" +LICENSE="GPL-2+" +IUSE="" + +COMMON_DEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + >=dev-util/kdevelop-5.2.3:5 +" +RDEPEND="${COMMON_DEPEND} + sys-devel/clang:* +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + dev-util/kdevelop:5[test?] +" + +src_prepare() { + kde5_src_prepare + # drop when upstream depends on >=kdevelop-5.2.2 + sed -e "/KF_ADDITIONAL_REQ_COMPONENTS/d" -i CMakeLists.txt +} diff --git a/dev-util/kdevelop-clang-tidy/metadata.xml b/dev-util/kdevelop-clang-tidy/metadata.xml new file mode 100644 index 000000000000..2fdbf33d963d --- /dev/null +++ b/dev-util/kdevelop-clang-tidy/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> +</pkgmetadata> diff --git a/dev-util/kdevelop-php/Manifest b/dev-util/kdevelop-php/Manifest index 655bfacc6704..f1b8b1bf4f0c 100644 --- a/dev-util/kdevelop-php/Manifest +++ b/dev-util/kdevelop-php/Manifest @@ -1 +1,2 @@ DIST kdev-php-5.2.4.tar.xz 685356 BLAKE2B d9c9feb1099b5d6b0d57651f2588ad51016e159bde78a7104c3f9b429e75c9ef596329173e27f5010e39388575e23b920af2b7fec72b0801c21370f235f20acf SHA512 3729cf0ea4ade85349778dd05ef9835a6993309aed05c7d7ef7d91c90ddaf09d1c5fad495753aa32f6a93b339dfbd14be9cb4b06b04a10d9d065aa8cfa1fa3cd +DIST kdev-php-5.3.0.tar.xz 1007344 BLAKE2B 4fe9f1710966d8cf741a702f664d08e3a57ba931dacb1424cff3adc06f2b65abf6a4bdd24f33add4b1da1585f9580b50615f5b799f5d68a9f3b0b5ef8268bf19 SHA512 7a5d86bcb05516a503a1b0bc074b2164442d113d036bdc47129b7948d9e4357258b61361e742bc2c06c172b8bc04790353c84eb0ea1bc958136045d69b2a2eb1 diff --git a/dev-util/kdevelop-php/kdevelop-php-5.3.0.ebuild b/dev-util/kdevelop-php/kdevelop-php-5.3.0.ebuild new file mode 100644 index 000000000000..9b1c18f583ba --- /dev/null +++ b/dev-util/kdevelop-php/kdevelop-php-5.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_BRANCH="5.3" +KDEBASE="kdevelop" +KDE_DOC_DIR="docs" +KDE_HANDBOOK="forceoptional" +KDE_TEST="true" +KMNAME="kdev-php" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="PHP plugin for KDevelop" +LICENSE="GPL-2 LGPL-2" +IUSE="" +[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86" + +COMMON_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="${COMMON_DEPEND} + !dev-util/kdevelop-php-docs +" +DEPEND="${COMMON_DEPEND} + test? ( dev-util/kdevelop:5[test] ) +" + +src_test() { + # tests hang + local myctestargs=( + -E "(completionbenchmark|duchain_multiplefiles)" + ) + kde5_src_test +} 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 +} diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 8dcdbfbf4164..6e11d035f281 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1 +1,2 @@ DIST kdevelop-5.2.4.tar.xz 6647172 BLAKE2B c3dc301cf16bdef95000aa6cb3ebe615054f49ad29bc67870c31d329cf7bd4df81dad330eb26dd28c19627b2040f62522d755afa4450bb125872350d1f8039e1 SHA512 1c64b4f56452e8c926c5bcea5a9d8368fa62926d1ec507d289d8cb47275d478898d56fdf083fc24e291aaf4738cc5b7ddfd239e6993848e862bc4d83e270558b +DIST kdevelop-5.3.0.tar.xz 6698296 BLAKE2B 51547eda3b0c0505fc92acd9cb02b2eea3d97aa148bb5c659115688dee9ead4e025fc4d34d4da7e6bc55b2aa38d854f63ffa05604129c34f5f6151de9665b716 SHA512 dbe628378094515911b8e1cac9ed8fedabaf495e68d87b199b5beb5121b936e7ea245c567e91db5a9ecb477f3b636fa62da41d4c70395273e234430ec72e62fd diff --git a/dev-util/kdevelop/kdevelop-5.3.0.ebuild b/dev-util/kdevelop/kdevelop-5.3.0.ebuild new file mode 100644 index 000000000000..a59e0128694e --- /dev/null +++ b/dev-util/kdevelop/kdevelop-5.3.0.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_BRANCH="5.3" +KDE_HANDBOOK="forceoptional" +KDE_TEST="true" +VIRTUALDBUS_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" +LICENSE="GPL-2 LGPL-2" +IUSE="cvs +gdbui hex +plasma +qmake reviewboard subversion webkit" +[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86" + +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:= + x11-misc/shared-mime-info + 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? ( $(add_qt_dep qtwebkit) ) + !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) + dev-util/ninja + >=sys-devel/gdb-7.0[python] + cvs? ( dev-vcs/cvs ) + reviewboard? ( $(add_kdeapps_dep ktp-accounts-kcm) ) + !dev-util/kdevelop-clang + !dev-util/kdevelop-cppcheck + !dev-util/kdevelop-qmake + !dev-util/kdevelop-qmljs + !dev-util/kdevplatform +" + +RESTRICT+=" test" +# see bug 366471 + +src_configure() { + local mycmakeargs=( + -DBUILD_cvs=$(usex cvs) + $(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 +} |