* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Digest-BubbleBabble/files/, dev-perl/Digest-BubbleBabble/
@ 2017-06-06 21:04 Kent Fredric
0 siblings, 0 replies; 2+ messages in thread
From: Kent Fredric @ 2017-06-06 21:04 UTC (permalink / raw
To: gentoo-commits
commit: aeeb7f01cd179337cb119b0f0f3b96b014f67252
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 6 20:58:33 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Jun 6 21:03:20 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeeb7f01
dev-perl/Digest-BubbleBabble: Fix '.' in @INC in 5.26 re bug #614336
Patches Makefile.PL to have '.' in it again.
Bug: https://bugs.gentoo.org/614336
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=120808
Bug: https://github.com/btrott/Digest-BubbleBabble/pull/1
Package-Manager: Portage-2.3.6, Repoman-2.3.2
.../Digest-BubbleBabble-0.20.0-r1.ebuild | 2 +-
.../files/0.02-dot-in-inc.patch | 43 ++++++++++++++++++++++
2 files changed, 44 insertions(+), 1 deletion(-)
diff --git a/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild b/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild
index ad112ef81fa..15bff65b6e1 100644
--- a/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild
+++ b/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild
@@ -12,5 +12,5 @@ DESCRIPTION="Create bubble-babble fingerprints"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 sparc x86"
IUSE=""
-
+PATCHES=( "${FILESDIR}/0.02-dot-in-inc.patch" ) # https://github.com/btrott/Digest-BubbleBabble/pull/1
SRC_TEST="do parallel"
diff --git a/dev-perl/Digest-BubbleBabble/files/0.02-dot-in-inc.patch b/dev-perl/Digest-BubbleBabble/files/0.02-dot-in-inc.patch
new file mode 100644
index 00000000000..86c731b5324
--- /dev/null
+++ b/dev-perl/Digest-BubbleBabble/files/0.02-dot-in-inc.patch
@@ -0,0 +1,43 @@
+From 964b9ff93f1ee298f67fc37192816d63b7052c8a Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Wed, 7 Jun 2017 08:48:09 +1200
+Subject: [PATCH] Fix fo '.' missing from @INC in perl 5.26+ RT#120808
+
+Fixes: https://rt.cpan.org/Public/Bug/Display.html?id=120808
+---
+ Changes | 3 +++
+ Makefile.PL | 3 ++-
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/Changes b/Changes
+index 54ebaf3..bed66a9 100644
+--- a/Changes
++++ b/Changes
+@@ -1,5 +1,8 @@
+ Revision history for Digest::BubbleBabble
+
++ - Fix Makefile.PL being broken due to '.' removal from default @INC
++ since Perl 5.25.11 ( RT#120808 )
++
+ 0.02 2011.03.23
+ - Fixed a bug affecting input strings with an odd number of
+ characters. Thanks to Ken T Takusagawa for the report.
+diff --git a/Makefile.PL b/Makefile.PL
+index af538b6..261085f 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+ name 'Digest-BubbleBabble';
+ all_from 'lib/Digest/BubbleBabble.pm';
+@@ -9,4 +10,4 @@ use_test_base;
+ auto_include_deps;
+ author_tests('xt');
+ auto_set_repository;
+-WriteAll;
+\ No newline at end of file
++WriteAll;
+--
+2.13.0
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Digest-BubbleBabble/files/, dev-perl/Digest-BubbleBabble/
@ 2020-07-30 10:05 Kent Fredric
0 siblings, 0 replies; 2+ messages in thread
From: Kent Fredric @ 2020-07-30 10:05 UTC (permalink / raw
To: gentoo-commits
commit: 50a282b1359ed1d8a3fa971308bae322d8d49f1f
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 30 10:04:31 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Jul 30 10:05:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a282b1
dev-perl/Digest-BubbleBabble: -r bump for EAPI7 + fixes
- EAPI7
- Remove unused/empty variable assignments
- Strip bundled inc/ deps which aren't used
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
.../Digest-BubbleBabble-0.20.0-r2.ebuild | 31 ++++++++++++++++++++++
.../Digest-BubbleBabble-0.02-no-test-base.patch | 25 +++++++++++++++++
2 files changed, 56 insertions(+)
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
new file mode 100644
index 00000000000..7d31c933c3b
--- /dev/null
+++ b/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=BTROTT
+DIST_VERSION=0.02
+inherit perl-module
+
+DESCRIPTION="Create bubble-babble fingerprints"
+
+SLOT="0"
+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"
+
+BDEPEND="
+ >=virtual/perl-ExtUtils-MakeMaker-6.420.0
+"
+PATCHES=(
+ # https://github.com/btrott/Digest-BubbleBabble/pull/1
+ "${FILESDIR}/0.02-dot-in-inc.patch"
+ "${FILESDIR}/${PN}-0.02-no-test-base.patch"
+)
+PERL_RM_FILES=(
+ inc/Spiffy.pm
+ inc/Test/Base.pm
+ inc/Test/Base/Filter.pm
+ inc/Test/Builder.pm
+ inc/Test/Builder/Module.pm
+ inc/Test/More.pm
+ inc/Module/Install/TestBase.pm
+)
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
new file mode 100644
index 00000000000..2ba4cb0474d
--- /dev/null
+++ b/dev-perl/Digest-BubbleBabble/files/Digest-BubbleBabble-0.02-no-test-base.patch
@@ -0,0 +1,25 @@
+From 739c3ffbbeac48b7f86f1e028aae0767b13261f1 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Thu, 30 Jul 2020 21:58:28 +1200
+Subject: Don't auto-use Test::Base
+
+as there doesn't appear to be anything that actually uses any of this
+---
+ Makefile.PL | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 261085f..e7dd11b 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -6,7 +6,6 @@ readme_from 'lib/Digest/BubbleBabble.pm';
+
+ test_requires 'Test::More';
+
+-use_test_base;
+ auto_include_deps;
+ author_tests('xt');
+ auto_set_repository;
+--
+2.27.0
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-30 10:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-30 10:05 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Digest-BubbleBabble/files/, dev-perl/Digest-BubbleBabble/ Kent Fredric
-- strict thread matches above, loose matches on Subject: below --
2017-06-06 21:04 Kent Fredric
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox