Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Mouse/
Date: Mon, 05 Oct 2020 11:23:25
Message-Id: 1601896978.fa839f2f833b6581c0bf6c0b7ccae3e27b763d12.kentnl@gentoo
1 commit: fa839f2f833b6581c0bf6c0b7ccae3e27b763d12
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 5 10:55:48 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 5 11:22:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa839f2f
7
8 dev-perl/Mouse: -r bump for EAPI7 + Toolchain love
9
10 - EAPI7
11 - Ensure not to break when LD set to a non-ccld
12 - Ensure passing CFLAGS to compiler
13
14 Package-Manager: Portage-3.0.8, Repoman-3.0.1
15 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
16
17 dev-perl/Mouse/Mouse-2.4.10-r1.ebuild | 47 +++++++++++++++++++++++++++++++++++
18 1 file changed, 47 insertions(+)
19
20 diff --git a/dev-perl/Mouse/Mouse-2.4.10-r1.ebuild b/dev-perl/Mouse/Mouse-2.4.10-r1.ebuild
21 new file mode 100644
22 index 00000000000..ff1d9157c01
23 --- /dev/null
24 +++ b/dev-perl/Mouse/Mouse-2.4.10-r1.ebuild
25 @@ -0,0 +1,47 @@
26 +# Copyright 1999-2020 Gentoo Authors
27 +# Distributed under the terms of the GNU General Public License v2
28 +
29 +EAPI=7
30 +
31 +DIST_AUTHOR=GFUJI
32 +DIST_VERSION=v2.4.10
33 +DIST_EXAMPLES=("example/*" "benchmarks")
34 +inherit perl-module
35 +
36 +DESCRIPTION="Moose minus the antlers"
37 +
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86"
40 +IUSE="test"
41 +RESTRICT="!test? ( test )"
42 +
43 +RDEPEND="
44 + >=virtual/perl-Scalar-List-Utils-1.140.0
45 + >=virtual/perl-XSLoader-0.20.0
46 +"
47 +DEPEND="dev-perl/Module-Build"
48 +BDEPEND="${RDEPEND}
49 + >=virtual/perl-ExtUtils-ParseXS-3.220.0
50 + >=virtual/perl-Devel-PPPort-3.220.0
51 + >=dev-perl/Module-Build-0.400.500
52 + dev-perl/Module-Build-XSUtil
53 + test? (
54 + dev-perl/Test-Exception
55 + dev-perl/Test-Fatal
56 + dev-perl/Test-LeakTrace
57 + >=virtual/perl-Test-Simple-0.880.0
58 + dev-perl/Test-Output
59 + dev-perl/Test-Requires
60 + dev-perl/Try-Tiny
61 + )
62 +"
63 +src_configure() {
64 + unset LD
65 + [[ -n "${CCLD}" ]] && export LD="${CCLD}"
66 + # we have to do this outside src_compile
67 + # as the stupid thing recompiles in src_install
68 + myconf=(
69 + --config "optimize=${CFLAGS}"
70 + )
71 + perl-module_src_configure
72 +}