Hello community, here is the log from the commit of package perl-Modern-Perl for openSUSE:Factory checked in at 2015-02-10 20:23:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Modern-Perl (Old) and /work/SRC/openSUSE:Factory/.perl-Modern-Perl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Modern-Perl" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Modern-Perl/perl-Modern-Perl.changes 2014-02-12 07:05:10.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Modern-Perl.new/perl-Modern-Perl.changes 2015-02-10 20:23:39.000000000 +0100 @@ -1,0 +2,7 @@ +Sat Feb 7 16:23:00 UTC 2015 - [email protected] + +- updated to 1.20150127 + - updated for 2015 release (Elmer Quintanilla) + - added support for 5.20 + +------------------------------------------------------------------- Old: ---- Modern-Perl-1.20140107.tar.gz New: ---- Modern-Perl-1.20150127.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Modern-Perl.spec ++++++ --- /var/tmp/diff_new_pack.nqPhga/_old 2015-02-10 20:23:40.000000000 +0100 +++ /var/tmp/diff_new_pack.nqPhga/_new 2015-02-10 20:23:40.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Modern-Perl # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,7 +17,7 @@ Name: perl-Modern-Perl -Version: 1.20140107 +Version: 1.20150127 Release: 0 %define cpan_name Modern-Perl Summary: enable all of the features of Modern Perl with one import @@ -29,7 +29,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.3601 +BuildRequires: perl(Module::Build) >= 0.2800 BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(autodie) >= 2.22 BuildRequires: perl(feature) ++++++ Modern-Perl-1.20140107.tar.gz -> Modern-Perl-1.20150127.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/Build.PL new/Modern-Perl-1.20150127/Build.PL --- old/Modern-Perl-1.20140107/Build.PL 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/Build.PL 2015-01-27 08:21:54.000000000 +0100 @@ -1,24 +1,25 @@ +# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.020. use strict; use warnings; -use Module::Build 0.3601; +use Module::Build 0.28; my %module_build_args = ( "build_requires" => { - "Module::Build" => "0.3601" + "Module::Build" => "0.28" }, "configure_requires" => { - "ExtUtils::MakeMaker" => "6.30", - "Module::Build" => "0.3601" + "ExtUtils::MakeMaker" => 0, + "Module::Build" => "0.28" }, "dist_abstract" => "enable all of the features of Modern Perl with one import", "dist_author" => [ "chromatic" ], "dist_name" => "Modern-Perl", - "dist_version" => "1.20140107", + "dist_version" => "1.20150127", "license" => "perl", "module_name" => "Modern::Perl", "recommends" => {}, @@ -41,7 +42,7 @@ my %fallback_build_requires = ( - "Module::Build" => "0.3601", + "Module::Build" => "0.28", "Test::More" => "0.98" ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/Changes new/Modern-Perl-1.20150127/Changes --- old/Modern-Perl-1.20140107/Changes 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/Changes 2015-01-27 08:21:54.000000000 +0100 @@ -1,5 +1,9 @@ Revision history for Modern::Perl +1.20150127 2015-01-26 23:21:44-08:00 America/Los_Angeles + - updated for 2015 release (Elmer Quintanilla) + - added support for 5.20 + 1.20140107 2014-01-07 15:35:42 America/Los_Angeles - updated for 2014 release - added support for 5.18 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/LICENSE new/Modern-Perl-1.20150127/LICENSE --- old/Modern-Perl-1.20140107/LICENSE 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/LICENSE 2015-01-27 08:21:54.000000000 +0100 @@ -1,4 +1,4 @@ -This software is copyright (c) 2014 by [email protected]. +This software is copyright (c) 2015 by [email protected]. 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) 2014 by [email protected]. +This software is Copyright (c) 2015 by [email protected]. 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) 2014 by [email protected]. +This software is Copyright (c) 2015 by [email protected]. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/MANIFEST new/Modern-Perl-1.20150127/MANIFEST --- old/Modern-Perl-1.20140107/MANIFEST 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/MANIFEST 2015-01-27 08:21:54.000000000 +0100 @@ -1,3 +1,4 @@ +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.020. Build.PL Changes LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/META.yml new/Modern-Perl-1.20150127/META.yml --- old/Modern-Perl-1.20140107/META.yml 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/META.yml 2015-01-27 08:21:54.000000000 +0100 @@ -3,28 +3,28 @@ author: - chromatic build_requires: - Module::Build: 0.3601 - Test::More: 0.98 + Module::Build: '0.28' + Test::More: '0.98' configure_requires: - ExtUtils::MakeMaker: 6.30 - Module::Build: 0.3601 + ExtUtils::MakeMaker: '0' + Module::Build: '0.28' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.133380' +generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Modern-Perl requires: - IO::File: 0 - IO::Handle: 0 - autodie: 2.22 - feature: 0 - mro: 0 - perl: 5.010 - strict: 0 - warnings: 0 + IO::File: '0' + IO::Handle: '0' + autodie: '2.22' + feature: '0' + mro: '0' + perl: '5.010' + strict: '0' + warnings: '0' resources: homepage: https://github.com/chromatic/Modern-Perl repository: https://github.com/chromatic/Modern-Perl.git -version: 1.20140107 +version: '1.20150127' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/Makefile.PL new/Modern-Perl-1.20150127/Makefile.PL --- old/Modern-Perl-1.20140107/Makefile.PL 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/Makefile.PL 2015-01-27 08:21:54.000000000 +0100 @@ -1,10 +1,11 @@ +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020. use strict; use warnings; use 5.010; -use ExtUtils::MakeMaker 6.30; +use ExtUtils::MakeMaker ; @@ -12,11 +13,11 @@ "ABSTRACT" => "enable all of the features of Modern Perl with one import", "AUTHOR" => "chromatic", "BUILD_REQUIRES" => { - "Module::Build" => "0.3601" + "Module::Build" => "0.28" }, "CONFIGURE_REQUIRES" => { - "ExtUtils::MakeMaker" => "6.30", - "Module::Build" => "0.3601" + "ExtUtils::MakeMaker" => 0, + "Module::Build" => "0.28" }, "DISTNAME" => "Modern-Perl", "EXE_FILES" => [], @@ -34,7 +35,7 @@ "TEST_REQUIRES" => { "Test::More" => "0.98" }, - "VERSION" => "1.20140107", + "VERSION" => "1.20150127", "test" => { "TESTS" => "t/*.t" } @@ -44,7 +45,7 @@ my %FallbackPrereqs = ( "IO::File" => 0, "IO::Handle" => 0, - "Module::Build" => "0.3601", + "Module::Build" => "0.28", "Test::More" => "0.98", "autodie" => "2.22", "feature" => 0, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/README new/Modern-Perl-1.20150127/README --- old/Modern-Perl-1.20140107/README 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/README 2015-01-27 08:21:54.000000000 +0100 @@ -40,7 +40,7 @@ COPYRIGHT AND LICENCE -Copyright (C) 2009 chromatic +Copyright (C) 2009-2015 chromatic This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/dist.ini new/Modern-Perl-1.20150127/dist.ini --- old/Modern-Perl-1.20140107/dist.ini 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/dist.ini 2015-01-27 08:21:54.000000000 +0100 @@ -2,7 +2,7 @@ author = chromatic license = Perl_5 copyright_holder = [email protected] -copyright_year = 2014 +copyright_year = 2015 [AutoVersion] format = {{ cldr('1.yyyyMMdd') }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/lib/Modern/Perl.pm new/Modern-Perl-1.20150127/lib/Modern/Perl.pm --- old/Modern-Perl-1.20140107/lib/Modern/Perl.pm 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/lib/Modern/Perl.pm 2015-01-27 08:21:54.000000000 +0100 @@ -1,9 +1,6 @@ package Modern::Perl; -{ - $Modern::Perl::VERSION = '1.20140107'; -} # ABSTRACT: enable all of the features of Modern Perl with one import - +$Modern::Perl::VERSION = '1.20150127'; use 5.010_000; use strict; @@ -59,6 +56,7 @@ 2012 => ':5.14', 2013 => ':5.16', 2014 => ':5.18', + 2015 => ':5.20', ); sub validate_date @@ -93,7 +91,7 @@ =head1 VERSION -version 1.20140107 +version 1.20150127 =head1 SYNOPSIS @@ -144,7 +142,13 @@ use Modern::Perl '2014'; -... enables 5.18 features. Obviously you cannot use newer features on earlier +... enables 5.18 features, and: + + use Modern::Perl '2015'; + +... enables 5.20 features. + +Obviously you cannot use newer features on earlier versions. Perl will throw the appropriate exception if you try. By mid-2014, this module will drop support for 5.10 and 5.12 and will complain @@ -215,7 +219,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by [email protected]. +This software is copyright (c) 2015 by [email protected]. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20140107/t/year_imports.t new/Modern-Perl-1.20150127/t/year_imports.t --- old/Modern-Perl-1.20140107/t/year_imports.t 2014-01-08 00:35:44.000000000 +0100 +++ new/Modern-Perl-1.20150127/t/year_imports.t 2015-01-27 08:21:54.000000000 +0100 @@ -131,6 +131,32 @@ is $@, '', 'this block should succeed'; } +if ($] >= 5.020) +{ + eval q{ + use Modern::Perl '2015'; + eval 'sub { given (0) {} }'; + is $@, '', q|use Modern::Perl '2015' enables switch|; + eval 'sub { say 0 }'; + is $@, '', q|use Modern::Perl '2015' enables say|; + eval 'state $x'; + is $@, '', q|use Modern::Perl '2015' enables state|; + is uc "\xdf", "SS", '2015 enables unicode_strings'; + eval 'sub { return __SUB__ }'; + is $@, '', q|use Modern::Perl '2015' enables current_sub|; + my $warning = ''; + local $SIG{__WARN__} = sub { $warning = shift }; + eval '$[ = 10'; + like $warning, qr/Use of assignment to \$\[ is deprecated/, + q|use Modern::Perl '2015' disables array_base|; + eval 'fc("tschü¼Ã")eq fc("TSCHÃS")'; + is $@, '', q|use Modern::Perl '2015' enables fc|; + eval 'my sub foo {}'; + isnt $@, '', q|use Modern::Perl '2015' does not enable lexical subs|; + }; + is $@, '', 'this block should succeed'; +} + eval 'sub { given (0) {} }'; isnt $@, "", 'switch feature does not leak out'; eval 'sub { say 0 }'; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
