commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2018-01-25 12:35:54 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Thu Jan 25 12:35:54 2018 rev:25 rq:568489 version:0.30 Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2017-01-11 11:56:28.475934097 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2018-01-25 12:35:55.355598889 +0100 @@ -1,0 +2,19 @@ +Tue Jan 23 07:18:07 UTC 2018 - co...@suse.com + +- updated to 0.30 + see /usr/share/doc/packages/perl-Try-Tiny/Changes + + 0.30 2017-12-21 07:23:03Z +- expand "when" test skippage to more perl versions + +--- +Tue Dec 19 07:06:08 UTC 2017 - co...@suse.com + +- updated to 0.29 + see /usr/share/doc/packages/perl-Try-Tiny/Changes + + 0.29 2017-12-19 03:51:26Z +- skip tests of "when" and "given/when" usage for perl 5.27.7 *only* (see + RT#123908) + +--- Old: Try-Tiny-0.28.tar.gz New: Try-Tiny-0.30.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.r80JTk/_old 2018-01-25 12:35:55.955570880 +0100 +++ /var/tmp/diff_new_pack.r80JTk/_new 2018-01-25 12:35:55.959570693 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Try-Tiny # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,14 +17,14 @@ Name: perl-Try-Tiny -Version:0.28 +Version:0.30 Release:0 %define cpan_name Try-Tiny Summary:Minimal try/catch with proper preservation of $@ License:MIT Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/Try-Tiny/ -Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz Source1:cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ Try-Tiny-0.28.tar.gz -> Try-Tiny-0.30.tar.gz ++ 2139 lines of diff (skipped)
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2016-08-22 10:49:27 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2015-12-16 17:42:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2016-08-22 10:49:29.0 +0200 @@ -1,0 +2,20 @@ +Tue Aug 16 06:02:06 UTC 2016 - co...@suse.com + +- updated to 0.27 + see /usr/share/doc/packages/perl-Try-Tiny/Changes + + 0.27 2016-08-16 01:43:35Z +- repository moved to the github p5sagit organization (the primary is on + shadowcat, mirrored to github) +- no changes since 0.26 + + 0.26 2016-03-15 23:42:02Z (TRIAL RELEASE) +- switch from finalizers using an array to a hash, to resolve segfaults when + creating a pseudofork on MSWin before perl 5.20 (Graham Knop, + karenetheridge/Sub-Name/#3) + + 0.25 2016-02-22 20:16:51Z (TRIAL RELEASE) +- "finally" blocks are now run for all methods of leaving the try block + (including via exit, goto) (Lukas Mai, RT#112099) + +--- Old: Try-Tiny-0.24.tar.gz New: Try-Tiny-0.27.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.AuWFz3/_old 2016-08-22 10:49:30.0 +0200 +++ /var/tmp/diff_new_pack.AuWFz3/_new 2016-08-22 10:49:30.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Try-Tiny # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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-Try-Tiny -Version:0.24 +Version:0.27 Release:0 %define cpan_name Try-Tiny Summary:Minimal Try/Catch with Proper Preservation of $@ @@ -30,6 +30,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Module::Metadata) %{perl_requires} %description ++ Try-Tiny-0.24.tar.gz -> Try-Tiny-0.27.tar.gz ++ 2847 lines of diff (skipped)
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2015-12-16 17:42:40 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2014-07-24 06:59:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2015-12-16 17:42:47.0 +0100 @@ -1,0 +2,16 @@ +Fri Dec 11 10:21:11 UTC 2015 - co...@suse.com + +- updated to 0.24 + see /usr/share/doc/packages/perl-Try-Tiny/Changes + + 0.24 2015-12-11 05:20:09Z +- fix prereq errors in 0.23 + + 0.23 2015-12-11 04:04:35Z +- fix syntax of example code (Rudolf Leermakers, PR#22) +- 'perl' removed from prerequisite recommendations, to avoid tripping up + CPAN clients (Graham Knop) +- Sub::Util is used preferentially to Sub::Name in most cases (Graham Knop, + PR#27) + +--- Old: Try-Tiny-0.22.tar.gz New: Try-Tiny-0.24.tar.gz cpanspec.yml Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.8P6wmo/_old 2015-12-16 17:42:48.0 +0100 +++ /var/tmp/diff_new_pack.8P6wmo/_new 2015-12-16 17:42:48.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Try-Tiny # -# 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,44 +17,41 @@ Name: perl-Try-Tiny -Version:0.22 +Version:0.24 Release:0 %define cpan_name Try-Tiny -Summary:Minimal try/catch with proper preservation of $@ +Summary:Minimal Try/Catch with Proper Preservation of $@ License:MIT Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/Try-Tiny/ -Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz +Source1:cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Capture::Tiny) -BuildRequires: perl(Sub::Name) -BuildRequires: perl(Test::More) >= 0.88 %{perl_requires} %description This module provides bare bones 'try'/'catch'/'finally' statements that are designed to minimize common mistakes with eval blocks, and NOTHING else. -This is unlike the TryCatch manpage which provides a nice syntax and avoids -adding another call stack layer, and supports calling 'return' from the -'try' block to return from the parent subroutine. These extra features come -at a cost of a few dependencies, namely the Devel::Declare manpage and the -Scope::Upper manpage which are occasionally problematic, and the additional -catch filtering uses the Moose manpage type constraints which may not be -desirable either. +This is unlike TryCatch which provides a nice syntax and avoids adding +another call stack layer, and supports calling 'return' from the 'try' +block to return from the parent subroutine. These extra features come at a +cost of a few dependencies, namely Devel::Declare and Scope::Upper which +are occasionally problematic, and the additional catch filtering uses Moose +type constraints which may not be desirable either. The main focus of this module is to provide simple and reliable error -handling for those having a hard time installing the TryCatch manpage, but -who still want to write correct 'eval' blocks without 5 lines of -boilerplate each time. +handling for those having a hard time installing TryCatch, but who still +want to write correct 'eval' blocks without 5 lines of boilerplate each +time. It's designed to work as correctly as possible in light of the various -pathological edge cases (see the /BACKGROUND manpage) and to be compatible -with any style of error values (simple strings, references, objects, -overloaded objects, etc). +pathological edge cases (see BACKGROUND) and to be compatible with any +style of error values (simple strings, references, objects, overloaded +objects, etc). If the 'try' block dies, it returns the value of the last statement executed in the 'catch' block, if there is one. Otherwise, it returns @@ -62,8 +59,8 @@ examples all assign '"bar"' to '$x': my $x = try { die "foo" } catch { "bar" }; - my $x = try { die "foo" } || { "bar" }; - my $x
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2014-07-24 06:58:57 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2014-04-23 17:32:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2014-07-24 06:59:02.0 +0200 @@ -1,0 +2,5 @@ +Wed Jul 23 21:32:47 UTC 2014 - mar...@gmx.de + +- updated to 0.22 + +--- Old: Try-Tiny-0.21.tar.gz New: Try-Tiny-0.22.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.ZRRM7T/_old 2014-07-24 06:59:03.0 +0200 +++ /var/tmp/diff_new_pack.ZRRM7T/_new 2014-07-24 06:59:03.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Try-Tiny -Version:0.21 +Version:0.22 Release:0 %define cpan_name Try-Tiny Summary:Minimal try/catch with proper preservation of $@ @@ -29,6 +29,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Capture::Tiny) +BuildRequires: perl(Sub::Name) BuildRequires: perl(Test::More) >= 0.88 %{perl_requires} ++ Try-Tiny-0.21.tar.gz -> Try-Tiny-0.22.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.21/Changes new/Try-Tiny-0.22/Changes --- old/Try-Tiny-0.21/Changes 2014-04-15 15:46:31.0 +0200 +++ new/Try-Tiny-0.22/Changes 2014-04-29 21:39:41.0 +0200 @@ -1,5 +1,8 @@ Revision history for Try-Tiny +0.22 2014-04-29 + - add optional test deps as recommended prereqs (Karen Etheridge, #18) + 0.21 2014-04-15 - also skip the test if Capture::Tiny is too old (Martin Popel, #17) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.21/META.json new/Try-Tiny-0.22/META.json --- old/Try-Tiny-0.21/META.json 2014-04-15 15:46:31.0 +0200 +++ new/Try-Tiny-0.22/META.json 2014-04-29 21:39:41.0 +0200 @@ -41,7 +41,9 @@ }, "test" : { "recommends" : { -"Capture::Tiny" : "0.12" +"Capture::Tiny" : "0.12", +"Sub::Name" : "0", +"perl" : "5.010" }, "requires" : { "File::Spec" : "0", @@ -55,7 +57,7 @@ "provides" : { "Try::Tiny" : { "file" : "lib/Try/Tiny.pm", - "version" : "0.21" + "version" : "0.22" } }, "release_status" : "stable", @@ -70,7 +72,7 @@ "web" : "https://github.com/doy/try-tiny"; } }, - "version" : "0.21", + "version" : "0.22", "x_Dist_Zilla" : { "perl" : { "version" : "5.018002" @@ -199,12 +201,13 @@ ":InstallModules" ], "script_finder" : [ - ":ExecFiles" + ":ExecFiles", + ":TestFiles" ] } }, "name" : "@DOY/NoTabsTests", -"version" : "0.06" +"version" : "0.07" }, { "class" : "Dist::Zilla::Plugin::EOLTests", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.21/META.yml new/Try-Tiny-0.22/META.yml --- old/Try-Tiny-0.21/META.yml 2014-04-15 15:46:31.0 +0200 +++ new/Try-Tiny-0.22/META.yml 2014-04-29 21:39:41.0 +0200 @@ -21,7 +21,7 @@ provides: Try::Tiny: file: lib/Try/Tiny.pm -version: '0.21' +version: '0.22' requires: Carp: '0' Exporter: '5.57' @@ -33,7 +33,7 @@ bugtracker: https://github.com/doy/try-tiny/issues homepage: http://metacpan.org/release/Try-Tiny repository: git://github.com/doy/try-tiny.git -version: '0.21' +version: '0.22' x_Dist_Zilla: perl: version: '5.018002' @@ -136,8 +136,9 @@ - ':InstallModules' script_finder: - ':ExecFiles' +- ':TestFiles' name: '@DOY/NoTabsTests' - version: '0.06' + version: '0.07' - class: Dist::Zilla::Plugin::EOLTests name: '@DOY/EOLTests' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.21/Makefile.PL new/Try-Tiny-0.22/Makefile.PL --- old/Try-Tiny-0.21/Makefile.PL 2014-04-15 15:46:31.0 +0200 +++ new/Try-Tiny-0.22/Makefile.PL 2014-04-29 21:39:41.0 +0200 @@ -34,7 +34,7 @@ "Test::More" => 0,
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2014-04-23 17:32:48 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2014-02-12 07:07:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2014-04-23 17:32:49.0 +0200 @@ -1,0 +2,10 @@ +Mon Apr 21 20:24:52 UTC 2014 - mar...@gmx.de + +- updated to 0.21 + - 0.21 2014-04-15 +- also skip the test if Capture::Tiny is too old (Martin Popel, #17) + + - 0.20 2014-03-21 +- documentation updates (Flimm, #15) + +--- Old: Try-Tiny-0.19.tar.gz New: Try-Tiny-0.21.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.nRcSfJ/_old 2014-04-23 17:32:50.0 +0200 +++ /var/tmp/diff_new_pack.nRcSfJ/_new 2014-04-23 17:32:50.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Try-Tiny -Version:0.19 +Version:0.21 Release:0 %define cpan_name Try-Tiny Summary:Minimal try/catch with proper preservation of $@ ++ Try-Tiny-0.19.tar.gz -> Try-Tiny-0.21.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.19/Changes new/Try-Tiny-0.21/Changes --- old/Try-Tiny-0.19/Changes 2014-01-23 02:52:39.0 +0100 +++ new/Try-Tiny-0.21/Changes 2014-04-15 15:46:31.0 +0200 @@ -1,5 +1,11 @@ Revision history for Try-Tiny +0.21 2014-04-15 + - also skip the test if Capture::Tiny is too old (Martin Popel, #17) + +0.20 2014-03-21 + - documentation updates (Flimm, #15) + 0.19 2014-01-22 - fix an obscure issue with loading modules during global destruction (ilmari, #11) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.19/MANIFEST new/Try-Tiny-0.21/MANIFEST --- old/Try-Tiny-0.19/MANIFEST 2014-01-23 02:52:39.0 +0100 +++ new/Try-Tiny-0.21/MANIFEST 2014-04-15 15:46:31.0 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.012. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.014. Changes LICENSE MANIFEST diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.19/META.json new/Try-Tiny-0.21/META.json --- old/Try-Tiny-0.19/META.json 2014-01-23 02:52:39.0 +0100 +++ new/Try-Tiny-0.21/META.json 2014-04-15 15:46:31.0 +0200 @@ -5,7 +5,7 @@ "Jesse Luehrs " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.120921", + "generated_by" : "Dist::Zilla version 5.014, CPAN::Meta::Converter version 2.140640", "license" : [ "mit" ], @@ -23,6 +23,8 @@ "develop" : { "requires" : { "Pod::Coverage::TrustPod" : "0", +"Test::More" : "0", +"Test::NoTabs" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08" } @@ -45,7 +47,7 @@ "File::Spec" : "0", "IO::Handle" : "0", "IPC::Open3" : "0", -"Test::More" : "0.88", +"Test::More" : "0", "if" : "0" } } @@ -53,7 +55,7 @@ "provides" : { "Try::Tiny" : { "file" : "lib/Try/Tiny.pm", - "version" : "0.19" + "version" : "0.21" } }, "release_status" : "stable", @@ -68,91 +70,101 @@ "web" : "https://github.com/doy/try-tiny"; } }, - "version" : "0.19", + "version" : "0.21", "x_Dist_Zilla" : { "perl" : { - "version" : "5.018001" + "version" : "5.018002" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::GatherDir", "name" : "@DOY/GatherDir", -"version" : "5.012" +"version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@DOY/PruneCruft", -"version" : "5.012" +"version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@DOY/ManifestSkip", -"version" : "5.012" +"version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@DOY/MetaYAML", -"version" : "5.012" +"version" : "5.014"
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2014-02-12 07:07:25 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2014-01-23 15:52:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2014-02-12 07:07:26.0 +0100 @@ -1,0 +2,8 @@ +Sun Feb 9 13:34:21 UTC 2014 - co...@suse.com + +- updated to 0.19 + - fix an obscure issue with loading modules during global destruction +(ilmari, #11) + - documentation updates (anaxagoras, #12) + +--- Old: Try-Tiny-0.18.tar.gz New: Try-Tiny-0.19.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.f2D6tI/_old 2014-02-12 07:07:27.0 +0100 +++ /var/tmp/diff_new_pack.f2D6tI/_new 2014-02-12 07:07:27.0 +0100 @@ -17,21 +17,19 @@ Name: perl-Try-Tiny -Version:0.18 +Version:0.19 Release:0 %define cpan_name Try-Tiny Summary:Minimal try/catch with proper preservation of $@ License:MIT Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/Try-Tiny/ -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -#BuildRequires: perl(Benchmark::Dumb) -#BuildRequires: perl(Sub::Name) -#BuildRequires: perl(Try::Tiny) +BuildRequires: perl(Test::More) >= 0.88 %{perl_requires} %description ++ Try-Tiny-0.18.tar.gz -> Try-Tiny-0.19.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.18/Changes new/Try-Tiny-0.19/Changes --- old/Try-Tiny-0.18/Changes 2013-08-17 20:33:18.0 +0200 +++ new/Try-Tiny-0.19/Changes 2014-01-23 02:52:39.0 +0100 @@ -1,5 +1,10 @@ Revision history for Try-Tiny +0.19 2014-01-22 + - fix an obscure issue with loading modules during global destruction +(ilmari, #11) + - documentation updates (anaxagoras, #12) + 0.18 2013-08-17 - fix tests for pre-Test-More-0.88 (Paul Howarth, #10) @@ -29,47 +34,47 @@ - warn loudly on exceptions in finally() blocks - dzilify -0.12 +0.12 2013-01-02 - doc fixes -0.11 +0.11 2011-08-30 - fix broken dist -0.10 +0.10 2011-04-27 - clarify some docs -0.09 +0.09 2010-11-28 - don't index Try::Tiny::ScopeGuard -0.08 +0.08 2010-11-28 - fix require vs use issue in blead (RT63410) -0.07 +0.07 2010-10-21 - allow multiple finally blocks - pass the error, if any, to finally blocks when called -0.06 +0.06 2010-05-27 - in t/given_when.t use a plan instead of done_testing for more backwards compatibility -0.05 +0.05 2010-05-26 - Documentation fixes and clarifications -0.04 +0.04 2010-01-22 - Restore list context propagation for catch blocks - Fix a bug where finally blocks weren't always invoked -0.03 +0.03 2010-01-22 - Support for 'finally' blocks (Andy Yates) - More documentation and tests (many people) - Sets $@ to the previous value at the beginning of the eval, to allow the capture of an error stack when calling die. -0.02 +0.02 2009-09-02 - Doc fixes from chromatic - Various minor fixes from Adam Kennedy - Additional documentation and code clarifications - 5.005_04 compatibility -0.01 +0.01 2009-08-31 - Initial release diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.18/LICENSE new/Try-Tiny-0.19/LICENSE --- old/Try-Tiny-0.18/LICENSE 2013-08-17 20:33:18.0 +0200 +++ new/Try-Tiny-0.19/LICENSE 2014-01-23 02:52:39.0 +0100 @@ -1,4 +1,4 @@ -This software is Copyright (c) 2013 by Yuval Kogman. +This software is Copyright (c) 2014 by Yuval Kogman. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.18/MANIFEST new/Try-Tiny-0.19/MANIFEST --- old/Try-Tiny-0.18/MANIFEST 2013-08-17 20:33:18.0 +0200 +++ new/Try-Tiny-0.19/MANIFEST 2014-01-23 02:52:39.0 +0100 @@ -1,3 +1,4 @@ +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.012. Changes LICENSE MANIFEST @@ -15,6 +16,8 @@ t/finally.t t/given_when.t t/global_destruction_forked.t +t/global_destruction_load.t +t/lib/TryUser.pm t/
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2014-01-22 09:44:32 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2013-07-30 18:48:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2014-01-23 15:52:29.0 +0100 @@ -1,0 +2,8 @@ +Fri Oct 4 09:13:58 UTC 2013 - co...@suse.com + +- updated to 0.18 + - fix tests for pre-Test-More-0.88 (Paul Howarth, #10) + - work around [rt.perl #119311] which was causing incorrect error messages in +some cases during global destruction (Graham Knop, #9) + +--- Old: Try-Tiny-0.16.tar.gz New: Try-Tiny-0.18.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.OIkYnC/_old 2014-01-23 15:52:30.0 +0100 +++ /var/tmp/diff_new_pack.OIkYnC/_new 2014-01-23 15:52:30.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Try-Tiny # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products 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,14 +17,14 @@ Name: perl-Try-Tiny -Version:0.16 +Version:0.18 Release:0 %define cpan_name Try-Tiny -Summary:minimal try/catch with proper preservation of $@ +Summary:Minimal try/catch with proper preservation of $@ License:MIT Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/Try-Tiny/ -Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl ++ Try-Tiny-0.16.tar.gz -> Try-Tiny-0.18.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.16/Changes new/Try-Tiny-0.18/Changes --- old/Try-Tiny-0.16/Changes 2013-07-10 17:50:18.0 +0200 +++ new/Try-Tiny-0.18/Changes 2013-08-17 20:33:18.0 +0200 @@ -1,5 +1,12 @@ Revision history for Try-Tiny +0.18 2013-08-17 + - fix tests for pre-Test-More-0.88 (Paul Howarth, #10) + +0.17 2013-08-16 + - work around [rt.perl #119311] which was causing incorrect error messages in +some cases during global destruction (Graham Knop, #9) + 0.16 2013-07-10 - remove accidental Sub::Name test dep diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.16/MANIFEST new/Try-Tiny-0.18/MANIFEST --- old/Try-Tiny-0.16/MANIFEST 2013-07-10 17:50:18.0 +0200 +++ new/Try-Tiny-0.18/MANIFEST 2013-08-17 20:33:18.0 +0200 @@ -14,6 +14,7 @@ t/erroneous_usage.t t/finally.t t/given_when.t +t/global_destruction_forked.t t/named.t t/when.t xt/release/eol.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.16/META.json new/Try-Tiny-0.18/META.json --- old/Try-Tiny-0.16/META.json 2013-07-10 17:50:18.0 +0200 +++ new/Try-Tiny-0.18/META.json 2013-08-17 20:33:18.0 +0200 @@ -59,10 +59,10 @@ "web" : "https://github.com/doy/try-tiny"; } }, - "version" : "0.16", + "version" : "0.18", "x_Dist_Zilla" : { "perl" : { - "version" : "5.018000" + "version" : "5.018001" }, "plugins" : [ { @@ -290,12 +290,14 @@ "Alex ", "Andrew Yates ", "Glenn Fowler ", + "Graham Knop ", "Hans Dieter Pearcey ", "Jonathan Yu ", "Karen Etheridge ", "Marc Mims ", "Mark Fowler ", "Mark Stosberg ", + "Paul Howarth ", "Peter Rabbitson ", "Ricardo Signes ", "chromatic " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.16/META.yml new/Try-Tiny-0.18/META.yml --- old/Try-Tiny-0.16/META.yml 2013-07-10 17:50:18.0 +0200 +++ new/Try-Tiny-0.18/META.yml 2013-08-17 20:33:18.0 +0200 @@ -29,10 +29,10 @@ bugtracker: https://github.com/doy/try-tiny/issues homepage: http://metacpan.org/release/Try-Tiny repository: git://github.com/doy/try-tiny.git -version: 0.16 +version: 0.18 x_Dist_Zilla: perl: -version: 5.018000 +version: 5.018001 plugins: - class: Dist::Zilla::Pl
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2013-07-30 18:48:26 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2013-06-13 20:25:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2013-07-30 18:48:28.0 +0200 @@ -1,0 +2,19 @@ +Sat Jul 27 11:57:46 UTC 2013 - co...@suse.com + +- updated to 0.16 + - remove accidental Sub::Name test dep + - optionally use Sub::Name to name the try/catch/finally blocks, if available +(Mark Fowler) + - also throw an exception for catch/finally in scalar context (RT#81070) + - fix tests failing on 5.6.x due to differing DESTROY semantics + - excise superfluous local($@) call - 7% speedup + - fix (fsvo) broken URLs (RT#55659) + - proper exception on erroneous usage of bare catch/finally (RT#81070) + - proper exception on erroneous use of multiple catch{} blocks + - clarify exception occuring on unterminated try block (RT#75712) + - fix the prototypes shown in docs to match code (RT#79590; thanks, Pushtaev +Vadim) + - warn loudly on exceptions in finally() blocks + - dzilify + +--- Old: Try-Tiny-0.12.tar.gz New: Try-Tiny-0.16.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.Fd0Ohi/_old 2013-07-30 18:48:29.0 +0200 +++ /var/tmp/diff_new_pack.Fd0Ohi/_new 2013-07-30 18:48:29.0 +0200 @@ -17,10 +17,10 @@ Name: perl-Try-Tiny -Version:0.12 +Version:0.16 Release:0 %define cpan_name Try-Tiny -Summary:Minimal try/catch with proper localization of $@ +Summary:minimal try/catch with proper preservation of $@ License:MIT Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/Try-Tiny/ @@ -29,6 +29,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +#BuildRequires: perl(Benchmark::Dumb) +#BuildRequires: perl(Sub::Name) +#BuildRequires: perl(Try::Tiny) %{perl_requires} %description @@ -91,6 +94,6 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes +%doc Changes LICENSE maint README %changelog ++ Try-Tiny-0.12.tar.gz -> Try-Tiny-0.16.tar.gz ++ 2407 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2013-06-13 20:25:08 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2013-06-06 14:00:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2013-06-13 20:25:09.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 11 09:35:47 UTC 2013 - co...@suse.com + +- rebuild for perl 5.18 + +--- Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at 2013-06-06 14:00:55 Comparing /work/SRC/openSUSE:Factory/perl-Try-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new (New) Package is "perl-Try-Tiny" Changes: --- /work/SRC/openSUSE:Factory/perl-Try-Tiny/perl-Try-Tiny.changes 2011-09-23 12:39:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Try-Tiny.new/perl-Try-Tiny.changes 2013-06-06 14:00:58.0 +0200 @@ -1,0 +2,6 @@ +Tue Jun 4 15:25:34 UTC 2013 - co...@suse.com + +- updated to 0.12 + - doc fixes + +--- Old: Try-Tiny-0.11.tar.gz New: Try-Tiny-0.12.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.h0ZtL4/_old 2013-06-06 14:00:59.0 +0200 +++ /var/tmp/diff_new_pack.h0ZtL4/_new 2013-06-06 14:00:59.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Try-Tiny # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,14 @@ # - Name: perl-Try-Tiny -Version:0.11 -Release:1 -License:MIT +Version:0.12 +Release:0 %define cpan_name Try-Tiny Summary:Minimal try/catch with proper localization of $@ -Url:http://search.cpan.org/dist/Try-Tiny/ +License:MIT Group: Development/Libraries/Perl +Url:http://search.cpan.org/dist/Try-Tiny/ Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -37,9 +36,9 @@ designed to minimize common mistakes with eval blocks, and NOTHING else. This is unlike the TryCatch manpage which provides a nice syntax and avoids -adding another call stack layer, and supports calling 'return' from the try -block to return from the parent subroutine. These extra features come at a -cost of a few dependencies, namely the Devel::Declare manpage and the +adding another call stack layer, and supports calling 'return' from the +'try' block to return from the parent subroutine. These extra features come +at a cost of a few dependencies, namely the Devel::Declare manpage and the Scope::Upper manpage which are occasionally problematic, and the additional catch filtering uses the Moose manpage type constraints which may not be desirable either. @@ -50,28 +49,30 @@ boilerplate each time. It's designed to work as correctly as possible in light of the various -pathological edge cases (see the BACKGROUND manpage) and to be compatible +pathological edge cases (see the /BACKGROUND manpage) and to be compatible with any style of error values (simple strings, references, objects, overloaded objects, etc). -If the try block dies, it returns the value of the last statement executed -in the catch block, if there is one. Otherwise, it returns 'undef' in -scalar context or the empty list in list context. The following two -examples both assign '"bar"' to '$x'. +If the 'try' block dies, it returns the value of the last statement +executed in the 'catch' block, if there is one. Otherwise, it returns +'undef' in scalar context or the empty list in list context. The following +examples all assign '"bar"' to '$x': my $x = try { die "foo" } catch { "bar" }; + my $x = try { die "foo" } || { "bar" }; + my $x = (try { die "foo" }) // { "bar" }; my $x = eval { die "foo" } || "bar"; -You can add finally blocks making the following true. +You can add 'finally' blocks, yielding the following: my $x; try { die 'foo' } finally { $x = 'bar' }; try { die 'foo' } catch { warn "Got a die: $_" } finally { $x = 'bar' }; -Finally blocks are always executed making them suitable for cleanup code -which cannot be handled using local. You can add as many finally blocks to -a given try block as you like. +'finally' blocks are always executed making them suitable for cleanup code +which cannot be handled using local. You can add as many 'finally' blocks +to a given 'try' block as you like. %prep %setup -q -n %{cpan_name}-%{version} ++ Try-Tiny-0.11.tar.gz -> Try-Tiny-0.12.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.11/Changes new/Try-Tiny-0.12/Changes --- old/Try-Tiny-0.11/Changes 2011-08-30 17:50:00.0 +0200 +++ new/Try-Tiny-0.12/Changes 2013-01
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at Mon Sep 19 21:38:39 CEST 2011. --- perl-Try-Tiny/perl-Try-Tiny.changes 2011-05-17 14:14:42.0 +0200 +++ /mounts/work_src_done/STABLE/perl-Try-Tiny/perl-Try-Tiny.changes 2011-09-19 11:10:01.0 +0200 @@ -1,0 +2,7 @@ +Mon Sep 19 09:04:58 UTC 2011 - co...@suse.com + +- updated to 0.11 + - fix broken dist + - clarify some docs + +--- calling whatdependson for head-i586 Old: Try-Tiny-0.09.tar.gz New: Try-Tiny-0.11.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.7SBBQv/_old 2011-09-19 21:38:35.0 +0200 +++ /var/tmp/diff_new_pack.7SBBQv/_new 2011-09-19 21:38:35.0 +0200 @@ -18,11 +18,11 @@ Name: perl-Try-Tiny -Version:0.09 +Version:0.11 Release:1 License:MIT %define cpan_name Try-Tiny -Summary:minimal try/catch with proper localization of $@ +Summary:Minimal try/catch with proper localization of $@ Url:http://search.cpan.org/dist/Try-Tiny/ Group: Development/Libraries/Perl Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz @@ -49,6 +49,30 @@ who still want to write correct 'eval' blocks without 5 lines of boilerplate each time. +It's designed to work as correctly as possible in light of the various +pathological edge cases (see the BACKGROUND manpage) and to be compatible +with any style of error values (simple strings, references, objects, +overloaded objects, etc). + +If the try block dies, it returns the value of the last statement executed +in the catch block, if there is one. Otherwise, it returns 'undef' in +scalar context or the empty list in list context. The following two +examples both assign '"bar"' to '$x'. + + my $x = try { die "foo" } catch { "bar" }; + + my $x = eval { die "foo" } || "bar"; + +You can add finally blocks making the following true. + + my $x; + try { die 'foo' } finally { $x = 'bar' }; + try { die 'foo' } catch { warn "Got a die: $_" } finally { $x = 'bar' }; + +Finally blocks are always executed making them suitable for cleanup code +which cannot be handled using local. You can add as many finally blocks to +a given try block as you like. + %prep %setup -q -n %{cpan_name}-%{version} @@ -64,9 +88,6 @@ %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) %doc Changes ++ Try-Tiny-0.09.tar.gz -> Try-Tiny-0.11.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.09/Changes new/Try-Tiny-0.11/Changes --- old/Try-Tiny-0.09/Changes 2010-11-28 23:41:49.0 +0100 +++ new/Try-Tiny-0.11/Changes 2011-08-30 17:50:00.0 +0200 @@ -1,3 +1,9 @@ +0.11 + - fix broken dist + +0.10 + - clarify some docs + 0.09 - don't index Try::Tiny::ScopeGuard diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.09/MANIFEST new/Try-Tiny-0.11/MANIFEST --- old/Try-Tiny-0.09/MANIFEST 2010-11-28 23:43:37.0 +0100 +++ new/Try-Tiny-0.11/MANIFEST 2011-08-30 17:50:50.0 +0200 @@ -4,6 +4,7 @@ MANIFEST This list of files MANIFEST.SKIP t/basic.t +t/context.t t/finally.t t/given_when.t t/when.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.09/META.yml new/Try-Tiny-0.11/META.yml --- old/Try-Tiny-0.09/META.yml 2010-11-28 23:43:37.0 +0100 +++ new/Try-Tiny-0.11/META.yml 2011-08-30 17:50:50.0 +0200 @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Try-Tiny -version:0.09 +version:0.11 abstract: ~ author: [] license:unknown diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Try-Tiny-0.09/lib/Try/Tiny.pm new/Try-Tiny-0.11/lib/Try/Tiny.pm --- old/Try-Tiny-0.09/lib/Try/Tiny.pm 2010-11-28 23:42:11.0 +0100 +++ new/Try-Tiny-0.11/lib/Try/Tiny.pm 2011-08-30 17:50:14.0 +0200 @@ -10,7 +10,7 @@ @ISA = qw(Exporter); } -$VERSION = "0.09"; +$VERSION = "0.11"; $VERSION = eval $VERSION; @@ -157,6 +157,9 @@ =head1 SYNOPSIS +You can use Try::Tiny's C and C to expect and handle exceptional +conditions, avoiding quirks in Perl and common mistakes: + # handle errors with a catch handler try { die "foo"; @@ -164,6 +167,10 @@ warn "caught error: $_"; # not $@ }; +You can also use it like a stanalone C to catch and ignore any error +conditions. Obviously, this is an extreme measure not to be underta
commit perl-Try-Tiny for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at Wed May 18 11:50:14 CEST 2011. --- perl-Try-Tiny/perl-Try-Tiny.changes 2010-11-30 20:29:27.0 +0100 +++ /mounts/work_src_done/STABLE/perl-Try-Tiny/perl-Try-Tiny.changes 2011-05-17 14:14:42.0 +0200 @@ -1,0 +2,7 @@ +Tue May 17 12:12:23 UTC 2011 - co...@opensuse.org + +- updated to 0.09 + - don't index Try::Tiny::ScopeGuard + - fix require vs use issue in blead (RT63410) + +--- calling whatdependson for head-i586 Old: Try-Tiny-0.07.tar.bz2 New: Try-Tiny-0.09.tar.gz Other differences: -- ++ perl-Try-Tiny.spec ++ --- /var/tmp/diff_new_pack.qPJ7H2/_old 2011-05-18 11:49:39.0 +0200 +++ /var/tmp/diff_new_pack.qPJ7H2/_new 2011-05-18 11:49:39.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package perl-Try-Tiny (Version 0.07) +# spec file for package perl-Try-Tiny # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,48 +15,39 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: perl-Try-Tiny -%define cpan_name Try-Tiny -Summary:Minimal try/catch with proper localization of $@ -Version:0.07 -Release:2 +Version:0.09 +Release:1 License:MIT -Group: Development/Libraries/Perl +%define cpan_name Try-Tiny +Summary:minimal try/catch with proper localization of $@ Url:http://search.cpan.org/dist/Try-Tiny/ -#Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Try-Tiny-0.07.tar.gz -Source: %{cpan_name}-%{version}.tar.bz2 +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::More) +%{perl_requires} %description -This module provides bare bones try/catch statements that are designed to -minimize common mistakes with eval blocks, and NOTHING else. +This module provides bare bones 'try'/'catch'/'finally' statements that are +designed to minimize common mistakes with eval blocks, and NOTHING else. -This is unlike TryCatch which provides a nice syntax and avoids adding another -call stack layer, and supports calling return from the try block to return from -the parent subroutine. These extra features come at a cost of a few -dependencies, namely Devel::Declare and Scope::Upper which are occasionally -problematic, and the additional catch filtering uses Moose type constraints -which may not be desirable either. - -The main focus of this module is to provide simple and reliable error handling -for those having a hard time installing TryCatch, but who still want to write -correct eval blocks without 5 lines of boilerplate each time. - -It's designed to work as correctly as possible in light of the various -pathological edge cases (see BACKGROUND) and to be compatible with any style of -error values (simple strings, references, objects, overloaded objects, etc). - -Authors: - -Yuval Kogman +This is unlike the TryCatch manpage which provides a nice syntax and avoids +adding another call stack layer, and supports calling 'return' from the try +block to return from the parent subroutine. These extra features come at a +cost of a few dependencies, namely the Devel::Declare manpage and the +Scope::Upper manpage which are occasionally problematic, and the additional +catch filtering uses the Moose manpage type constraints which may not be +desirable either. + +The main focus of this module is to provide simple and reliable error +handling for those having a hard time installing the TryCatch manpage, but +who still want to write correct 'eval' blocks without 5 lines of +boilerplate each time. %prep %setup -q -n %{cpan_name}-%{version} @@ -70,18 +61,14 @@ %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_process_packlist %perl_gen_filelist %clean -%{__rm} -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes %changelog Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse