From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BA500198005 for ; Sun, 10 Mar 2013 09:04:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45AF9E0652; Sun, 10 Mar 2013 09:04:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3B29E0652 for ; Sun, 10 Mar 2013 09:04:49 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC12133DDD8 for ; Sun, 10 Mar 2013 09:04:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 12868E4079 for ; Sun, 10 Mar 2013 09:04:47 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1362906230.43dc4bb29a1e9174a8d5ccf15ec54610a81e7feb.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: app-office/skrooge/ X-VCS-Repository: proj/kde X-VCS-Files: app-office/skrooge/skrooge-9999.ebuild X-VCS-Directories: app-office/skrooge/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 43dc4bb29a1e9174a8d5ccf15ec54610a81e7feb X-VCS-Branch: master Date: Sun, 10 Mar 2013 09:04:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a621c667-62b3-47a7-ae14-344c5008c8bb X-Archives-Hash: 185d0a4b520b63ff4c7139d61283a300 commit: 43dc4bb29a1e9174a8d5ccf15ec54610a81e7feb Author: Michael Palimaka gentoo org> AuthorDate: Sun Mar 10 09:03:50 2013 +0000 Commit: Michael Palimaka gentoo 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 }