dev-perl/ExtUtils-XSpp: Cleanup old version 0.170.0

Package-Manager: Portage-2.3.29, Repoman-2.3.9
This commit is contained in:
Kent Fredric
2018-06-08 17:14:11 +12:00
parent 3b141e62e1
commit ebbb23f910
3 changed files with 0 additions and 342 deletions

View File

@@ -1,27 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=SMUELLER
MODULE_VERSION=0.1700
inherit perl-module
DESCRIPTION="XS for C++"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
DEPEND="
>=dev-perl/Module-Build-0.400.0
test? (
dev-perl/Test-Differences
dev-perl/Test-Base
)
"
RDEPEND="
>=virtual/perl-ExtUtils-ParseXS-2.22.02
"
PATCHES=( "${FILESDIR}/${P}-no-dot-inc.patch" )
SRC_TEST=do

View File

@@ -1,2 +1 @@
DIST ExtUtils-XSpp-0.1700.tar.gz 175808 BLAKE2B 3b2dd74bb0ea78ccb975676c10b4fa0ed6a3a29dbb35137e33cdd2509da21175ece2efd7a893fda66a9b2fdcf2f4e70400c04afe24576c46b43f06ded2f61393 SHA512 12490302e98a499bbc14849a5879087d9d88feb64dedd2d9c79b047fadec2171d5029f1b2e1ffe68e16fb07b1e22dd3d443dead0a6bf1ddf504600cbde92128a
DIST ExtUtils-XSpp-0.18.tar.gz 185431 BLAKE2B 785bc3fc8e648bc7f079df0d6b0ca68cc156d1f661b49258c32ae1d5571c2715a97f3dedd34e54c48cac85c46fcedf95ce78cc69444396502527b29b9f8e7d6e SHA512 0e075876f8a269bd0df71a37bcfe7c164fa18ffabe72deecb57d5ebefa3a78fc0c2438e75319497e0e1f99e6f9af9ae33af8ecb67e1d411356d6f3a50cd9ea1e

View File

@@ -1,314 +0,0 @@
From 890c6563bca6c297500ed7ad6be7147e0222c797 Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Sat, 21 Oct 2017 11:04:37 +1300
Subject: Fix test failures without '.' in @INC on 5.26+
This fixes test failures when perl is running with PERL_USE_UNSAFE_INC=0
set in the environment.
Bug: https://rt.cpan.org/Ticket/Display.html?id=121070
Bug: https://bugs.gentoo.org/615240
Bug: https://github.com/mbarbon/extutils-xspp/pull/3
---
t/010_base.t | 3 ++-
t/011_multiple_files.t | 3 ++-
t/012_preprocessor.t | 3 ++-
t/015_reference.t | 3 ++-
t/020_rename.t | 3 ++-
t/022_static.t | 3 ++-
t/022_virtual.t | 3 ++-
t/023_base_classes.t | 3 ++-
t/024_enum.t | 3 ++-
t/030_code_blocks.t | 3 ++-
t/031_verbatim_blocks.t | 3 ++-
t/035_include.t | 3 ++-
t/040_plugin.t | 7 ++++---
t/043_parser_plugins.t | 3 ++-
t/075_types.t | 3 ++-
t/080_complex_typemap.t | 3 ++-
t/090_exceptions.t | 3 ++-
t/lib/XSP/Plugin.pm | 2 +-
t/lib/XSP/Test.pm | 4 ++--
19 files changed, 39 insertions(+), 22 deletions(-)
diff --git a/t/010_base.t b/t/010_base.t
index 3d8b3c9..58cfd30 100644
--- a/t/010_base.t
+++ b/t/010_base.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 14;
+use lib 't/lib';
+use XSP::Test tests => 14;
run_diff xsp_stdout => 'expected';
diff --git a/t/011_multiple_files.t b/t/011_multiple_files.t
index d52f930..d37d36b 100644
--- a/t/011_multiple_files.t
+++ b/t/011_multiple_files.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 3;
+use lib 't/lib';
+use XSP::Test tests => 3;
run_diff process => 'expected';
diff --git a/t/012_preprocessor.t b/t/012_preprocessor.t
index 953bd73..7bf64f9 100644
--- a/t/012_preprocessor.t
+++ b/t/012_preprocessor.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 6;
+use lib 't/lib';
+use XSP::Test tests => 6;
# monkeypatch print methods to test conditionals are parsed correctly
no warnings 'redefine';
diff --git a/t/015_reference.t b/t/015_reference.t
index e060a25..4b33887 100644
--- a/t/015_reference.t
+++ b/t/015_reference.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 2;
+use lib 't/lib';
+use XSP::Test tests => 2;
run_diff xsp_stdout => 'expected';
diff --git a/t/020_rename.t b/t/020_rename.t
index df6abc3..ec1a0fd 100644
--- a/t/020_rename.t
+++ b/t/020_rename.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 9;
+use lib 't/lib';
+use XSP::Test tests => 9;
run_diff xsp_stdout => 'expected';
diff --git a/t/022_static.t b/t/022_static.t
index de77672..138f02a 100644
--- a/t/022_static.t
+++ b/t/022_static.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 1;
+use lib 't/lib';
+use XSP::Test tests => 1;
run_diff xsp_stdout => 'expected';
diff --git a/t/022_virtual.t b/t/022_virtual.t
index 2186690..7434d53 100644
--- a/t/022_virtual.t
+++ b/t/022_virtual.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 3;
+use lib 't/lib';
+use XSP::Test tests => 3;
run_diff xsp_stdout => 'expected';
diff --git a/t/023_base_classes.t b/t/023_base_classes.t
index a53d5f8..00b2c06 100644
--- a/t/023_base_classes.t
+++ b/t/023_base_classes.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 2;
+use lib 't/lib';
+use XSP::Test tests => 2;
run_diff xsp_stdout => 'expected';
diff --git a/t/024_enum.t b/t/024_enum.t
index 30a88e0..6ca1edf 100644
--- a/t/024_enum.t
+++ b/t/024_enum.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 2;
+use lib 't/lib';
+use XSP::Test tests => 2;
# monkeypatch Enum/EnumValue just to test that they were parsed correctly
no warnings 'redefine';
diff --git a/t/030_code_blocks.t b/t/030_code_blocks.t
index dc6df69..aca157e 100644
--- a/t/030_code_blocks.t
+++ b/t/030_code_blocks.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 6;
+use lib 't/lib';
+use XSP::Test tests => 6;
run_diff xsp_stdout => 'expected';
diff --git a/t/031_verbatim_blocks.t b/t/031_verbatim_blocks.t
index d123f66..5c2d373 100644
--- a/t/031_verbatim_blocks.t
+++ b/t/031_verbatim_blocks.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 2;
+use lib 't/lib';
+use XSP::Test tests => 2;
run_diff xsp_stdout => 'expected';
diff --git a/t/035_include.t b/t/035_include.t
index 4d5f4e5..306e183 100644
--- a/t/035_include.t
+++ b/t/035_include.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 1;
+use lib 't/lib';
+use XSP::Test tests => 1;
run_diff xsp_stdout => 'expected';
diff --git a/t/040_plugin.t b/t/040_plugin.t
index 798ba62..f8f1ea8 100644
--- a/t/040_plugin.t
+++ b/t/040_plugin.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 2;
+use lib 't/lib';
+use XSP::Test tests => 2;
run_diff xsp_stdout => 'expected';
@@ -12,8 +13,8 @@ __DATA__
--- xsp_stdout
%module{Foo};
%package{Foo};
-%loadplugin{t::lib::XSP::Plugin};
-%loadplugin{t::lib::XSP::Plugin};
+%loadplugin{XSP::Plugin};
+%loadplugin{XSP::Plugin};
int foo(int y);
diff --git a/t/043_parser_plugins.t b/t/043_parser_plugins.t
index e89c5cb..a84342b 100644
--- a/t/043_parser_plugins.t
+++ b/t/043_parser_plugins.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 2;
+use lib 't/lib';
+use XSP::Test tests => 2;
run_diff xsp_stdout => 'expected';
diff --git a/t/075_types.t b/t/075_types.t
index 441d66b..a4db077 100644
--- a/t/075_types.t
+++ b/t/075_types.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 5;
+use lib 't/lib';
+use XSP::Test tests => 5;
run_diff xsp_stdout => 'expected';
diff --git a/t/080_complex_typemap.t b/t/080_complex_typemap.t
index f86df61..44314b2 100644
--- a/t/080_complex_typemap.t
+++ b/t/080_complex_typemap.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 6;
+use lib 't/lib';
+use XSP::Test tests => 6;
run_diff xsp_stdout => 'expected';
diff --git a/t/090_exceptions.t b/t/090_exceptions.t
index 0bb30fd..0e8071d 100644
--- a/t/090_exceptions.t
+++ b/t/090_exceptions.t
@@ -2,7 +2,8 @@
use strict;
use warnings;
-use t::lib::XSP::Test tests => 9;
+use lib 't/lib';
+use XSP::Test tests => 9;
run_diff xsp_stdout => 'expected';
diff --git a/t/lib/XSP/Plugin.pm b/t/lib/XSP/Plugin.pm
index 8f0cd2a..e4b2212 100644
--- a/t/lib/XSP/Plugin.pm
+++ b/t/lib/XSP/Plugin.pm
@@ -1,4 +1,4 @@
-package t::lib::XSP::Plugin;
+package XSP::Plugin;
use strict;
use warnings;
diff --git a/t/lib/XSP/Test.pm b/t/lib/XSP/Test.pm
index 719b829..081938f 100644
--- a/t/lib/XSP/Test.pm
+++ b/t/lib/XSP/Test.pm
@@ -1,4 +1,4 @@
-package t::lib::XSP::Test;
+package XSP::Test;
use strict;
use warnings;
@@ -37,7 +37,7 @@ sub run_diff(@) {
use ExtUtils::XSpp;
-package t::lib::XSP::Test::Filter;
+package XSP::Test::Filter;
use Test::Base::Filter -base;
--
2.14.2