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/Class-Accessor-Lite/, dev-perl/Class-Accessor-Lite/files/
Date: Sat, 23 May 2020 09:25:10
Message-Id: 1590225892.3541de3fb503f9396eba5a073043cc1283ac4584.kentnl@gentoo
1 commit: 3541de3fb503f9396eba5a073043cc1283ac4584
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 23 09:24:36 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sat May 23 09:24:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3541de3f
7
8 dev-perl/Class-Accessor-Lite: -r bump for EAPI7 and minor fixes
9
10 - EAPI7
11 - Add license note
12 - Migrate "sed" to "patch"
13 - Remove empty/unused variable assignments
14
15 Package-Manager: Portage-2.3.99, Repoman-2.3.22
16 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
17
18 .../Class-Accessor-Lite-0.80.0-r1.ebuild | 18 ++++++++++++++++++
19 .../Class-Accessor-Lite-0.08-no-dot-inc.patch | 22 ++++++++++++++++++++++
20 2 files changed, 40 insertions(+)
21
22 diff --git a/dev-perl/Class-Accessor-Lite/Class-Accessor-Lite-0.80.0-r1.ebuild b/dev-perl/Class-Accessor-Lite/Class-Accessor-Lite-0.80.0-r1.ebuild
23 new file mode 100644
24 index 00000000000..88d790529c8
25 --- /dev/null
26 +++ b/dev-perl/Class-Accessor-Lite/Class-Accessor-Lite-0.80.0-r1.ebuild
27 @@ -0,0 +1,18 @@
28 +# Copyright 1999-2020 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=6
32 +
33 +DIST_AUTHOR=KAZUHO
34 +DIST_VERSION=0.08
35 +inherit perl-module
36 +
37 +DESCRIPTION="A minimalistic variant of Class::Accessor"
38 +# License note: perl X.y or later perl X
39 +# https://bugs.gentoo.org/718946#c5
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
42 +BDEPEND=">=virtual/perl-ExtUtils-MakeMaker-6.360.0"
43 +PATCHES=(
44 + "${FILESDIR}/${PN}-0.08-no-dot-inc.patch"
45 +)
46
47 diff --git a/dev-perl/Class-Accessor-Lite/files/Class-Accessor-Lite-0.08-no-dot-inc.patch b/dev-perl/Class-Accessor-Lite/files/Class-Accessor-Lite-0.08-no-dot-inc.patch
48 new file mode 100644
49 index 00000000000..d724a7872b0
50 --- /dev/null
51 +++ b/dev-perl/Class-Accessor-Lite/files/Class-Accessor-Lite-0.08-no-dot-inc.patch
52 @@ -0,0 +1,22 @@
53 +From 8623694ee180732cbcc1e8dcc9225da850d91b24 Mon Sep 17 00:00:00 2001
54 +From: Kent Fredric <kentnl@g.o>
55 +Date: Sat, 23 May 2020 21:19:49 +1200
56 +Subject: Include '.' in @INC on perl 5.26+
57 +
58 +---
59 + Makefile.PL | 1 +
60 + 1 file changed, 1 insertion(+)
61 +
62 +diff --git a/Makefile.PL b/Makefile.PL
63 +index cdc11bb..08b392f 100644
64 +--- a/Makefile.PL
65 ++++ b/Makefile.PL
66 +@@ -1,4 +1,5 @@
67 + use strict;
68 ++use lib '.';
69 + use inc::Module::Install;
70 +
71 + name('Class-Accessor-Lite');
72 +--
73 +2.26.2
74 +