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/Authen-Libwrap/
Date: Fri, 03 Jul 2020 00:07:50
Message-Id: 1593734230.63258652cc669de6cc34a469072be71e0f843221.kentnl@gentoo
1 commit: 63258652cc669de6cc34a469072be71e0f843221
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 2 22:24:38 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 2 23:57:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63258652
7
8 dev-perl/Authen-Libwrap: -r bump for EAPI7 + Tooling fixes
9
10 - EAPI7
11 - Unconditionally patch out bad tests
12 - Avoid being broken by LD=!ccld
13 - Pass CFLAGS through to compile
14
15 Package-Manager: Portage-2.3.100, Repoman-2.3.22
16 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
17
18 .../Authen-Libwrap-0.230.0-r1.ebuild | 41 ++++++++++++++++++++++
19 1 file changed, 41 insertions(+)
20
21 diff --git a/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r1.ebuild b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r1.ebuild
22 new file mode 100644
23 index 00000000000..ae89dcc461c
24 --- /dev/null
25 +++ b/dev-perl/Authen-Libwrap/Authen-Libwrap-0.230.0-r1.ebuild
26 @@ -0,0 +1,41 @@
27 +# Copyright 1999-2020 Gentoo Authors
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=7
31 +
32 +DIST_AUTHOR=DMUEY
33 +DIST_VERSION=0.23
34 +DIST_EXAMPLES=("example.pl")
35 +inherit perl-module
36 +
37 +DESCRIPTION="A Perl access to the TCP Wrappers interface"
38 +
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~x86"
41 +IUSE="test"
42 +RESTRICT="!test? ( test )"
43 +
44 +RDEPEND="sys-apps/tcp-wrappers"
45 +DEPEND="dev-perl/Module-Build"
46 +BDEPEND="${RDEPEND}
47 + >=dev-perl/Module-Build-0.420.0
48 + virtual/perl-ExtUtils-CBuilder
49 + test? (
50 + virtual/perl-Test-Simple
51 + dev-perl/Test-Exception
52 + )
53 +"
54 +PERL_RM_FILES=(
55 + t/03_pod.t
56 + t/02_maintainer.t
57 +)
58 +src_configure() {
59 + unset LD
60 + if [[ -n "${CCLD}" ]]; then
61 + export LD="${CCLD}"
62 + fi
63 + perl-module_src_configure
64 +}
65 +src_compile() {
66 + ./Build --config optimize="${CFLAGS}" build || die
67 +}