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 CF6F9138200 for ; Fri, 31 May 2013 04:33:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30824E08A1; Fri, 31 May 2013 04:33:49 +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 C4EE5E08A1 for ; Fri, 31 May 2013 04:33:48 +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 C4A2833E21F for ; Fri, 31 May 2013 04:33:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D815FE545F for ; Fri, 31 May 2013 04:33:45 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1369974811.6b909bf77399f06a8c71b07134a1aee44672c679.nicolasbock@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/charm/ X-VCS-Repository: proj/sci X-VCS-Files: sys-cluster/charm/ChangeLog sys-cluster/charm/charm-6.5.0.ebuild X-VCS-Directories: sys-cluster/charm/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: 6b909bf77399f06a8c71b07134a1aee44672c679 X-VCS-Branch: master Date: Fri, 31 May 2013 04:33:45 +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: e4b297e6-f2da-407b-8b86-686785acdeaf X-Archives-Hash: fb69eb9882fcd83b2df5f048dbf17217 commit: 6b909bf77399f06a8c71b07134a1aee44672c679 Author: Nicolas Bock gmail com> AuthorDate: Fri May 31 04:33:31 2013 +0000 Commit: Nicolas Bock gmail com> CommitDate: Fri May 31 04:33:31 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6b909bf7 Added src_test(). Package-Manager: portage-2.2.0_alpha177 --- sys-cluster/charm/ChangeLog | 3 +++ sys-cluster/charm/charm-6.5.0.ebuild | 13 ++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/sys-cluster/charm/ChangeLog b/sys-cluster/charm/ChangeLog index d09a18b..2a37b6c 100644 --- a/sys-cluster/charm/ChangeLog +++ b/sys-cluster/charm/ChangeLog @@ -3,6 +3,9 @@ # $Header: $ 31 May 2013; Nicolas Bock charm-6.5.0.ebuild: + Added src_test(). + + 31 May 2013; Nicolas Bock charm-6.5.0.ebuild: The "-DALLOCA_H" compiler flag appears to be unnecessary... 30 May 2013; Nicolas Bock charm-6.5.0.ebuild, diff --git a/sys-cluster/charm/charm-6.5.0.ebuild b/sys-cluster/charm/charm-6.5.0.ebuild index d387966..3d6c871 100644 --- a/sys-cluster/charm/charm-6.5.0.ebuild +++ b/sys-cluster/charm/charm-6.5.0.ebuild @@ -70,14 +70,10 @@ src_prepare() { } src_compile() { - # build charmm++ first + # Build charmm++ first. ./build charm++ net-linux$( use amd64 && echo "-amd64" ) ${CHARM_OPTS} ${MAKEOPTS} ${CFLAGS} || \ die "Failed to build charm++" - # make charmc play well with gentoo before - # we move it into /usr/bin - epatch "${FILESDIR}/charm-6.5.0-charmc-gentoo.patch" - # make pdf/html docs if use doc; then cd "${S}"/doc @@ -85,7 +81,14 @@ src_compile() { fi } +src_test() { + make -C tests/charm++ test TESTOPTS="++local" +} + src_install() { + # Make charmc play well with gentoo before we move it into /usr/bin. + epatch "${FILESDIR}/charm-6.5.0-charmc-gentoo.patch" + sed -e "s|gentoo-include|${P}|" \ -e "s|gentoo-libdir|$(get_libdir)|g" \ -e "s|VERSION|${P}/VERSION|" \