public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-Compile/, dev-perl/CGI-Compile/files/
@ 2017-09-30 15:30 Kent Fredric
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Fredric @ 2017-09-30 15:30 UTC (permalink / raw
  To: gentoo-commits

commit:     ed4d946fb02797a820518b848cd883b338a43e9f
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 30 15:29:34 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sat Sep 30 15:30:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed4d946f

dev-perl/CGI-Compile: Fix test failures re bug #614352

Don't be broken on Perl 5.26+ with PERL_USE_UNSAFE_INC=0

Closes: https://bugs.gentoo.org/614352
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/CGI-Compile/CGI-Compile-0.210.0.ebuild    |   1 +
 dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild    |   1 +
 .../files/CGI-Compile-0.210.0-perl-526.patch       | 137 +++++++++++++++++++++
 3 files changed, 139 insertions(+)

diff --git a/dev-perl/CGI-Compile/CGI-Compile-0.210.0.ebuild b/dev-perl/CGI-Compile/CGI-Compile-0.210.0.ebuild
index 6a9966cb899..f26f71037d9 100644
--- a/dev-perl/CGI-Compile/CGI-Compile-0.210.0.ebuild
+++ b/dev-perl/CGI-Compile/CGI-Compile-0.210.0.ebuild
@@ -23,3 +23,4 @@ DEPEND="${RDEPEND}
 		virtual/perl-Test-Simple
 	)
 "
+PATCHES=("${FILESDIR}/${P}-perl-526.patch")

diff --git a/dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild b/dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild
index a3739fa0622..3eaa6040e60 100644
--- a/dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild
+++ b/dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild
@@ -23,3 +23,4 @@ DEPEND="${RDEPEND}
 		virtual/perl-Test-Simple
 	)
 "
+PATCHES=("${FILESDIR}/${PN}-0.210.0-perl-526.patch")

diff --git a/dev-perl/CGI-Compile/files/CGI-Compile-0.210.0-perl-526.patch b/dev-perl/CGI-Compile/files/CGI-Compile-0.210.0-perl-526.patch
new file mode 100644
index 00000000000..74945fb9488
--- /dev/null
+++ b/dev-perl/CGI-Compile/files/CGI-Compile-0.210.0-perl-526.patch
@@ -0,0 +1,137 @@
+From dc9437c949a4f44ca8b36bbf974d6a49337c67b4 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Sun, 1 Oct 2017 04:10:33 +1300
+Subject: Fix tests failure on Perl 5.26+ with PERL_USE_UNSAFE_INC=0
+
+Bug: https://github.com/miyagawa/CGI-Compile/issues/21
+Bug: https://bugs.gentoo.org/614352
+---
+ t/Capture.pm      | 3 ++-
+ t/coderef_args.t  | 3 ++-
+ t/compile.t       | 3 ++-
+ t/data_end.t      | 4 +++-
+ t/exit.t          | 2 +-
+ t/local-SIG.t     | 3 ++-
+ t/source.t        | 3 ++-
+ t/source_filter.t | 3 ++-
+ t/warnings.t      | 3 ++-
+ 9 files changed, 18 insertions(+), 9 deletions(-)
+
+diff --git a/t/Capture.pm b/t/Capture.pm
+index 476f80d..2331b33 100644
+--- a/t/Capture.pm
++++ b/t/Capture.pm
+@@ -1,4 +1,5 @@
+-package t::Capture;
++package # Hide from PAUSE
++  Capture;
+ use base qw(Exporter);
+ our @EXPORT = qw(capture_out);
+ 
+diff --git a/t/coderef_args.t b/t/coderef_args.t
+index 8d9c1b4..89720dd 100644
+--- a/t/coderef_args.t
++++ b/t/coderef_args.t
+@@ -1,5 +1,6 @@
+ use Test::More;
+-use t::Capture;
++use lib 't';
++use Capture;
+ use CGI::Compile;
+ 
+ my $sub = CGI::Compile->compile("t/args.cgi");
+diff --git a/t/compile.t b/t/compile.t
+index db42283..f302f9b 100644
+--- a/t/compile.t
++++ b/t/compile.t
+@@ -1,6 +1,7 @@
+ use Test::More;
+ use Test::Requires qw(CGI);
+-use t::Capture;
++use lib 't';
++use Capture;
+ use CGI::Compile;
+ #no warnings 'signal'; # for MSWin32
+ 
+diff --git a/t/data_end.t b/t/data_end.t
+index af468f7..175641f 100644
+--- a/t/data_end.t
++++ b/t/data_end.t
+@@ -1,6 +1,8 @@
+ use Test::More;
+ use CGI::Compile;
+-use t::Capture;
++
++use lib 't';
++use Capture;
+ 
+ {
+     my $sub = CGI::Compile->compile("t/data.cgi");
+diff --git a/t/exit.t b/t/exit.t
+index b98b28a..2167b1c 100644
+--- a/t/exit.t
++++ b/t/exit.t
+@@ -1,8 +1,8 @@
+ use strict;
+ use Test::More tests => 2;
+ use CGI::Compile;
+-use t::Capture;
+ use lib "t";
++use Capture;
+ use Exit;
+ 
+ my $sub = CGI::Compile->compile("t/exit.cgi");
+diff --git a/t/local-SIG.t b/t/local-SIG.t
+index b781c05..68f733e 100644
+--- a/t/local-SIG.t
++++ b/t/local-SIG.t
+@@ -1,6 +1,7 @@
+ #!perl
+ 
+-use t::Capture;
++use lib 't';
++use Capture;
+ use CGI::Compile;
+ use POSIX qw(:signal_h);
+ 
+diff --git a/t/source.t b/t/source.t
+index e212244..b101632 100644
+--- a/t/source.t
++++ b/t/source.t
+@@ -1,6 +1,7 @@
+ use Test::More;
+ use CGI::Compile;
+-use t::Capture;
++use lib 't';
++use Capture;
+ 
+ {
+     my $str =<<EOL;
+diff --git a/t/source_filter.t b/t/source_filter.t
+index 8b84e0c..51b11b2 100644
+--- a/t/source_filter.t
++++ b/t/source_filter.t
+@@ -1,6 +1,7 @@
+ use Test::More;
+ use Test::Requires qw(Switch);
+-use t::Capture;
++use lib 't';
++use Capture;
+ use CGI::Compile;
+ 
+ my $sub = eval {
+diff --git a/t/warnings.t b/t/warnings.t
+index 5962aae..0d044cb 100644
+--- a/t/warnings.t
++++ b/t/warnings.t
+@@ -1,5 +1,6 @@
+ use Test::More;
+-use t::Capture;
++use lib 't';
++use Capture;
+ use CGI::Compile;
+ 
+ my $sub = CGI::Compile->compile("t/warnings.cgi");
+-- 
+2.14.1
+


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-Compile/, dev-perl/CGI-Compile/files/
@ 2020-10-03 23:36 Kent Fredric
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Fredric @ 2020-10-03 23:36 UTC (permalink / raw
  To: gentoo-commits

commit:     31f5e6bdae01125833644c18858b42239800d824
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  3 23:34:06 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sat Oct  3 23:36:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f5e6bd

dev-perl/CGI-Compile: Cleanup old 0.220.0

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild    |  27 ----
 dev-perl/CGI-Compile/Manifest                      |   1 -
 .../files/CGI-Compile-0.210.0-perl-526.patch       | 137 ---------------------
 3 files changed, 165 deletions(-)

diff --git a/dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild b/dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild
deleted file mode 100644
index a475f0ca6d8..00000000000
--- a/dev-perl/CGI-Compile/CGI-Compile-0.220.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=MIYAGAWA
-DIST_VERSION=0.22
-inherit perl-module
-
-DESCRIPTION="Compile .cgi scripts to a code reference like ModPerl::Registry"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	dev-perl/File-pushd
-"
-DEPEND="${RDEPEND}
-	>=dev-perl/Module-Build-Tiny-0.34.0
-	test? (
-		dev-perl/Test-NoWarnings
-		dev-perl/Test-Requires
-		virtual/perl-Test-Simple
-	)
-"
-PATCHES=("${FILESDIR}/${PN}-0.210.0-perl-526.patch")

diff --git a/dev-perl/CGI-Compile/Manifest b/dev-perl/CGI-Compile/Manifest
index db91d63692a..4b9ca451630 100644
--- a/dev-perl/CGI-Compile/Manifest
+++ b/dev-perl/CGI-Compile/Manifest
@@ -1,3 +1,2 @@
-DIST CGI-Compile-0.22.tar.gz 21160 BLAKE2B a2b8ba4c7f180ec5dc1d48dace853ac37a3c8cbaaa2e1a140b52eca2fe366f59c0229d47cd8738029781ee4cb137db7d646efb55e254dffdb4e0112a107dc2f3 SHA512 58be714bd25975fbb66e4c83c197fa3c17219327859d965011706fda96d5c2f208831e52368c0b4b8ef6b0f462b9c8ea216d94d7ef30e904e21b818b134cc5b7
 DIST CGI-Compile-0.24.tar.gz 22392 BLAKE2B 874789fb78b9df5c1a207c3ebdc864bc3a648cd9c41943d64a94eef95c3c1d20d287e893f3ea2fa89ae4754f9ffaa931b7f5cfa239f984009ab06c266d1113c9 SHA512 bfb0e0d34f7088acc04811d8f778721b6b77afeeca1b3cdb7c21d633152f17af33c5de8772ef81adea48315d6eae5c7706a5cbbb7f373dbc0b08fe0ee8335abe
 DIST CGI-Compile-0.25.tar.gz 22479 BLAKE2B e321ec4d0ecee66f0efb8c89f322a036b135449938840aa0cfe0bf714bb2e8a0ad2d8d8f4397b00aa9e86d03190cb9429aaa8e0420528f233ddc9c066f768859 SHA512 760481c3868592d7dbeab10125ee76c608ea6a705926597c4219dc128c3ffb642ff39e6ddf72aa916c183fb6baf3671e687ea9a41b86987a60fc076d304d6fe6

diff --git a/dev-perl/CGI-Compile/files/CGI-Compile-0.210.0-perl-526.patch b/dev-perl/CGI-Compile/files/CGI-Compile-0.210.0-perl-526.patch
deleted file mode 100644
index 74945fb9488..00000000000
--- a/dev-perl/CGI-Compile/files/CGI-Compile-0.210.0-perl-526.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-From dc9437c949a4f44ca8b36bbf974d6a49337c67b4 Mon Sep 17 00:00:00 2001
-From: Kent Fredric <kentnl@gentoo.org>
-Date: Sun, 1 Oct 2017 04:10:33 +1300
-Subject: Fix tests failure on Perl 5.26+ with PERL_USE_UNSAFE_INC=0
-
-Bug: https://github.com/miyagawa/CGI-Compile/issues/21
-Bug: https://bugs.gentoo.org/614352
----
- t/Capture.pm      | 3 ++-
- t/coderef_args.t  | 3 ++-
- t/compile.t       | 3 ++-
- t/data_end.t      | 4 +++-
- t/exit.t          | 2 +-
- t/local-SIG.t     | 3 ++-
- t/source.t        | 3 ++-
- t/source_filter.t | 3 ++-
- t/warnings.t      | 3 ++-
- 9 files changed, 18 insertions(+), 9 deletions(-)
-
-diff --git a/t/Capture.pm b/t/Capture.pm
-index 476f80d..2331b33 100644
---- a/t/Capture.pm
-+++ b/t/Capture.pm
-@@ -1,4 +1,5 @@
--package t::Capture;
-+package # Hide from PAUSE
-+  Capture;
- use base qw(Exporter);
- our @EXPORT = qw(capture_out);
- 
-diff --git a/t/coderef_args.t b/t/coderef_args.t
-index 8d9c1b4..89720dd 100644
---- a/t/coderef_args.t
-+++ b/t/coderef_args.t
-@@ -1,5 +1,6 @@
- use Test::More;
--use t::Capture;
-+use lib 't';
-+use Capture;
- use CGI::Compile;
- 
- my $sub = CGI::Compile->compile("t/args.cgi");
-diff --git a/t/compile.t b/t/compile.t
-index db42283..f302f9b 100644
---- a/t/compile.t
-+++ b/t/compile.t
-@@ -1,6 +1,7 @@
- use Test::More;
- use Test::Requires qw(CGI);
--use t::Capture;
-+use lib 't';
-+use Capture;
- use CGI::Compile;
- #no warnings 'signal'; # for MSWin32
- 
-diff --git a/t/data_end.t b/t/data_end.t
-index af468f7..175641f 100644
---- a/t/data_end.t
-+++ b/t/data_end.t
-@@ -1,6 +1,8 @@
- use Test::More;
- use CGI::Compile;
--use t::Capture;
-+
-+use lib 't';
-+use Capture;
- 
- {
-     my $sub = CGI::Compile->compile("t/data.cgi");
-diff --git a/t/exit.t b/t/exit.t
-index b98b28a..2167b1c 100644
---- a/t/exit.t
-+++ b/t/exit.t
-@@ -1,8 +1,8 @@
- use strict;
- use Test::More tests => 2;
- use CGI::Compile;
--use t::Capture;
- use lib "t";
-+use Capture;
- use Exit;
- 
- my $sub = CGI::Compile->compile("t/exit.cgi");
-diff --git a/t/local-SIG.t b/t/local-SIG.t
-index b781c05..68f733e 100644
---- a/t/local-SIG.t
-+++ b/t/local-SIG.t
-@@ -1,6 +1,7 @@
- #!perl
- 
--use t::Capture;
-+use lib 't';
-+use Capture;
- use CGI::Compile;
- use POSIX qw(:signal_h);
- 
-diff --git a/t/source.t b/t/source.t
-index e212244..b101632 100644
---- a/t/source.t
-+++ b/t/source.t
-@@ -1,6 +1,7 @@
- use Test::More;
- use CGI::Compile;
--use t::Capture;
-+use lib 't';
-+use Capture;
- 
- {
-     my $str =<<EOL;
-diff --git a/t/source_filter.t b/t/source_filter.t
-index 8b84e0c..51b11b2 100644
---- a/t/source_filter.t
-+++ b/t/source_filter.t
-@@ -1,6 +1,7 @@
- use Test::More;
- use Test::Requires qw(Switch);
--use t::Capture;
-+use lib 't';
-+use Capture;
- use CGI::Compile;
- 
- my $sub = eval {
-diff --git a/t/warnings.t b/t/warnings.t
-index 5962aae..0d044cb 100644
---- a/t/warnings.t
-+++ b/t/warnings.t
-@@ -1,5 +1,6 @@
- use Test::More;
--use t::Capture;
-+use lib 't';
-+use Capture;
- use CGI::Compile;
- 
- my $sub = CGI::Compile->compile("t/warnings.cgi");
--- 
-2.14.1
-


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-03 23:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-30 15:30 [gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-Compile/, dev-perl/CGI-Compile/files/ Kent Fredric
  -- strict thread matches above, loose matches on Subject: below --
2020-10-03 23:36 Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox