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/Coro/
Date: Mon, 29 Jun 2020 11:48:34
Message-Id: 1593431297.78c238032ec21f94f89ead3a5be214601dba81bc.kentnl@gentoo
1 commit: 78c238032ec21f94f89ead3a5be214601dba81bc
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 29 11:47:54 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 29 11:48:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c23803
7
8 dev-perl/Coro: -r bump for EAPI7 & CFLAGS love
9
10 - EAPI7
11 - Pass through CFLAGS to make
12
13 Package-Manager: Portage-2.3.100, Repoman-2.3.22
14 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
15
16 dev-perl/Coro/Coro-6.514.0-r1.ebuild | 44 ++++++++++++++++++++++++++++++++++++
17 1 file changed, 44 insertions(+)
18
19 diff --git a/dev-perl/Coro/Coro-6.514.0-r1.ebuild b/dev-perl/Coro/Coro-6.514.0-r1.ebuild
20 new file mode 100644
21 index 00000000000..beff12e5aaa
22 --- /dev/null
23 +++ b/dev-perl/Coro/Coro-6.514.0-r1.ebuild
24 @@ -0,0 +1,44 @@
25 +# Copyright 1999-2020 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +
30 +DIST_AUTHOR=MLEHMANN
31 +DIST_VERSION=6.514
32 +DIST_EXAMPLES=( "eg/*" )
33 +inherit perl-module
34 +
35 +DESCRIPTION="The only real threads in perl"
36 +
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE="+ev event"
40 +
41 +RDEPEND="
42 + >=dev-perl/AnyEvent-5
43 + ev? ( >=dev-perl/EV-4.0.0 )
44 + event? ( >=dev-perl/Event-0.890.0 )
45 + >=dev-perl/Guard-0.500.0
46 + virtual/perl-Scalar-List-Utils
47 + >=virtual/perl-Storable-2.150.0
48 + dev-perl/common-sense
49 +"
50 +DEPEND="${RDEPEND}
51 + dev-perl/Canary-Stability
52 + >=virtual/perl-ExtUtils-MakeMaker-6.520.0
53 +"
54 +PATCHES=(
55 + "${FILESDIR}/${PV}-ev-config.patch"
56 +)
57 +src_configure() {
58 + local myopts=()
59 + use ev && myopts+=("EV")
60 + use event && myopts+=( "Event" )
61 + GENTOO_OPTS="${myopts[@]}" perl-module_src_configure
62 +}
63 +src_compile() {
64 + mymake=(
65 + "OPTIMIZE=${CFLAGS}"
66 + )
67 + perl-module_src_compile
68 +}