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 D02CF13838B for ; Sat, 27 Sep 2014 20:54:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3E45E08E1; Sat, 27 Sep 2014 20:54:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90252E08E1 for ; Sat, 27 Sep 2014 20:54:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FCED3403B9 for ; Sat, 27 Sep 2014 20:54:44 +0000 (UTC) Received: by oystercatcher.gentoo.org (Postfix, from userid 2276) id E36F46711; Sat, 27 Sep 2014 20:54:42 +0000 (UTC) From: "Andreas HAttel (dilfridge)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, dilfridge@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog perl-module.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog perl-module.eclass X-VCS-Directories: eclass X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas HAttel Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20140927205442.E36F46711@oystercatcher.gentoo.org> Date: Sat, 27 Sep 2014 20:54:42 +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: 7ab3997a-9ef7-401b-aa8d-8571a3cec6b9 X-Archives-Hash: ea81ad1355b1b1c74a46a017e7b5c32f dilfridge 14/09/27 20:54:42 Modified: ChangeLog perl-module.eclass Log: Deprecate EAPI=0,1,2,3 in perl-module.eclass with a big fat ewarn instead of making the ebuild fail Revision Changes Path 1.1378 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1378&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1378&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1377&r2=1.1378 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.1377 retrieving revision 1.1378 diff -u -r1.1377 -r1.1378 --- ChangeLog 27 Sep 2014 16:15:19 -0000 1.1377 +++ ChangeLog 27 Sep 2014 20:54:42 -0000 1.1378 @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1377 2014/09/27 16:15:19 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1378 2014/09/27 20:54:42 dilfridge Exp $ + + 27 Sep 2014; Andreas K. Huettel perl-module.eclass: + Deprecate EAPI=0,1,2,3 in perl-module.eclass with a big fat ewarn instead of + making the ebuild fail 27 Sep 2014; Pacho Ramos gnome-python-common-r1.eclass: Fix typo (#523856 by Kent Fredric) 1.141 eclass/perl-module.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.141&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.141&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?r1=1.140&r2=1.141 Index: perl-module.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v retrieving revision 1.140 retrieving revision 1.141 diff -u -r1.140 -r1.141 --- perl-module.eclass 19 Sep 2014 18:17:12 -0000 1.140 +++ perl-module.eclass 27 Sep 2014 20:54:42 -0000 1.141 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.140 2014/09/19 18:17:12 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.141 2014/09/27 20:54:42 dilfridge Exp $ # @ECLASS: perl-module.eclass # @MAINTAINER: @@ -18,10 +18,10 @@ PERL_EXPF="src_unpack src_compile src_test src_install" case "${EAPI:-0}" in - 0) + 0|1) PERL_EXPF+=" pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm" ;; - 4|5) + 2|3|4|5) PERL_EXPF+=" src_prepare src_configure" [[ ${CATEGORY} == "perl-core" ]] && \ PERL_EXPF+=" pkg_postinst pkg_postrm" @@ -87,6 +87,20 @@ perl-module_src_unpack() { debug-print-function $FUNCNAME "$@" + + case "${EAPI:-0}" in + 4|5) + ;; + *) + ewarn + ewarn "******************************************************************" + ewarn "Support for EAPI=${EAPI:-0} in perl-module.eclass will be removed" + ewarn "on 1/Nov/2014. Please fix your overlay ebuilds to use EAPI=5." + ewarn "******************************************************************" + ewarn + ;; + esac + unpacker_src_unpack has src_prepare ${PERL_EXPF} || perl-module_src_prepare }