diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-12 13:58:37 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-12 14:18:08 +0100 |
commit | c6ed21c68a1708283182588d35351acf65896244 (patch) | |
tree | 3fb41b959a7ecdc530257ce94556b0eeb588190c /dev-libs/kreport | |
parent | dev-libs/kdiagram: Port away from kde5.eclass, add HOMEPAGE (diff) | |
download | gentoo-c6ed21c68a1708283182588d35351acf65896244.tar.gz gentoo-c6ed21c68a1708283182588d35351acf65896244.tar.bz2 gentoo-c6ed21c68a1708283182588d35351acf65896244.zip |
dev-libs/kreport: Port away from kde5.eclass, add HOMEPAGE, python3_8
Dropping python2_7
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/kreport')
-rw-r--r-- | dev-libs/kreport/kreport-3.2.0.ebuild | 44 |
1 files changed, 25 insertions, 19 deletions
diff --git a/dev-libs/kreport/kreport-3.2.0.ebuild b/dev-libs/kreport/kreport-3.2.0.ebuild index 952f116009a0..b19cd9dcd243 100644 --- a/dev-libs/kreport/kreport-3.2.0.ebuild +++ b/dev-libs/kreport/kreport-3.2.0.ebuild @@ -1,34 +1,40 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -KDE_QTHELP="true" -KDE_TEST="true" -PYTHON_COMPAT=( python2_7 python3_{6,7} ) +ECM_QTHELP="true" +ECM_TEST="true" +PYTHON_COMPAT=( python3_{6,7,8} ) +KFMIN=5.60.0 +QTMIN=5.12.3 VIRTUALX_REQUIRED="test" -inherit kde5 python-any-r1 +inherit ecm kde.org python-any-r1 DESCRIPTION="Framework for creation and generation of reports in multiple formats" -[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz" +HOMEPAGE="https://community.kde.org/KReport" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz" + KEYWORDS="amd64 x86" +fi LICENSE="LGPL-2+" SLOT="5/4" -KEYWORDS="amd64 x86" IUSE="marble +scripting webkit" RDEPEND=" - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kguiaddons) - $(add_frameworks_dep kwidgetsaddons) - $(add_qt_dep qtgui) - $(add_qt_dep qtprintsupport) - $(add_qt_dep qtwidgets) - $(add_qt_dep qtxml) >=dev-libs/kproperty-3.1.0:5= - marble? ( $(add_kdeapps_dep marble '' '' '5=') ) - scripting? ( $(add_qt_dep qtdeclarative) ) + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + marble? ( >=kde-apps/marble-19.04.3:5= ) + scripting? ( >=dev-qt/qtdeclarative-${QTMIN}:5 ) webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 ) " DEPEND="${RDEPEND} @@ -37,7 +43,7 @@ DEPEND="${RDEPEND} pkg_setup() { python-any-r1_pkg_setup - kde5_pkg_setup + ecm_pkg_setup } src_configure() { @@ -46,5 +52,5 @@ src_configure() { $(cmake_use_find_package webkit Qt5WebKitWidgets) -DKREPORT_SCRIPTING=$(usex scripting) ) - kde5_src_configure + ecm_src_configure } |