summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-10-21 11:41:30 +1300
committerKent Fredric <kentnl@gentoo.org>2017-10-21 11:42:08 +1300
commitf8761f86f769a47eb9091e4b85202a105f809f46 (patch)
tree879dfd0f4110b45a7453eca153119b549aaf0468 /dev-perl/ExtUtils-XSpp
parentnet-libs/libtorrent-rasterbar: Drop old (diff)
downloadgentoo-f8761f86f769a47eb9091e4b85202a105f809f46.tar.gz
gentoo-f8761f86f769a47eb9091e4b85202a105f809f46.tar.bz2
gentoo-f8761f86f769a47eb9091e4b85202a105f809f46.zip
dev-perl/ExtUtils-XSpp: Fix tests without '.' in @INC bug #615240
Closes: https://bugs.gentoo.org/615240 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/ExtUtils-XSpp')
-rw-r--r--dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.170.0.ebuild4
-rw-r--r--dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.180.0.ebuild4
-rw-r--r--dev-perl/ExtUtils-XSpp/files/ExtUtils-XSpp-0.170.0-no-dot-inc.patch314
-rw-r--r--dev-perl/ExtUtils-XSpp/files/ExtUtils-XSpp-0.180.0-no-dot-inc.patch344
4 files changed, 662 insertions, 4 deletions
diff --git a/dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.170.0.ebuild b/dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.170.0.ebuild
index fa3567ad6c6a..c11abdc4a88a 100644
--- a/dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.170.0.ebuild
+++ b/dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.170.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -23,5 +23,5 @@ DEPEND="
RDEPEND="
>=virtual/perl-ExtUtils-ParseXS-2.22.02
"
-
+PATCHES=( "${FILESDIR}/${P}-no-dot-inc.patch" )
SRC_TEST=do
diff --git a/dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.180.0.ebuild b/dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.180.0.ebuild
index 115357c805a5..730c1130cb27 100644
--- a/dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.180.0.ebuild
+++ b/dev-perl/ExtUtils-XSpp/ExtUtils-XSpp-0.180.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -24,5 +24,5 @@ DEPEND="${RDEPEND}
dev-perl/Test-Base
)
"
-
+PATCHES=( "${FILESDIR}/${P}-no-dot-inc.patch" )
SRC_TEST="do parallel"
diff --git a/dev-perl/ExtUtils-XSpp/files/ExtUtils-XSpp-0.170.0-no-dot-inc.patch b/dev-perl/ExtUtils-XSpp/files/ExtUtils-XSpp-0.170.0-no-dot-inc.patch
new file mode 100644
index 000000000000..f3a5120a4efe
--- /dev/null
+++ b/dev-perl/ExtUtils-XSpp/files/ExtUtils-XSpp-0.170.0-no-dot-inc.patch
@@ -0,0 +1,314 @@
+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
+
diff --git a/dev-perl/ExtUtils-XSpp/files/ExtUtils-XSpp-0.180.0-no-dot-inc.patch b/dev-perl/ExtUtils-XSpp/files/ExtUtils-XSpp-0.180.0-no-dot-inc.patch
new file mode 100644
index 000000000000..1605f278b2d8
--- /dev/null
+++ b/dev-perl/ExtUtils-XSpp/files/ExtUtils-XSpp-0.180.0-no-dot-inc.patch
@@ -0,0 +1,344 @@
+From 6875b61003a7a5e3d4c96ad12d74a02433baf9d7 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/013_typemap_output.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/025_member.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 ++--
+ 21 files changed, 43 insertions(+), 24 deletions(-)
+
+diff --git a/t/010_base.t b/t/010_base.t
+index 893857a..1c36dce 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 addf386..e4df4a5 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 44e41a7..9a73626 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/013_typemap_output.t b/t/013_typemap_output.t
+index 6ed48bb..fb38f4a 100644
+--- a/t/013_typemap_output.t
++++ b/t/013_typemap_output.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;
+
+ use ExtUtils::XSpp;
+ use ExtUtils::XSpp::Typemap::simple;
+diff --git a/t/015_reference.t b/t/015_reference.t
+index e3ade61..0728c16 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 da55b07..7ecb125 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 857ca30..24c13ed 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 b8d3a65..1dfdb3d 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 52b01be..a25aeb7 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 536d661..53c1774 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/025_member.t b/t/025_member.t
+index c7f4fdc..ba1d8a3 100644
+--- a/t/025_member.t
++++ b/t/025_member.t
+@@ -2,7 +2,8 @@
+
+ use strict;
+ use warnings;
+-use t::lib::XSP::Test tests => 4;
++use lib 't/lib';
++use XSP::Test tests => 4;
+
+ run_diff xsp_stdout => 'expected';
+
+diff --git a/t/030_code_blocks.t b/t/030_code_blocks.t
+index 56cc97e..1f2f873 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 68b66a7..1f3b6a7 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 b52a25d..66de3e0 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 dc3d975..680eda1 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 5d2a56e..9c11b1b 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 => 4;
++use lib 't/lib';
++use XSP::Test tests => 4;
+
+ run_diff xsp_stdout => 'expected';
+
+diff --git a/t/075_types.t b/t/075_types.t
+index 7616be2..b31de8d 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 560f502..5e7c84b 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 0ad4f94..8043f61 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 4bd7000..1d9f4bb 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;
+@@ -39,7 +39,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
+