Hello community, here is the log from the commit of package perl-Inline for openSUSE:Factory checked in at 2019-02-04 14:26:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Inline (Old) and /work/SRC/openSUSE:Factory/.perl-Inline.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Inline" Mon Feb 4 14:26:11 2019 rev:28 rq:671010 version:0.81 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Inline/perl-Inline.changes 2015-04-16 14:14:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Inline.new.28833/perl-Inline.changes 2019-02-04 14:26:13.613030590 +0100 @@ -1,0 +2,6 @@ +Mon Feb 4 06:11:25 UTC 2019 - Stephan Kulow <co...@suse.com> + +- updated to 0.81 + see /usr/share/doc/packages/perl-Inline/Changes + +------------------------------------------------------------------- Old: ---- Inline-0.80.tar.gz New: ---- Inline-0.81.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Inline.spec ++++++ --- /var/tmp/diff_new_pack.LtB1TS/_old 2019-02-04 14:26:14.049030383 +0100 +++ /var/tmp/diff_new_pack.LtB1TS/_new 2019-02-04 14:26:14.053030381 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Inline # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-Inline -Version: 0.80 +Version: 0.81 Release: 0 %define cpan_name Inline Summary: Write Perl Subroutines in Other Programming Languages -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Inline/ -Source0: http://www.cpan.org/authors/id/I/IN/INGY/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/T/TI/TINITA/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -32,6 +32,8 @@ BuildRequires: perl-macros BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Warn) >= 0.23 +BuildRequires: perl(version) >= 0.82 +Requires: perl(version) >= 0.82 %{perl_requires} # MANUAL BEGIN Requires: gcc @@ -59,19 +61,19 @@ the module is installed, so the end user will never notice the compilation time. -Best of all, it works the same on both Unix and Microsoft Windows. See the -Inline- Support manpage for support information. +Best of all, it works the same on both Unix and Microsoft Windows. See +Inline- Support for support information. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -80,6 +82,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTING example LICENSE README +%doc Changes CONTRIBUTING example README +%license LICENSE %changelog ++++++ Inline-0.80.tar.gz -> Inline-0.81.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/CONTRIBUTING new/Inline-0.81/CONTRIBUTING --- old/Inline-0.80/CONTRIBUTING 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/CONTRIBUTING 2019-02-03 16:42:13.000000000 +0100 @@ -64,4 +64,4 @@ -# This file generated by Zilla-Dist-0.0.189 +# This file generated by Zilla-Dist-0.0.203 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/Changes new/Inline-0.81/Changes --- old/Inline-0.80/Changes 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/Changes 2019-02-03 16:42:13.000000000 +0100 @@ -1,3 +1,19 @@ +0.81 Sun 03 Feb 2019 04:42:05 PM CET + - Regular release, see developer releases + +0.80_03 Fri 01 Feb 2019 11:26:18 PM CET + - Fix @inc, add another exception for Inline::C (SISYPHUS++) + +0.80_02 Fri Jun 22 22:21:11 MDT 2018 + - Revert PR/61 - failed on travis + +0.80_01 Fri Jun 22 21:39:49 MDT 2018 + - PR/59 @pypt++ Travis test against Perl 5.22, 5.24, 5.26 + - PR/60 @pypt++ Calculate MD5 hashes of UTF-8 source by encoding it first + - PR/61 @rurban++ Fix wrong -I in subcmd + - PR/66 @soren++ Fix failing tests on systems missing perldiag.pod + - PR/67 NERDVANA++ Relax the version requirement for installing modules + 0.80 Fri Mar 13 20:03:52 PDT 2015 - Fix dependency problem in Inline::MakeMaker affecting parallel builds @@ -63,8 +79,7 @@ 0.61 Sun Jul 13 21:47:14 PDT 2014 - Make Inline dep on perl 5.8.1 per The Lancaster Consensus - - https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancas - ter-consensus.md#minimum-supported-perl + - https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md#minimum-supported-perl - Fix Metadata errors 0.60 Sun Jul 13 21:19:48 PDT 2014 @@ -192,8 +207,7 @@ - Inline.pm - Add a warning prior to croaking with M62_invalid_config_file(). That way, we'll at least see what $config contains. This is in response to FAIL report - http://www.cpantesters.org/cpan/report/3287249c-5151-11e1-9dba-4238887bd - 19e + http://www.cpantesters.org/cpan/report/3287249c-5151-11e1-9dba-4238887bd19e - Bump version number to 0.50_01 0.50 Tues 7 Feb 2012 @@ -482,4 +496,3 @@ 0.01 Mon Jul 24 11:23:25 2000 - original version; created by h2xs 1.19 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/LICENSE new/Inline-0.81/LICENSE --- old/Inline-0.80/LICENSE 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/LICENSE 2019-02-03 16:42:13.000000000 +0100 @@ -1,4 +1,4 @@ -This software is copyright (c) 2015 by Ingy döt Net. +This software is copyright (c) 2019 by Ingy döt Net. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2015 by Ingy döt Net. +This software is Copyright (c) 2019 by Ingy döt Net. This is free software, licensed under: @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2015 by Ingy döt Net. +This software is Copyright (c) 2019 by Ingy döt Net. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/MANIFEST new/Inline-0.81/MANIFEST --- old/Inline-0.80/MANIFEST 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/MANIFEST 2019-02-03 16:42:13.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.029. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. CONTRIBUTING Changes LICENSE @@ -37,7 +37,8 @@ t/06rewrite_config.t t/07rewrite2_config.p t/07rewrite2_config.t +t/08unicode.t t/TestInlineSetup.pm +t/author-pod-syntax.t t/file -t/release-pod-syntax.t xt/ilsm-test.bash diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/META.json new/Inline-0.81/META.json --- old/Inline-0.80/META.json 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/META.json 2019-02-03 16:42:13.000000000 +0100 @@ -1,10 +1,10 @@ { "abstract" : "Write Perl Subroutines in Other Programming Languages", "author" : [ - "Ingy döt Net <i...@cpan.org>" + "Ingy d\u00f6t Net <i...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.029, CPAN::Meta::Converter version 2.143240", + "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -15,10 +15,10 @@ "name" : "Inline", "no_index" : { "directory" : [ + "example", "inc", "t", - "xt", - "example" + "xt" ] }, "prereqs" : { @@ -36,7 +36,8 @@ "requires" : { "Digest::MD5" : "0", "File::Spec" : "0.8", - "perl" : "v5.8.1" + "perl" : "v5.8.1", + "version" : "0.82" } }, "test" : { @@ -58,6 +59,8 @@ "web" : "https://github.com/ingydotnet/inline-pm" } }, - "version" : "0.80" + "version" : "0.81", + "x_generated_by_perl" : "v5.24.1", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/META.yml new/Inline-0.81/META.yml --- old/Inline-0.80/META.yml 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/META.yml 2019-02-03 16:42:13.000000000 +0100 @@ -8,7 +8,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.029, CPAN::Meta::Converter version 2.143240' +generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -16,16 +16,19 @@ name: Inline no_index: directory: + - example - inc - t - xt - - example requires: Digest::MD5: '0' File::Spec: '0.8' perl: v5.8.1 + version: '0.82' resources: bugtracker: https://github.com/ingydotnet/inline-pm/issues homepage: https://github.com/ingydotnet/inline-pm repository: https://github.com/ingydotnet/inline-pm.git -version: '0.80' +version: '0.81' +x_generated_by_perl: v5.24.1 +x_serialization_backend: 'YAML::Tiny version 1.73' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/Makefile.PL new/Inline-0.81/Makefile.PL --- old/Inline-0.80/Makefile.PL 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/Makefile.PL 2019-02-03 16:42:13.000000000 +0100 @@ -1,5 +1,4 @@ - -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.029. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012. use strict; use warnings; @@ -7,8 +6,6 @@ use ExtUtils::MakeMaker; - - my %WriteMakefileArgs = ( "ABSTRACT" => "Write Perl Subroutines in Other Programming Languages", "AUTHOR" => "Ingy d\x{f6}t Net <ingy\@cpan.org>", @@ -16,19 +13,19 @@ "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Inline", - "EXE_FILES" => [], "LICENSE" => "perl", "MIN_PERL_VERSION" => "5.008001", "NAME" => "Inline", "PREREQ_PM" => { "Digest::MD5" => 0, - "File::Spec" => "0.8" + "File::Spec" => "0.8", + "version" => "0.82" }, "TEST_REQUIRES" => { "Test::More" => "0.88", "Test::Warn" => "0.23" }, - "VERSION" => "0.80", + "VERSION" => "0.81", "test" => { "TESTS" => "t/*.t" } @@ -37,10 +34,10 @@ my %FallbackPrereqs = ( "Digest::MD5" => 0, - "ExtUtils::MakeMaker" => 0, "File::Spec" => "0.8", "Test::More" => "0.88", - "Test::Warn" => "0.23" + "Test::Warn" => "0.23", + "version" => "0.82" ); @@ -54,6 +51,3 @@ unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); - - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/README new/Inline-0.81/README --- old/Inline-0.80/README 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/README 2019-02-03 16:42:13.000000000 +0100 @@ -4,7 +4,7 @@ VERSION - This document describes Inline version 0.80. + This document describes Inline version 0.81. SYNOPSIS @@ -1155,7 +1155,7 @@ COPYRIGHT - * Copyright 2000-2015. Ingy döt Net. + * Copyright 2000-2019. Ingy döt Net. * Copyright 2008, 2010-2014. Sisyphus. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/lib/Inline/API.pod new/Inline-0.81/lib/Inline/API.pod --- old/Inline-0.80/lib/Inline/API.pod 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/lib/Inline/API.pod 2019-02-03 16:42:13.000000000 +0100 @@ -1,7 +1,7 @@ =pod =for comment -DO NOT EDIT. This Pod was generated by Swim v0.1.39. +DO NOT EDIT. This Pod was generated by Swim v0.1.46. See http://github.com/ingydotnet/swim-pm#readme =encoding utf8 @@ -399,7 +399,7 @@ =head1 COPYRIGHT -Copyright 2000-2015. Ingy döt Net. +Copyright 2000-2019. Ingy döt Net. Copyright 2008, 2010, 2011. Sisyphus. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/lib/Inline/FAQ.pod new/Inline-0.81/lib/Inline/FAQ.pod --- old/Inline-0.80/lib/Inline/FAQ.pod 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/lib/Inline/FAQ.pod 2019-02-03 16:42:13.000000000 +0100 @@ -1,7 +1,7 @@ =pod =for comment -DO NOT EDIT. This Pod was generated by Swim v0.1.39. +DO NOT EDIT. This Pod was generated by Swim v0.1.46. See http://github.com/ingydotnet/swim-pm#readme =encoding utf8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/lib/Inline/Foo.pm new/Inline-0.81/lib/Inline/Foo.pm --- old/Inline-0.80/lib/Inline/Foo.pm 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/lib/Inline/Foo.pm 2019-02-03 16:42:13.000000000 +0100 @@ -3,7 +3,7 @@ require Inline; our @ISA = qw(Inline); -our $VERSION = '0.80'; +our $VERSION = '0.81'; use Carp; use File::Spec; @@ -63,6 +63,7 @@ $o->mkpath($path) unless -d $path; open FOO_OBJ, "> $obj" or croak "Can't open $obj for output\n$!"; + binmode(FOO_OBJ, ':utf8'); print FOO_OBJ $code; close \*FOO_OBJ; } @@ -72,6 +73,7 @@ my $obj = $o->{API}{location}; open FOO_OBJ, "< $obj" or croak "Can't open $obj for output\n$!"; + binmode(FOO_OBJ, ':utf8'); my $code = join '', <FOO_OBJ>; close \*FOO_OBJ; eval "package $o->{API}{pkg};\n$code"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/lib/Inline/MakeMaker.pm new/Inline-0.81/lib/Inline/MakeMaker.pm --- old/Inline-0.80/lib/Inline/MakeMaker.pm 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/lib/Inline/MakeMaker.pm 2019-02-03 16:42:13.000000000 +0100 @@ -4,9 +4,10 @@ use base 'Exporter'; use ExtUtils::MakeMaker(); use Carp; +use version; our @EXPORT = qw(WriteMakefile WriteInlineMakefile); -our $VERSION = '0.80'; +our $VERSION = '0.81'; sub WriteInlineMakefile { carp <<EOF; @@ -40,10 +41,8 @@ $version = ExtUtils::MM_Unix->parse_version($args{VERSION_FROM}) or croak "Can't determine version for $name\n"; } - croak <<END unless $version =~ /^\d\.\d\d$/; -Invalid version '$version' for $name. -Must be of the form '#.##'. (For instance '1.23') -END + croak "Invalid 'version.pm' version '$version' for '$name'.\n" + unless version::is_lax($version); # Provide a convenience rule to clean up Inline's messes $args{clean} = { FILES => "_Inline *.inl " } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/lib/Inline/Support.pod new/Inline-0.81/lib/Inline/Support.pod --- old/Inline-0.80/lib/Inline/Support.pod 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/lib/Inline/Support.pod 2019-02-03 16:42:13.000000000 +0100 @@ -1,7 +1,7 @@ =pod =for comment -DO NOT EDIT. This Pod was generated by Swim v0.1.39. +DO NOT EDIT. This Pod was generated by Swim v0.1.46. See http://github.com/ingydotnet/swim-pm#readme =encoding utf8 @@ -171,7 +171,7 @@ =head1 COPYRIGHT -Copyright 2000-2015. Ingy döt Net. +Copyright 2000-2019. Ingy döt Net. Copyright 2008, 2010, 2011. Sisyphus. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/lib/Inline.pm new/Inline-0.81/lib/Inline.pm --- old/Inline-0.80/lib/Inline.pm 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/lib/Inline.pm 2019-02-03 16:42:13.000000000 +0100 @@ -1,15 +1,18 @@ use strict; use warnings; package Inline; -our $VERSION = '0.80'; +our $VERSION = '0.81'; use Inline::denter; use Config; use Carp; use Cwd qw(abs_path cwd); +use Encode; use File::Spec; use File::Spec::Unix; use Fcntl qw(LOCK_EX LOCK_UN); +use version; +use utf8; my %CONFIG = (); my @DATA_OBJS = (); @@ -395,7 +398,8 @@ unless $value =~ /^[a-zA-Z_](\w|::)*$/; } elsif ($key eq 'VERSION') { - croak M13_usage_VERSION($value) unless $value =~ /^\d\.\d\d*$/; + croak M13_usage_VERSION($value) + unless version::is_lax($value); } $o->{CONFIG}{$key} = $value; } @@ -459,7 +463,11 @@ $o->{INLINE}{object_ready} = 0; unless ($o->{API}{code} =~ /^[A-Fa-f0-9]{32}$/) { require Digest::MD5; - $o->{INLINE}{md5} = Digest::MD5::md5_hex($o->{API}{code}); + my $encoded_code = $o->{API}{code}; + if ( utf8::is_utf8($encoded_code)) { + $encoded_code = Encode::encode_utf8($encoded_code); + } + $o->{INLINE}{md5} = Digest::MD5::md5_hex($encoded_code); } else { $o->{INLINE}{md5} = $o->{API}{code}; @@ -821,7 +829,7 @@ # Inline::CPP (and perhaps other Inline modules) will fail because P::RD isn't found. my @_inc = map { "-I$_" } ($inline, - grep {(-d File::Spec->catdir($_,"Inline") or -d File::Spec->catdir($_,"auto","Inline") or -e File::Spec->catdir($_,"Parse/RecDescent.pm"))} @INC); + grep {(-d File::Spec->catdir($_,"Inline") or -d File::Spec->catdir($_,"auto","Inline") or -e File::Spec->catdir($_,"Win32/Mutex.pm") or -e File::Spec->catdir($_,"Parse/RecDescent.pm"))} @INC); system $perl, @_inc, "-MInline=_CONFIG_", "-e1", "$dir" and croak M20_config_creation_failed($dir); return; @@ -1536,8 +1544,7 @@ sub M13_usage_VERSION { my ($version) = @_; return <<END; -Invalid value for VERSION config option: '$version' -Must be of the form '#.##'. +Invalid (according to version.pm) VERSION config option: '$version' (Should also be specified as a string rather than a floating point number) END diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/lib/Inline.pod new/Inline-0.81/lib/Inline.pod --- old/Inline-0.80/lib/Inline.pod 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/lib/Inline.pod 2019-02-03 16:42:13.000000000 +0100 @@ -1,7 +1,7 @@ =pod =for comment -DO NOT EDIT. This Pod was generated by Swim v0.1.39. +DO NOT EDIT. This Pod was generated by Swim v0.1.46. See http://github.com/ingydotnet/swim-pm#readme =encoding utf8 @@ -12,7 +12,7 @@ =head1 VERSION -This document describes L<Inline> version B<0.80>. +This document describes L<Inline> version B<0.81>. =head1 SYNOPSIS @@ -1170,7 +1170,7 @@ =over -=item * Copyright 2000-2015. Ingy döt Net. +=item * Copyright 2000-2019. Ingy döt Net. =item * Copyright 2008, 2010-2014. Sisyphus. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/t/01usages.t new/Inline-0.81/t/01usages.t --- old/Inline-0.80/t/01usages.t 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/t/01usages.t 2019-02-03 16:42:13.000000000 +0100 @@ -6,6 +6,22 @@ use Inline conFig => DiREcTOrY => $TestInlineSetup::DIR; +unless ($TestInlineSetup::DIAG) { + diag <<'EOD' +Unable to load diagnostics module, test results are unaffected. + +The diagnostics module cannot be loaded. The module gets its +explanations for messages from the perldoc file perldiag.pod. + +Although both the module and the perldoc file are core parts of perl, +some packaging systems distribute them in separate packages. + +E.g. in Cygwin this package is called perl_pods. Installing this +package should make the diagnostics module load correctly. + +EOD +} + use Inline Foo => File::Spec->catfile(File::Spec->curdir(),$t,'file'); ok(test1('test1'), 'read external file'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/t/08unicode.t new/Inline-0.81/t/08unicode.t --- old/Inline-0.80/t/08unicode.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Inline-0.81/t/08unicode.t 2019-02-03 16:42:13.000000000 +0100 @@ -0,0 +1,19 @@ +use strict; use warnings; use utf8; +binmode(STDOUT, ':utf8'); +binmode(STDERR, ':utf8'); +use lib -e 't' ? 't' : 'test'; +use TestInlineSetup; + +use Test::More tests => 1; + +use Inline Config => DIrECTORY => $TestInlineSetup::DIR, DISABLE => 'WARNINGS'; + +ok(test2('𝘛𝘩𝘪𝘴 𝘪𝘴 𝘜𝘯𝘪𝘤𝘰𝘥𝘦 𝘵𝘦𝘹𝘵.'), 'UTF-8'); +use Inline Foo => ConFig => ENABLE => 'BaR'; +use Inline Foo => <<'END_OF_FOO', PAtTERN => 'gogo-'; +use utf8; + +gogo-sub test2 { + bar-return $_[0] gogo-eq '𝘛𝘩𝘪𝘴 𝘪𝘴 𝘜𝘯𝘪𝘤𝘰𝘥𝘦 𝘵𝘦𝘹𝘵.'; +} +END_OF_FOO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/t/TestInlineSetup.pm new/Inline-0.81/t/TestInlineSetup.pm --- old/Inline-0.80/t/TestInlineSetup.pm 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/t/TestInlineSetup.pm 2019-02-03 16:42:13.000000000 +0100 @@ -1,7 +1,12 @@ use strict; use warnings; package TestInlineSetup; -use diagnostics; +our $DIAG = eval { + require diagnostics; + diagnostics->import(); + 1; +}; + use File::Path; use File::Spec; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/t/author-pod-syntax.t new/Inline-0.81/t/author-pod-syntax.t --- old/Inline-0.80/t/author-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Inline-0.81/t/author-pod-syntax.t 2019-02-03 16:42:13.000000000 +0100 @@ -0,0 +1,15 @@ +#!perl + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; +use Test::More; +use Test::Pod 1.41; + +all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Inline-0.80/t/release-pod-syntax.t new/Inline-0.81/t/release-pod-syntax.t --- old/Inline-0.80/t/release-pod-syntax.t 2015-03-14 04:04:06.000000000 +0100 +++ new/Inline-0.81/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. -use Test::More; -use Test::Pod 1.41; - -all_pod_files_ok();