Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-experimental for openSUSE:Factory checked in at 2022-02-15 23:57:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-experimental (Old) and /work/SRC/openSUSE:Factory/.perl-experimental.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-experimental" Tue Feb 15 23:57:44 2022 rev:13 rq:955051 version:0.027 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-experimental/perl-experimental.changes 2021-08-03 22:49:20.184453761 +0200 +++ /work/SRC/openSUSE:Factory/.perl-experimental.new.1956/perl-experimental.changes 2022-02-15 23:58:10.208359944 +0100 @@ -1,0 +2,15 @@ +Wed Feb 9 03:08:32 UTC 2022 - Tina M??ller <timueller+p...@suse.de> + +- updated to 0.027 + see /usr/share/doc/packages/perl-experimental/Changes + + 0.027 2022-02-08 18:41:07+01:00 Europe/Amsterdam + - Update documented list of experiments + + 0.026 2022-02-08 14:41:02+01:00 Europe/Amsterdam + - Added defer experiment + - Added for_list experiment + - Added builtin experiment + - args_array_with_signatures + +------------------------------------------------------------------- Old: ---- experimental-0.025.tar.gz New: ---- experimental-0.027.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-experimental.spec ++++++ --- /var/tmp/diff_new_pack.3PyXlo/_old 2022-02-15 23:58:10.656361181 +0100 +++ /var/tmp/diff_new_pack.3PyXlo/_new 2022-02-15 23:58:10.664361203 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-experimental # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,10 +18,10 @@ %define cpan_name experimental Name: perl-experimental -Version: 0.025 +Version: 0.027 Release: 0 -Summary: Experimental features made easy License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Experimental features made easy URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml @@ -50,90 +50,6 @@ use experimental 'feature-name'; -To disable the feature and, if applicable, re-enable any warnings, use: - - no experimental 'feature-name'; - -The supported features, documented further below, are: - -* * 'array_base' - allow the use of '$[' to change the starting index of - '@array'. - -This is supported on all versions of perl. - -* * 'autoderef' - allow push, each, keys, and other built-ins on - references. - -This was added in perl 5.14.0 and removed in perl 5.23.1. - -* * 'bitwise' - allow the new stringwise bit operators - -This was added in perl 5.22.0. - -* * 'const_attr' - allow the :const attribute on subs - -This was added in perl 5.22.0. - -* * 'declared_refs' - enables aliasing via assignment to references - -This was added in perl 5.26.0. - -* * 'isa' - allow the use of the 'isa' infix operator - -This was added in perl 5.32.0. - -* * 'lexical_topic' - allow the use of lexical '$_' via 'my $_'. - -This was added in perl 5.10.0 and removed in perl 5.23.4. - -* * 'lexical_subs' - allow the use of lexical subroutines. - -This was added in 5.18.0. - -* * 'postderef' - allow the use of postfix dereferencing expressions - -This was added in perl 5.20.0, and became non-experimental (and always -enabled) in 5.24.0. - -* * 'postderef_qq' - allow the use of postfix dereferencing expressions - inside interpolating strings - -This was added in perl 5.20.0, and became non-experimental (and always -enabled) in 5.24.0. - -* * 're_strict' - enables strict mode in regular expressions - -This was added in perl 5.22.0. - -* * 'refaliasing' - allow aliasing via '\$x = \$y' - -This was added in perl 5.22.0. - -* * 'regex_sets' - allow extended bracketed character classes in regexps - -This was added in perl 5.18.0. - -* * 'signatures' - allow subroutine signatures (for named arguments) - -This was added in perl 5.20.0. - -* * 'smartmatch' - allow the use of '~~' - -This was added in perl 5.10.0, but it should be noted there are significant -incompatibilities between 5.10.0 and 5.10.1. - -* * 'switch' - allow the use of '~~', given, and when - -This was added in perl 5.10.0. - -* * 'try' - allow the use of 'try' and 'catch' - -This was added in perl 5.34.0 - -* * 'win32_perlio' - allows the use of the :win32 IO layer. - -This was added on perl 5.22.0. - %prep %autosetup -n %{cpan_name}-%{version} ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.3PyXlo/_old 2022-02-15 23:58:10.704361314 +0100 +++ /var/tmp/diff_new_pack.3PyXlo/_new 2022-02-15 23:58:10.708361325 +0100 @@ -1,5 +1,5 @@ --- -#description_paragraphs: 3 +description_paragraphs: 4 #no_testing: broken upstream #sources: # - source1 ++++++ experimental-0.025.tar.gz -> experimental-0.027.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/experimental-0.025/Changes new/experimental-0.027/Changes --- old/experimental-0.025/Changes 2021-07-30 14:41:40.000000000 +0200 +++ new/experimental-0.027/Changes 2022-02-08 18:41:08.000000000 +0100 @@ -1,5 +1,14 @@ Revision history for experimental +0.027 2022-02-08 18:41:07+01:00 Europe/Amsterdam + - Update documented list of experiments + +0.026 2022-02-08 14:41:02+01:00 Europe/Amsterdam + - Added defer experiment + - Added for_list experiment + - Added builtin experiment + - args_array_with_signatures + 0.025 2021-07-30 14:41:39+02:00 Europe/Amsterdam - Add missing documentation for try diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/experimental-0.025/LICENSE new/experimental-0.027/LICENSE --- old/experimental-0.025/LICENSE 2021-07-30 14:41:40.000000000 +0200 +++ new/experimental-0.027/LICENSE 2022-02-08 18:41:08.000000000 +0100 @@ -292,21 +292,21 @@ - "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through - textual modification. + textual modification. - "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright - Holder. + Holder. - "Copyright Holder" is whoever is named in the copyright or copyrights for - the package. + the package. - "You" is you, if you're thinking about copying or distributing this Package. - "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the - computing community at large as a market that must bear the fee.) + computing community at large as a market that must bear the fee.) - "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they - received it. + received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you @@ -373,7 +373,7 @@ 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/experimental-0.025/MANIFEST new/experimental-0.027/MANIFEST --- old/experimental-0.025/MANIFEST 2021-07-30 14:41:40.000000000 +0200 +++ new/experimental-0.027/MANIFEST 2022-02-08 18:41:08.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.020. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024. Changes INSTALL LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/experimental-0.025/META.json new/experimental-0.027/META.json --- old/experimental-0.025/META.json 2021-07-30 14:41:40.000000000 +0200 +++ new/experimental-0.027/META.json 2022-02-08 18:41:08.000000000 +0100 @@ -4,7 +4,7 @@ "Leon Timmermans <le...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.020, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -45,7 +45,7 @@ "provides" : { "experimental" : { "file" : "lib/experimental.pm", - "version" : "0.025" + "version" : "0.027" } }, "release_status" : "stable", @@ -60,7 +60,7 @@ "web" : "https://github.com/Dual-Life/experimental" } }, - "version" : "0.025", + "version" : "0.027", "x_contributors" : [ "brian greenfield <0bria...@gmail.com>", "Dagfinn Ilmari Manns\u00e5ker <ilm...@ilmari.org>", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/experimental-0.025/META.yml new/experimental-0.027/META.yml --- old/experimental-0.025/META.yml 2021-07-30 14:41:40.000000000 +0200 +++ new/experimental-0.027/META.yml 2022-02-08 18:41:08.000000000 +0100 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.020, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -16,7 +16,7 @@ provides: experimental: file: lib/experimental.pm - version: '0.025' + version: '0.027' requires: Carp: '0' strict: '0' @@ -25,7 +25,7 @@ resources: bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=experimental repository: git://github.com/Dual-Life/experimental.git -version: '0.025' +version: '0.027' x_contributors: - 'brian greenfield <0bria...@gmail.com>' - 'Dagfinn Ilmari Manns??ker <ilm...@ilmari.org>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/experimental-0.025/Makefile.PL new/experimental-0.027/Makefile.PL --- old/experimental-0.025/Makefile.PL 2021-07-30 14:41:40.000000000 +0200 +++ new/experimental-0.027/Makefile.PL 2022-02-08 18:41:08.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.020. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.024. use strict; use warnings; @@ -24,7 +24,7 @@ "TEST_REQUIRES" => { "Test::More" => "0.89" }, - "VERSION" => "0.025", + "VERSION" => "0.027", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/experimental-0.025/README new/experimental-0.027/README --- old/experimental-0.025/README 2021-07-30 14:41:40.000000000 +0200 +++ new/experimental-0.027/README 2022-02-08 18:41:08.000000000 +0100 @@ -1,5 +1,5 @@ This archive contains the distribution experimental, -version 0.025: +version 0.027: Experimental features made easy @@ -9,4 +9,4 @@ the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v6.020. +This README file was generated by Dist::Zilla::Plugin::Readme v6.024. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/experimental-0.025/lib/experimental.pm new/experimental-0.027/lib/experimental.pm --- old/experimental-0.025/lib/experimental.pm 2021-07-30 14:41:40.000000000 +0200 +++ new/experimental-0.027/lib/experimental.pm 2022-02-08 18:41:08.000000000 +0100 @@ -1,5 +1,5 @@ package experimental; -$experimental::VERSION = '0.025'; +$experimental::VERSION = '0.027'; use strict; use warnings; use version (); @@ -18,14 +18,18 @@ }; my %min_version = ( + args_array_with_signatures => '5.20.0', array_base => '5', autoderef => '5.14.0', bitwise => '5.22.0', + builtin => '5.35.7', const_attr => '5.22.0', current_sub => '5.16.0', declared_refs => '5.26.0', + defer => '5.35.4', evalbytes => '5.16.0', fc => '5.16.0', + for_list => '5.35.5', isa => '5.31.7', lexical_topic => '5.10.0', lexical_subs => '5.18.0', @@ -43,9 +47,9 @@ unicode_strings => '5.12.0', ); my %removed_in_version = ( - array_base => '5.29.4', - autoderef => '5.23.1', - lexical_topic => '5.23.4', + array_base => '5.30.0', + autoderef => '5.24.0', + lexical_topic => '5.24.0', ); $_ = version->new($_) for values %min_version; @@ -72,12 +76,8 @@ croak "Can't enable unknown feature $pragma"; } elsif ($] < $min_version{$pragma}) { - my $stable = $min_version{$pragma}; - if ($stable->{version}[1] % 2) { - $stable = version->new( - "5.".($stable->{version}[1]+1).'.0' - ); - } + my $stable = $min_version{$pragma}->stringify; + $stable =~ s/^ 5\. ([0-9]?[13579]) \. \d+ $/"5." . ($1 + 1) . ".0"/xe; croak "Need perl $stable or later for feature $pragma"; } elsif ($] >= ($removed_in_version{$pragma} || 7)) { @@ -135,12 +135,12 @@ =head1 VERSION -version 0.025 +version 0.027 =head1 SYNOPSIS - use experimental 'lexical_subs', 'smartmatch'; - my sub foo { $_[0] ~~ 1 } + use experimental 'lexical_subs', 'signatures'; + my sub plus_one($value) { $value + 1 } =head1 DESCRIPTION @@ -168,18 +168,26 @@ =over 4 +=item * C<args_array_with_signatures> - allow C<@_> to be used in signatured subs. + +This is supported on perl 5.20.0 and above, but is likely to be removed in the future. + =item * C<array_base> - allow the use of C<$[> to change the starting index of C<@array>. -This is supported on all versions of perl. +This was removed in perl 5.30.0. =item * C<autoderef> - allow push, each, keys, and other built-ins on references. -This was added in perl 5.14.0 and removed in perl 5.23.1. +This was added in perl 5.14.0 and removed in perl 5.24.0. =item * C<bitwise> - allow the new stringwise bit operators This was added in perl 5.22.0. +=item * C<builtin> - allow the use of the functions in the builtin:: namespace + +This was added in perl 5.36.0 + =item * C<const_attr> - allow the :const attribute on subs This was added in perl 5.22.0. @@ -188,13 +196,21 @@ This was added in perl 5.26.0. +=item * C<defer> - enables the use of defer blocks + +This was added in perl 5.36.0 + +=item * C<for_list> - allows iterating over multiple values at a time with C<for> + +This was added in perl 5.36.0 + =item * C<isa> - allow the use of the C<isa> infix operator This was added in perl 5.32.0. =item * C<lexical_topic> - allow the use of lexical C<$_> via C<my $_>. -This was added in perl 5.10.0 and removed in perl 5.23.4. +This was added in perl 5.10.0 and removed in perl 5.24.0. =item * C<lexical_subs> - allow the use of lexical subroutines.