commit: fa839f2f833b6581c0bf6c0b7ccae3e27b763d12 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Mon Oct 5 10:55:48 2020 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Mon Oct 5 11:22:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa839f2f
dev-perl/Mouse: -r bump for EAPI7 + Toolchain love - EAPI7 - Ensure not to break when LD set to a non-ccld - Ensure passing CFLAGS to compiler Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> dev-perl/Mouse/Mouse-2.4.10-r1.ebuild | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-perl/Mouse/Mouse-2.4.10-r1.ebuild b/dev-perl/Mouse/Mouse-2.4.10-r1.ebuild new file mode 100644 index 00000000000..ff1d9157c01 --- /dev/null +++ b/dev-perl/Mouse/Mouse-2.4.10-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=GFUJI +DIST_VERSION=v2.4.10 +DIST_EXAMPLES=("example/*" "benchmarks") +inherit perl-module + +DESCRIPTION="Moose minus the antlers" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=virtual/perl-Scalar-List-Utils-1.140.0 + >=virtual/perl-XSLoader-0.20.0 +" +DEPEND="dev-perl/Module-Build" +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-ParseXS-3.220.0 + >=virtual/perl-Devel-PPPort-3.220.0 + >=dev-perl/Module-Build-0.400.500 + dev-perl/Module-Build-XSUtil + test? ( + dev-perl/Test-Exception + dev-perl/Test-Fatal + dev-perl/Test-LeakTrace + >=virtual/perl-Test-Simple-0.880.0 + dev-perl/Test-Output + dev-perl/Test-Requires + dev-perl/Try-Tiny + ) +" +src_configure() { + unset LD + [[ -n "${CCLD}" ]] && export LD="${CCLD}" + # we have to do this outside src_compile + # as the stupid thing recompiles in src_install + myconf=( + --config "optimize=${CFLAGS}" + ) + perl-module_src_configure +}