From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-office/kmymoney/
Date: Tue, 22 Dec 2020 11:10:49 +0000 (UTC) [thread overview]
Message-ID: <1608631839.726fdffc32849eeffcd539dc63c8dd93d9c1f2cc.asturm@gentoo> (raw)
commit: 726fdffc32849eeffcd539dc63c8dd93d9c1f2cc
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 22 09:44:36 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 10:10:39 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=726fdffc
app-office/kmymoney: Drop IUSE=quotes, use optfeature
Add explanatory pkg_postinst message.
Bug: https://bugs.gentoo.org/758839
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-office/kmymoney/kmymoney-5.1.9999.ebuild | 31 +++++++++++++++++++---------
app-office/kmymoney/kmymoney-9999.ebuild | 31 +++++++++++++++++++---------
app-office/kmymoney/metadata.xml | 1 -
3 files changed, 42 insertions(+), 21 deletions(-)
diff --git a/app-office/kmymoney/kmymoney-5.1.9999.ebuild b/app-office/kmymoney/kmymoney-5.1.9999.ebuild
index 7ce1ad03e1..79899dc65a 100644
--- a/app-office/kmymoney/kmymoney-5.1.9999.ebuild
+++ b/app-office/kmymoney/kmymoney-5.1.9999.ebuild
@@ -10,10 +10,10 @@ KFMIN=5.74.0
QTMIN=5.15.1
VIRTUALX_REQUIRED="test"
VIRTUALDBUS_TEST="true"
-inherit ecm kde.org
+inherit ecm kde.org optfeature
DESCRIPTION="Personal finance manager based on KDE Frameworks"
-HOMEPAGE="https://kmymoney.org"
+HOMEPAGE="https://kmymoney.org/"
if [[ ${KDE_BUILD_TYPE} = release ]]; then
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
@@ -22,11 +22,11 @@ fi
LICENSE="GPL-2"
SLOT="5"
-IUSE="activities addressbook calendar hbci holidays quotes"
+IUSE="activities addressbook calendar hbci holidays"
[[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental"
BDEPEND="virtual/pkgconfig"
-COMMON_DEPEND="
+RDEPEND="
>=app-crypt/gpgme-1.7.1-r1[cxx]
>=app-office/libalkimia-7.0.0:=
dev-db/sqlcipher
@@ -45,14 +45,14 @@ COMMON_DEPEND="
>=dev-qt/qtxml-${QTMIN}:5
>=kde-frameworks/karchive-${KFMIN}:5
>=kde-frameworks/kcmutils-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kconfig-${KFMIN}:5
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
>=kde-frameworks/kcoreaddons-${KFMIN}:5
>=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
>=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
>=kde-frameworks/kitemmodels-${KFMIN}:5
>=kde-frameworks/kitemviews-${KFMIN}:5
>=kde-frameworks/kjobwidgets-${KFMIN}:5
@@ -76,12 +76,9 @@ COMMON_DEPEND="
)
holidays? ( >=kde-frameworks/kholidays-${KFMIN}:5 )
"
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
dev-libs/boost
"
-RDEPEND="${COMMON_DEPEND}
- quotes? ( dev-perl/Finance-Quote )
-"
pkg_setup() {
ecm_pkg_setup
@@ -120,3 +117,17 @@ src_test() {
ecm_src_test
}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Optional dependencies:"
+ optfeature "More options for online stock quote retrieval" dev-perl/Finance-Quote
+ fi
+ if has_version "app-office/kmymoney[quotes]"; then
+ elog "Please note: IUSE=quotes flag is gone in ${PN}-5.1.1. ${PN} still"
+ elog "does online stock quote retrieval without it, but dev-perl/Finance-Quote"
+ elog "may provide additional sources. To keep the functionality, run:"
+ elog " emerge --noreplace dev-perl/Finance-Quote"
+ fi
+ ecm_pkg_postinst
+}
diff --git a/app-office/kmymoney/kmymoney-9999.ebuild b/app-office/kmymoney/kmymoney-9999.ebuild
index f687c77dba..8b8bc9b0c9 100644
--- a/app-office/kmymoney/kmymoney-9999.ebuild
+++ b/app-office/kmymoney/kmymoney-9999.ebuild
@@ -9,10 +9,10 @@ KFMIN=5.74.0
QTMIN=5.15.1
VIRTUALX_REQUIRED="test"
VIRTUALDBUS_TEST="true"
-inherit ecm kde.org
+inherit ecm kde.org optfeature
DESCRIPTION="Personal finance manager based on KDE Frameworks"
-HOMEPAGE="https://kmymoney.org"
+HOMEPAGE="https://kmymoney.org/"
if [[ ${KDE_BUILD_TYPE} = release ]]; then
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
@@ -21,11 +21,11 @@ fi
LICENSE="GPL-2"
SLOT="5"
-IUSE="activities addressbook calendar hbci holidays quotes"
+IUSE="activities addressbook calendar hbci holidays"
[[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental"
BDEPEND="virtual/pkgconfig"
-COMMON_DEPEND="
+RDEPEND="
>=app-crypt/gpgme-1.7.1-r1[cxx]
>=app-office/libalkimia-7.0.0:=
dev-db/sqlcipher
@@ -44,14 +44,14 @@ COMMON_DEPEND="
>=dev-qt/qtxml-${QTMIN}:5
>=kde-frameworks/karchive-${KFMIN}:5
>=kde-frameworks/kcmutils-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kconfig-${KFMIN}:5
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
>=kde-frameworks/kcoreaddons-${KFMIN}:5
>=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
>=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
>=kde-frameworks/kitemmodels-${KFMIN}:5
>=kde-frameworks/kitemviews-${KFMIN}:5
>=kde-frameworks/kjobwidgets-${KFMIN}:5
@@ -75,12 +75,9 @@ COMMON_DEPEND="
)
holidays? ( >=kde-frameworks/kholidays-${KFMIN}:5 )
"
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
dev-libs/boost
"
-RDEPEND="${COMMON_DEPEND}
- quotes? ( dev-perl/Finance-Quote )
-"
pkg_setup() {
ecm_pkg_setup
@@ -119,3 +116,17 @@ src_test() {
ecm_src_test
}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Optional dependencies:"
+ optfeature "More options for online stock quote retrieval" dev-perl/Finance-Quote
+ fi
+ if has_version "app-office/kmymoney[quotes]"; then
+ elog "Please note: IUSE=quotes flag is gone in ${PN}-5.1.1. ${PN} still"
+ elog "does online stock quote retrieval without it, but dev-perl/Finance-Quote"
+ elog "may provide additional sources. To keep the functionality, run:"
+ elog " emerge --noreplace dev-perl/Finance-Quote"
+ fi
+ ecm_pkg_postinst
+}
diff --git a/app-office/kmymoney/metadata.xml b/app-office/kmymoney/metadata.xml
index 90b1c0487a..168245e093 100644
--- a/app-office/kmymoney/metadata.xml
+++ b/app-office/kmymoney/metadata.xml
@@ -11,6 +11,5 @@
<flag name="experimental">Build unfinished features. DANGEROUS to set - this *will* chew up data</flag>
<flag name="hbci">Enable HBCI support using <pkg>net-libs/aqbanking</pkg></flag>
<flag name="holidays">Enable <pkg>kde-frameworks/kholidays</pkg> integration</flag>
- <flag name="quotes">Enable Online Stock Quote retrieval</flag>
</use>
</pkgmetadata>
next reply other threads:[~2020-12-22 11:10 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-22 11:10 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-23 13:48 [gentoo-commits] proj/kde:master commit in: app-office/kmymoney/ 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-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-19 19:46 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=1608631839.726fdffc32849eeffcd539dc63c8dd93d9c1f2cc.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