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 6627B1381F3 for ; Mon, 29 Jul 2013 20:14:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03621E0A76; Mon, 29 Jul 2013 20:14:00 +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 75A45E0A76 for ; Mon, 29 Jul 2013 20:13:59 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6CB2A33EAA1 for ; Mon, 29 Jul 2013 20:13:58 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2264) id 36EB12171C; Mon, 29 Jul 2013 20:13:57 +0000 (UTC) From: "Justin Lecher (jlec)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, jlec@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: fortran-2.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: fortran-2.eclass X-VCS-Directories: eclass X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130729201357.36EB12171C@flycatcher.gentoo.org> Date: Mon, 29 Jul 2013 20:13:57 +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: fe0a8168-b0a5-4b5e-9e3e-57f299729c11 X-Archives-Hash: 2044880e5e979575f3096e12ac9b89cc jlec 13/07/29 20:13:57 Modified: fortran-2.eclass Log: Enhancements pointed out by Arfrever Revision Changes Path 1.20 eclass/fortran-2.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/fortran-2.eclass?rev=1.20&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/fortran-2.eclass?rev=1.20&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/fortran-2.eclass?r1=1.19&r2=1.20 Index: fortran-2.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- fortran-2.eclass 29 Jul 2013 09:53:36 -0000 1.19 +++ fortran-2.eclass 29 Jul 2013 20:13:57 -0000 1.20 @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.19 2013/07/29 09:53:36 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.20 2013/07/29 20:13:57 jlec Exp $ # @ECLASS: fortran-2.eclass # @MAINTAINER: @@ -44,8 +44,8 @@ # @ECLASS-VARIABLE: FORTRAN_NEEDED # @DESCRIPTION: # If your package has an optional fortran support, set this variable -# to the space seperated list of USE triggering the fortran -# dependence. +# to the space separated list of USE triggering the fortran +# dependency. # # e.g. FORTRAN_NEEDED=lapack would result in # @@ -110,7 +110,7 @@ local ret [[ $# -lt 1 ]] && \ - die "_fortran_compile_test() needs at least one arguments" + die "_fortran_compile_test() needs at least one argument" [[ -f ${fcode} ]] || _fortran_write_testsuite @@ -123,7 +123,7 @@ } # @FUNCTION: _fortran-has-openmp -# @RETURN: compilers return value +# @RETURN: return code of the compiler # @INTERNAL # @DESCRIPTION: # See if the fortran supports OpenMP. @@ -158,8 +158,8 @@ echo eerror "Please install currently selected gcc version with USE=fortran." eerror "If you intend to use a different compiler then gfortran, please" - eerror "set FC variable accordingly and take care that the neccessary" - eerror "fortran dialects are support." + eerror "set FC variable accordingly and take care that the necessary" + eerror "fortran dialects are supported." echo die "Currently no working fortran compiler is available" } @@ -167,7 +167,7 @@ # @FUNCTION: _fortran_test_function # @INTERNAL # @DESCRIPTION: -# Internal testfunction for working fortran compiler. +# Internal test function for working fortran compiler. # It is called in fortran-2_pkg_setup. _fortran_test_function() { local dialect @@ -197,8 +197,7 @@ if _fortran-has-openmp; then einfo "${FC} has OPENMP support" else - die "Please install current gcc with USE=openmp or " \ - "set the FC variable to a compiler that supports OpenMP" + die "Please install current gcc with USE=openmp or set the FC variable to a compiler that supports OpenMP" fi fi } @@ -232,13 +231,13 @@ # @FUNCTION: fortran-2_pkg_setup # @DESCRIPTION: -# Setup functionallity, +# Setup functionality, # checks for a valid fortran compiler and optionally for its openmp support. fortran-2_pkg_setup() { case ${EAPI:-0} in 0|1|2|3) eqawarn "Support for EAPI < 4 will be removed from the" - eqawarn "fortran-2.eclass in until Sep 31. 2013." + eqawarn "fortran-2.eclass in until 2013-09-30." eqawarn "Please migrate your package to a higher EAPI" eqawarn "or file a bug at https://bugs.gentoo.org" _fortran-2_pkg_setup ;;