public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-office/kmymoney/
Date: Mon, 19 Mar 2018 19:46:05 +0000 (UTC)	[thread overview]
Message-ID: <1521488740.a91f9008b4d09bc96a53efc59ce7533d3fc6a296.asturm@gentoo> (raw)

commit:     a91f9008b4d09bc96a53efc59ce7533d3fc6a296
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 17:00:58 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 19:45:40 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a91f9008

app-office/kmymoney: Fix USE=weboob

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/kmymoney/kmymoney-5.0.9999.ebuild | 16 +++++++++++++---
 app-office/kmymoney/kmymoney-9999.ebuild     | 17 ++++++++++++++---
 2 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/app-office/kmymoney/kmymoney-5.0.9999.ebuild b/app-office/kmymoney/kmymoney-5.0.9999.ebuild
index 5e06e63f04..c1782017e9 100644
--- a/app-office/kmymoney/kmymoney-5.0.9999.ebuild
+++ b/app-office/kmymoney/kmymoney-5.0.9999.ebuild
@@ -4,13 +4,15 @@
 EAPI=6
 
 EGIT_BRANCH="5.0"
+PYTHON_COMPAT=( python2_7 )
+
 KDE_GCC_MINIMAL="6.4"
 KDE_HANDBOOK="optional"
 KDE_TEST="forceoptional"
 QT_MINIMAL="5.9.3"
 VIRTUALX_REQUIRED="test"
 VIRTUALDBUS_TEST="true"
-inherit kde5
+inherit kde5 python-r1
 
 DESCRIPTION="Personal finance manager based on KDE Frameworks"
 HOMEPAGE="https://kmymoney.org"
@@ -22,6 +24,8 @@ LICENSE="GPL-2"
 KEYWORDS=""
 IUSE="activities addressbook calendar hbci holidays ofx quotes webkit weboob"
 
+REQUIRED_USE="weboob? ( ${PYTHON_REQUIRED_USE} )"
+
 COMMON_DEPEND="
 	$(add_frameworks_dep karchive)
 	$(add_frameworks_dep kcmutils)
@@ -76,7 +80,8 @@ COMMON_DEPEND="
 	)
 	!webkit? ( $(add_qt_dep qtwebengine 'widgets') )
 	weboob? (
-		$(add_frameworks_dep kross)
+		${PYTHON_DEPS}
+		$(add_qt_dep qtconcurrent)
 		www-client/weboob
 	)
 "
@@ -89,6 +94,11 @@ RDEPEND="${COMMON_DEPEND}
 	quotes? ( dev-perl/Finance-Quote )
 "
 
+pkg_setup() {
+	use weboob && python-setup
+	kde5_pkg_setup
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DUSE_QT_DESIGNER=OFF
@@ -102,7 +112,7 @@ src_configure() {
 		-DENABLE_OFXIMPORTER=$(usex ofx)
 		-DENABLE_WEBENGINE=$(usex !webkit)
 		-DENABLE_WEBOOB=$(usex weboob)
-		$(cmake-utils_use_find_package weboob KF5Kross)
+		$(cmake-utils_use_find_package weboob PythonLibs)
 	)
 	kde5_src_configure
 }

diff --git a/app-office/kmymoney/kmymoney-9999.ebuild b/app-office/kmymoney/kmymoney-9999.ebuild
index 1fc5b1e56d..c1782017e9 100644
--- a/app-office/kmymoney/kmymoney-9999.ebuild
+++ b/app-office/kmymoney/kmymoney-9999.ebuild
@@ -3,13 +3,16 @@
 
 EAPI=6
 
+EGIT_BRANCH="5.0"
+PYTHON_COMPAT=( python2_7 )
+
 KDE_GCC_MINIMAL="6.4"
 KDE_HANDBOOK="optional"
 KDE_TEST="forceoptional"
 QT_MINIMAL="5.9.3"
 VIRTUALX_REQUIRED="test"
 VIRTUALDBUS_TEST="true"
-inherit kde5
+inherit kde5 python-r1
 
 DESCRIPTION="Personal finance manager based on KDE Frameworks"
 HOMEPAGE="https://kmymoney.org"
@@ -21,6 +24,8 @@ LICENSE="GPL-2"
 KEYWORDS=""
 IUSE="activities addressbook calendar hbci holidays ofx quotes webkit weboob"
 
+REQUIRED_USE="weboob? ( ${PYTHON_REQUIRED_USE} )"
+
 COMMON_DEPEND="
 	$(add_frameworks_dep karchive)
 	$(add_frameworks_dep kcmutils)
@@ -75,7 +80,8 @@ COMMON_DEPEND="
 	)
 	!webkit? ( $(add_qt_dep qtwebengine 'widgets') )
 	weboob? (
-		$(add_frameworks_dep kross)
+		${PYTHON_DEPS}
+		$(add_qt_dep qtconcurrent)
 		www-client/weboob
 	)
 "
@@ -88,6 +94,11 @@ RDEPEND="${COMMON_DEPEND}
 	quotes? ( dev-perl/Finance-Quote )
 "
 
+pkg_setup() {
+	use weboob && python-setup
+	kde5_pkg_setup
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DUSE_QT_DESIGNER=OFF
@@ -101,7 +112,7 @@ src_configure() {
 		-DENABLE_OFXIMPORTER=$(usex ofx)
 		-DENABLE_WEBENGINE=$(usex !webkit)
 		-DENABLE_WEBOOB=$(usex weboob)
-		$(cmake-utils_use_find_package weboob KF5Kross)
+		$(cmake-utils_use_find_package weboob PythonLibs)
 	)
 	kde5_src_configure
 }


             reply	other threads:[~2018-03-19 19:46 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 19:46 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-29 20:54 [gentoo-commits] proj/kde:master commit in: app-office/kmymoney/ Andreas Sturmlechner
2025-07-20 16:09 Andreas Sturmlechner
2025-07-19 11:31 Andreas Sturmlechner
2025-07-17 16:28 Andreas Sturmlechner
2025-06-22  9:59 Andreas Sturmlechner
2025-06-22  9:59 Andreas Sturmlechner
2025-05-22 20:49 Andreas Sturmlechner
2025-03-26 20:30 Andreas Sturmlechner
2025-03-26 20:30 Andreas Sturmlechner
2025-01-12 15:50 Andreas Sturmlechner
2025-01-12 15:50 Andreas Sturmlechner
2025-01-12 15:50 Andreas Sturmlechner
2025-01-12 15:50 Andreas Sturmlechner
2024-11-23 13:48 Andreas Sturmlechner
2024-10-21 19:07 Andreas Sturmlechner
2023-09-16 15:04 Andreas Sturmlechner
2023-09-16 15:04 Andreas Sturmlechner
2022-07-09 12:52 Andreas Sturmlechner
2022-02-17 19:00 Sam James
2021-06-20 18:46 Andreas Sturmlechner
2021-04-15 22:32 Andreas Sturmlechner
2021-04-11 20:03 Andreas Sturmlechner
2021-04-04 19:21 Andreas Sturmlechner
2020-12-25 21:51 Andreas Sturmlechner
2020-12-22 11:10 Andreas Sturmlechner
2020-09-17 20:07 Andreas Sturmlechner
2020-08-09  9:45 Andreas Sturmlechner
2020-08-09  9:45 Andreas Sturmlechner
2020-06-28 16:46 Andreas Sturmlechner
2020-06-28 16:46 Andreas Sturmlechner
2020-06-05 23:25 Andreas Sturmlechner
2020-06-05 23:25 Andreas Sturmlechner
2020-06-05 23:25 Andreas Sturmlechner
2020-03-26 21:57 Andreas Sturmlechner
2020-02-09 18:06 Andreas Sturmlechner
2020-01-26 22:23 Andreas Sturmlechner
2020-01-26 22:21 Andreas Sturmlechner
2020-01-26 21:16 Andreas Sturmlechner
2020-01-19 22:12 Andreas Sturmlechner
2020-01-15 19:56 Andreas Sturmlechner
2019-11-13  2:00 Andreas Sturmlechner
2019-10-28 22:52 Andreas Sturmlechner
2019-09-18 18:15 Andreas Sturmlechner
2019-08-25 15:58 Andreas Sturmlechner
2019-08-22 16:43 Andreas Sturmlechner
2019-08-22 16:39 Andreas Sturmlechner
2019-08-22 16:39 Andreas Sturmlechner
2019-06-05 19:06 Andreas Sturmlechner
2019-01-26 20:29 Andreas Sturmlechner
2018-03-30 20:09 Andreas Sturmlechner
2018-03-22 17:09 Andreas Sturmlechner
2018-03-22 12:30 Andreas Sturmlechner
2018-03-12  3:00 Michael Palimaka
2018-01-07 18:30 Andreas Sturmlechner
2017-12-31 21:40 Andreas Sturmlechner
2017-12-31 18:01 Andreas Sturmlechner
2017-10-14 16:01 Andreas Sturmlechner
2017-10-08  8:10 Johannes Huber
2017-08-26 23:16 Andreas Sturmlechner
2017-08-08 23:49 Andreas Sturmlechner
2017-08-02 19:56 Andreas Sturmlechner
2016-12-23 10:11 Johannes Huber
2016-11-12 13:23 Michael Palimaka
2016-11-12 13:23 Michael Palimaka
2016-11-12 13:23 Michael Palimaka
2016-08-07 16:27 Michael Palimaka
2016-03-22 12:33 Johannes Huber
2016-03-08 14:41 Michael Palimaka
2015-12-02 11:03 Michael Palimaka
2015-10-14 12:51 Michael Palimaka
2015-05-15 17:08 Michael Palimaka
2014-11-27  7:53 Michael Palimaka
2014-06-22 18:04 Michael Palimaka
2013-10-17 18:51 Johannes Huber
2013-03-03 16:14 Michael Palimaka
2013-02-02 15:47 Michael Palimaka
2012-05-08 11:04 Johannes Huber
2012-05-07 12:42 Johannes Huber
2012-05-07 12:42 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521488740.a91f9008b4d09bc96a53efc59ce7533d3fc6a296.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox