public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-office/skrooge/
Date: Sun, 10 Mar 2013 09:04:47 +0000 (UTC)	[thread overview]
Message-ID: <1362906230.43dc4bb29a1e9174a8d5ccf15ec54610a81e7feb.kensington@gentoo> (raw)

commit:     43dc4bb29a1e9174a8d5ccf15ec54610a81e7feb
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 09:03:50 2013 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 09:03:50 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=43dc4bb2

[app-office/skrooge] Migrate to EAPI 5. Update LINGUAS. Add missing deps. Improve test handling. Fix handbook handling.

Package-Manager: portage-2.1.11.55

---
 app-office/skrooge/skrooge-9999.ebuild |   36 ++++++++++++++++++++++++--------
 1 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/app-office/skrooge/skrooge-9999.ebuild b/app-office/skrooge/skrooge-9999.ebuild
index 85fd09a..f4b0200 100644
--- a/app-office/skrooge/skrooge-9999.ebuild
+++ b/app-office/skrooge/skrooge-9999.ebuild
@@ -2,12 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
-KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et fr ga gl hu it ja
-ko lt ms nb nds nl pl pt pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
-KDE_DOC_DIRS="doc"
-KDE_HANDBOOK=optional
+KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et fi fr ga gl hu it
+ja ko lt ms nb nds nl pl pt pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
+KDE_HANDBOOK="optional"
 inherit kde4-base
 
 DESCRIPTION="personal finances manager for KDE4, aiming at being simple and intuitive"
@@ -19,7 +18,9 @@ KEYWORDS=""
 IUSE="debug"
 
 DEPEND="
+	$(add_kdebase_dep kdepimlibs)
 	app-crypt/qca:2
+	dev-db/sqlite:3
 	dev-libs/grantlee
 	>=dev-libs/libofx-0.9.1
 	dev-qt/qtsql:4[sqlite]
@@ -31,11 +32,28 @@ RDEPEND="${DEPEND}
 	)
 "
 
+# upstream does not ship tests in releases
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+	RESTRICT="test"
+fi
+
 DOCS=( AUTHORS CHANGELOG README TODO )
 
-src_configure() {
-	mycmakeargs=(
-		$(cmake-utils_use test SKG_BUILD_TEST)
+src_prepare() {
+	if [[ ${KDE_BUILD_TYPE} != live ]]; then
+		# KDE_LINGUAS is also used to install appropriate handbooks
+		# since there is no en_US 'translation', it cannot be added
+		# hence making this impossible to install
+		mv doc/en_US doc/en || die "doc move failed"
+		sed -i -e 's/en_US/en/' doc/CMakeLists.txt || die "sed failed"
+	fi
+
+	kde4-base_src_prepare
+}
+
+src_test() {
+	local mycmakeargs=(
+		-DSKG_BUILD_TEST=ON
 	)
-	kde4-base_src_configure
+	kde4-base_src_test
 }


             reply	other threads:[~2013-03-10  9:04 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-10  9:04 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-19  9:58 [gentoo-commits] proj/kde:master commit in: app-office/skrooge/ Andreas Sturmlechner
2023-02-18 14:09 Andreas Sturmlechner
2022-10-11 15:18 Andreas Sturmlechner
2021-07-29 19:03 Andreas Sturmlechner
2021-07-29 18:57 Andreas Sturmlechner
2020-11-25  9:35 Andreas Sturmlechner
2020-10-10 21:39 Andreas Sturmlechner
2020-09-17 20:07 Andreas Sturmlechner
2019-06-20 10:45 Andreas Sturmlechner
2019-02-07 22:50 Andreas Sturmlechner
2019-01-26 20:29 Andreas Sturmlechner
2018-12-18 23:29 Andreas Sturmlechner
2018-02-03 23:17 Andreas Sturmlechner
2017-09-10 12:21 Johannes Huber
2017-08-26 12:29 Michael Palimaka
2017-06-24 17:07 Andreas Sturmlechner
2017-01-24  0:21 Andreas Sturmlechner
2016-10-09 14:56 Michael Palimaka
2016-02-23 14:15 Michael Palimaka
2015-12-02 13:41 Michael Palimaka
2015-12-02 12:54 Michael Palimaka
2015-12-02 12:29 Michael Palimaka
2015-12-02 11:06 Michael Palimaka
2015-09-23 14:50 Michael Palimaka
2015-09-17  8:36 Manuel Rüger
2015-06-27 22:13 Johannes Huber
2015-06-27 20:44 Johannes Huber
2015-06-21 15:22 Michael Palimaka
2015-06-21 15:21 Michael Palimaka
2015-06-17 19:43 Michael Palimaka
2015-06-15 18:23 Michael Palimaka
2015-05-15 17:08 Michael Palimaka
2015-05-15 16:34 Michael Palimaka
2015-01-28 23:01 Johannes Huber
2014-12-26 10:30 Michael Palimaka
2014-07-17 13:04 Michael Palimaka
2014-04-12 19:30 Johannes Huber
2013-12-16 18:08 Johannes Huber
2013-10-09 21:38 Johannes Huber
2013-09-03  3:34 Manuel Rüger
2013-08-03 10:55 Manuel Rüger
2013-07-06 17:14 Manuel Rüger
2013-07-06 16:59 Manuel Rüger
2013-05-14 17:37 Johannes Huber
2013-04-13 14:48 Michael Palimaka
2012-03-23  9:32 Johannes Huber
2012-01-18 15:35 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=1362906230.43dc4bb29a1e9174a8d5ccf15ec54610a81e7feb.kensington@gentoo \
    --to=kensington@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