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 4FA3E1381F3 for ; Thu, 13 Jun 2013 21:16:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 467D6E0990; Thu, 13 Jun 2013 21:16:56 +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 D1CFCE0990 for ; Thu, 13 Jun 2013 21:16:55 +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 B6AFD33E436 for ; Thu, 13 Jun 2013 21:16:54 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2324) id 5EF222171C; Thu, 13 Jun 2013 21:16:53 +0000 (UTC) From: "Chris Reffett (creffett)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, creffett@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: cmake-utils.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: cmake-utils.eclass X-VCS-Directories: eclass X-VCS-Committer: creffett X-VCS-Committer-Name: Chris Reffett Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130613211653.5EF222171C@flycatcher.gentoo.org> Date: Thu, 13 Jun 2013 21:16:53 +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: e88c8b00-581a-4289-9461-8ee80b8e95d7 X-Archives-Hash: 38b3c9e5ae990ed3ddcdd9469b94ffc3 creffett 13/06/13 21:16:53 Modified: cmake-utils.eclass Log: Add EAPI 0/1 deprecation warning to cmake-utils.eclass. Document mycmakeargs wrt bug 472618. Revision Changes Path 1.95 eclass/cmake-utils.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cmake-utils.eclass?rev=1.95&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cmake-utils.eclass?rev=1.95&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cmake-utils.eclass?r1=1.94&r2=1.95 Index: cmake-utils.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v retrieving revision 1.94 retrieving revision 1.95 diff -u -r1.94 -r1.95 --- cmake-utils.eclass 7 Apr 2013 17:21:11 -0000 1.94 +++ cmake-utils.eclass 13 Jun 2013 21:16:53 -0000 1.95 @@ -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/cmake-utils.eclass,v 1.94 2013/04/07 17:21:11 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.95 2013/06/13 21:16:53 creffett Exp $ # @ECLASS: cmake-utils.eclass # @MAINTAINER: @@ -65,7 +65,12 @@ CMAKE_EXPF="src_compile src_test src_install" case ${EAPI:-0} in 2|3|4|5) CMAKE_EXPF+=" src_prepare src_configure" ;; - 1|0) ;; + 1|0) ewarn "EAPI 0 and 1 support is now deprecated." + ewarn "If you are the package maintainer, please" + ewarn "update this package to a newer EAPI." + ewarn "Support for EAPI 0-1 will be dropped at the beginning of July." + ;; + *) die "Unknown EAPI, Bug eclass maintainers." ;; esac EXPORT_FUNCTIONS ${CMAKE_EXPF} @@ -359,6 +364,20 @@ base_src_prepare } +# @VARIABLE: mycmakeargs +# @DEFAULT_UNSET +# @DESCRIPTION: +# Optional cmake defines as a bash array. Should be defined before calling +# src_configure. +# @CODE +# src_configure() { +# local mycmakeargs=( +# $(cmake-utils_use_with openconnect) +# ) +# cmake-utils_src_configure +# } + + enable_cmake-utils_src_configure() { debug-print-function ${FUNCNAME} "$@"