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/Lchown/
Date: Fri, 18 Sep 2020 04:32:06
Message-Id: 1600403445.aecfb89a7b430185994585513f0df33422f6c82a.kentnl@gentoo
1 commit: aecfb89a7b430185994585513f0df33422f6c82a
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 16:17:50 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 18 04:30:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aecfb89a
7
8 dev-perl/Lchown: -r bump for EAPI7 + toolchain love
9
10 - EAPI7
11 - Unconditonally strip bad tests
12 - Guard against LD being set to something other than a CCLD
13 - Ensure CFLAGS passed to compiler
14 - Remove unused/empty variable assignments
15
16 Package-Manager: Portage-3.0.4, Repoman-3.0.1
17 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
18
19 dev-perl/Lchown/Lchown-1.10.0-r3.ebuild | 30 ++++++++++++++++++++++++++++++
20 1 file changed, 30 insertions(+)
21
22 diff --git a/dev-perl/Lchown/Lchown-1.10.0-r3.ebuild b/dev-perl/Lchown/Lchown-1.10.0-r3.ebuild
23 new file mode 100644
24 index 00000000000..4dea86353d7
25 --- /dev/null
26 +++ b/dev-perl/Lchown/Lchown-1.10.0-r3.ebuild
27 @@ -0,0 +1,30 @@
28 +# Copyright 1999-2020 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=7
32 +
33 +DIST_AUTHOR=NCLEATON
34 +DIST_VERSION=1.01
35 +inherit perl-module
36 +
37 +DESCRIPTION="Use the lchown(2) system call from Perl"
38 +
39 +SLOT="0"
40 +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
41 +
42 +DEPEND="dev-perl/Module-Build"
43 +BDEPEND="${RDEPEND}
44 + dev-perl/Module-Build
45 +"
46 +PERL_RM_FILES=(
47 + t/pod-coverage.t
48 + t/pod.t
49 +)
50 +src_configure() {
51 + unset LD
52 + [[ -n "${CCLD}" ]] && export LD="${CCLD}"
53 + perl-module_src_configure
54 +}
55 +src_compile() {
56 + ./Build --config optimize="${CFLAGS}" build || die
57 +}