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/Digest-BubbleBabble/files/, dev-perl/Digest-BubbleBabble/
Date: Thu, 30 Jul 2020 10:05:21
Message-Id: 1596103501.50a282b1359ed1d8a3fa971308bae322d8d49f1f.kentnl@gentoo
1 commit: 50a282b1359ed1d8a3fa971308bae322d8d49f1f
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 30 10:04:31 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 10:05:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a282b1
7
8 dev-perl/Digest-BubbleBabble: -r bump for EAPI7 + fixes
9
10 - EAPI7
11 - Remove unused/empty variable assignments
12 - Strip bundled inc/ deps which aren't used
13
14 Package-Manager: Portage-2.3.103, Repoman-2.3.22
15 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
16
17 .../Digest-BubbleBabble-0.20.0-r2.ebuild | 31 ++++++++++++++++++++++
18 .../Digest-BubbleBabble-0.02-no-test-base.patch | 25 +++++++++++++++++
19 2 files changed, 56 insertions(+)
20
21 diff --git a/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r2.ebuild b/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r2.ebuild
22 new file mode 100644
23 index 00000000000..7d31c933c3b
24 --- /dev/null
25 +++ b/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r2.ebuild
26 @@ -0,0 +1,31 @@
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=BTROTT
33 +DIST_VERSION=0.02
34 +inherit perl-module
35 +
36 +DESCRIPTION="Create bubble-babble fingerprints"
37 +
38 +SLOT="0"
39 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
40 +
41 +BDEPEND="
42 + >=virtual/perl-ExtUtils-MakeMaker-6.420.0
43 +"
44 +PATCHES=(
45 + # https://github.com/btrott/Digest-BubbleBabble/pull/1
46 + "${FILESDIR}/0.02-dot-in-inc.patch"
47 + "${FILESDIR}/${PN}-0.02-no-test-base.patch"
48 +)
49 +PERL_RM_FILES=(
50 + inc/Spiffy.pm
51 + inc/Test/Base.pm
52 + inc/Test/Base/Filter.pm
53 + inc/Test/Builder.pm
54 + inc/Test/Builder/Module.pm
55 + inc/Test/More.pm
56 + inc/Module/Install/TestBase.pm
57 +)
58
59 diff --git a/dev-perl/Digest-BubbleBabble/files/Digest-BubbleBabble-0.02-no-test-base.patch b/dev-perl/Digest-BubbleBabble/files/Digest-BubbleBabble-0.02-no-test-base.patch
60 new file mode 100644
61 index 00000000000..2ba4cb0474d
62 --- /dev/null
63 +++ b/dev-perl/Digest-BubbleBabble/files/Digest-BubbleBabble-0.02-no-test-base.patch
64 @@ -0,0 +1,25 @@
65 +From 739c3ffbbeac48b7f86f1e028aae0767b13261f1 Mon Sep 17 00:00:00 2001
66 +From: Kent Fredric <kentnl@g.o>
67 +Date: Thu, 30 Jul 2020 21:58:28 +1200
68 +Subject: Don't auto-use Test::Base
69 +
70 +as there doesn't appear to be anything that actually uses any of this
71 +---
72 + Makefile.PL | 1 -
73 + 1 file changed, 1 deletion(-)
74 +
75 +diff --git a/Makefile.PL b/Makefile.PL
76 +index 261085f..e7dd11b 100644
77 +--- a/Makefile.PL
78 ++++ b/Makefile.PL
79 +@@ -6,7 +6,6 @@ readme_from 'lib/Digest/BubbleBabble.pm';
80 +
81 + test_requires 'Test::More';
82 +
83 +-use_test_base;
84 + auto_include_deps;
85 + author_tests('xt');
86 + auto_set_repository;
87 +--
88 +2.27.0
89 +