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 BCFB81384B4 for ; Sat, 12 Dec 2015 20:24:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C73D21C107; Sat, 12 Dec 2015 20:24:02 +0000 (UTC) Received: from mo4-p05-ob.smtp.rzone.de (mo4-p05-ob.smtp.rzone.de [81.169.146.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E331E21C0EB for ; Sat, 12 Dec 2015 20:24:00 +0000 (UTC) X-RZG-AUTH: :IW0NeWCpcPchHrcnS4ebzBgQnKHTmUiSF2JlOcyy9p4roSnp5yQo4oJ5cg== X-RZG-CLASS-ID: mo05 Received: from pinacolada.localnet (88-133-183-17.hsi.glasfaser-ostbayern.de [88.133.183.17]) by smtp.strato.de (RZmta 37.14 AUTH) with ESMTPSA id L05394rBCKNug9G (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sat, 12 Dec 2015 21:23:56 +0100 (CET) From: "Andreas K. Huettel" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH 05/15] perl-module.eclass: Use eapply from EAPI=6 on and always call eapply_user Date: Sat, 12 Dec 2015 21:23:56 +0100 User-Agent: KMail/1.13.7 (Linux/4.2.3; KDE/4.14.14; x86_64; ; ) Cc: =?utf-8?q?Micha=C5=82_G=C3=B3rny?= References: <201512112201.15354.dilfridge@gentoo.org> <1449867791-30513-5-git-send-email-dilfridge@gentoo.org> <03238D24-8CDF-4A08-AD2D-05ABE4BCF2D0@gentoo.org> In-Reply-To: <03238D24-8CDF-4A08-AD2D-05ABE4BCF2D0@gentoo.org> Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201512122123.56401.dilfridge@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 4cfbab74-8c1e-4017-ac81-97013bab9659 X-Archives-Hash: c2cdac964cff5a0f892e4a0ffe8e8887 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Am Samstag, 12. Dezember 2015, 12:54:35 schrieb Michał Górny: > Dnia 11 grudnia 2015 22:03:01 CET, dilfridge@gentoo.org napisał(a): > >diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass > >index 8caa981..9d87b17 100644 > >--- a/eclass/perl-module.eclass > >+++ b/eclass/perl-module.eclass > >@@ -138,9 +138,17 @@ perl-module_src_unpack() { > > > > # This function is to be called during the ebuild src_prepare() phase. > > perl-module_src_prepare() { > > > > debug-print-function $FUNCNAME "$@" > > > >- [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}" > >- debug-print "$FUNCNAME: applying user patches" > >- epatch_user > >+ > >+ if [[ ${EAPI:-0} = 5 ]] ; then > >+ [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}" > >+ debug-print "$FUNCNAME: applying user patches" > >+ epatch_user > >+ else > >+ [[ ${PATCHES[@]} ]] && eapply "${PATCHES[@]}" > >+ debug-print "$FUNCNAME: applying user patches" > >+ eapply_user > > Why not just 'default'? > Much better, yes. - -- Andreas K. Huettel Gentoo Linux developer dilfridge@gentoo.org http://www.akhuettel.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1 iQJ8BAEBCgBmBQJWbIJcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0RkJDMzI0NjNBOTIwMDY5MTQ2NkMzNDBF MTM4NkZEN0VGNEI1Nzc5AAoJEOE4b9fvS1d5E0cQAJGoF+P5DtrY4IMYxpFqhOF7 9aKo0LqEtikYnnJfnRJyTzsfPXgXGV5x9rONHfrZGdzsbQhuu3G2cjlWrK7aPdNT UaMnOXaaAAGOB/VKaFueUsbGz0VPedyZFRgZuwPdke6RNO3tZRrKEfs4mXo9lNAq 8wUNcshiAgAKla/IMVdASulLPEaZkeybS2EmvoIid0Fjru02OJxTVXhtxH5hbslS fu07IFu9aM7x9Lt4X/N9qBbQzjbS7kiqeZpkhMdKDi11qTjBDtDb7qpQ+1jdY9cl 3GYsUPdDAkGkQbcU9d9bWRb2BA9mJOfNFkviYMEzu6m02TeDj+KL4MqY+OleGOT/ jX0IxVUxNKA5zNLsNGMDi/zULoQdVQmKk+3YsDvipQ3/H+0CtTQ7A1x7t1dWjCbT sED0ozJdaXxBUfTSWTQTUEKEqCoS37GJWhtOspEGb3EpzdCh+I456ikJ+sQAstNX gQIV7d5Yz52myz4m3ZwpYuoYe55dgxtY5qwXy5QM5DNZkioqMFbO6pVRWLB1DGUV WmcfNk434toO7IAcdzDNJTsOvAKqrBp/+xWMecxw4WNlSjHK3vuyTLX1r4Cw6I8r 9EwT8njp8Qwkm2eD5928fWGMMc4Zc07Iwyy1J7Zi6h+T8jgQB1oyC10RmxBe+hIu iwJkXbNQnGFbP8n2fSyM =E1if -----END PGP SIGNATURE-----