forked from pool/perl-Exception-Base
Accepting request 345379 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/345379 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exception-Base?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
650e0f2731
commit
7318bf8246
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1c4ec484ec6154b4b3c477d1ce69f666289fe9b4c2f2318cf742ad2e0cd251e8
|
|
||||||
size 59534
|
|
3
Exception-Base-0.2501.tar.gz
Normal file
3
Exception-Base-0.2501.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5723dd78f4ac0b4d262a05ea46af663ea00d8096b2e9c0a43515c210760e1e75
|
||||||
|
size 59965
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 20 09:32:52 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.2501
|
||||||
|
see /usr/share/doc/packages/perl-Exception-Base/Changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 30 01:29:09 CEST 2015 - ro@suse.de
|
Wed Sep 30 01:29:09 CEST 2015 - ro@suse.de
|
||||||
|
|
||||||
|
@@ -17,112 +17,62 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Exception-Base
|
Name: perl-Exception-Base
|
||||||
Version: 0.25
|
Version: 0.2501
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Exception-Base
|
%define cpan_name Exception-Base
|
||||||
Summary: Lightweight exceptions
|
Summary: Lightweight exceptions
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Exception-Base/
|
Url: http://search.cpan.org/dist/Exception-Base/
|
||||||
Source: http://www.cpan.org/authors/id/D/DE/DEXTER/%{cpan_name}-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/D/DE/DEXTER/%{cpan_name}-%{version}.tar.gz
|
||||||
Patch0: Exception-Base-sprintf.patch
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(Test::Unit::Lite) >= 0.12
|
BuildRequires: perl(Test::Unit::Lite) >= 0.12
|
||||||
#BuildRequires: perl(Class::Throwable)
|
|
||||||
#BuildRequires: perl(Exception::Base)
|
|
||||||
#BuildRequires: perl(Exception::BaseTest::LoadedException)
|
|
||||||
#BuildRequires: perl(Exception::Class)
|
|
||||||
#BuildRequires: perl(File::Slurp)
|
|
||||||
#BuildRequires: perl(Readonly)
|
|
||||||
#BuildRequires: perl(Test::CheckChanges)
|
|
||||||
#BuildRequires: perl(Test::CPAN::Changes)
|
|
||||||
#BuildRequires: perl(Test::CPAN::Meta)
|
|
||||||
#BuildRequires: perl(Test::DistManifest)
|
|
||||||
#BuildRequires: perl(Test::Distribution)
|
|
||||||
#BuildRequires: perl(Test::EOL)
|
|
||||||
#BuildRequires: perl(Test::Kwalitee)
|
|
||||||
#BuildRequires: perl(Test::NoTabs)
|
|
||||||
#BuildRequires: perl(Test::Perl::Critic)
|
|
||||||
#BuildRequires: perl(Test::Pod) >= 1.14
|
|
||||||
#BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
||||||
#BuildRequires: perl(Test::Signature)
|
|
||||||
#BuildRequires: perl(Test::Spelling)
|
|
||||||
#BuildRequires: perl(Test::Unit::TestCase)
|
|
||||||
#BuildRequires: perl(TryCatch)
|
|
||||||
#BuildRequires: perl(Try::Tiny)
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This class implements a fully OO exception mechanism similar to the
|
This class implements a fully OO exception mechanism similar to
|
||||||
Exception::Class manpage or the Class::Throwable manpage. It provides a
|
Exception::Class or Class::Throwable. It provides a simple interface
|
||||||
simple interface allowing programmers to declare exception classes. These
|
allowing programmers to declare exception classes. These classes can be
|
||||||
classes can be thrown and caught. Each uncaught exception prints full stack
|
thrown and caught. Each uncaught exception prints full stack trace if the
|
||||||
trace if the default verbosity is increased for debugging purposes.
|
default verbosity is increased for debugging purposes.
|
||||||
|
|
||||||
The features of 'Exception::Base':
|
The features of 'Exception::Base':
|
||||||
|
|
||||||
* *
|
* fast implementation of the exception class
|
||||||
|
|
||||||
fast implementation of the exception class
|
* fully OO without closures and source code filtering
|
||||||
|
|
||||||
* *
|
* does not mess with '$SIG{__DIE__}' and '$SIG{__WARN__}'
|
||||||
|
|
||||||
fully OO without closures and source code filtering
|
* no external run-time modules dependencies, requires core Perl modules only
|
||||||
|
|
||||||
* *
|
* the default behavior of exception class can be changed globally or just for
|
||||||
|
the thrown exception
|
||||||
|
|
||||||
does not mess with '$SIG{__DIE__}' and '$SIG{__WARN__}'
|
* matching the exception by class, message or other attributes
|
||||||
|
|
||||||
* *
|
* matching with string, regex or closure function
|
||||||
|
|
||||||
no external run-time modules dependencies, requires core Perl modules
|
* creating automatically the derived exception classes (perlfunc/use
|
||||||
only
|
interface)
|
||||||
|
|
||||||
* *
|
* easily expendable, see Exception::System class for example
|
||||||
|
|
||||||
the default behavior of exception class can be changed globally or just
|
* prints just an error message or dumps full stack trace
|
||||||
for the thrown exception
|
|
||||||
|
|
||||||
* *
|
* can propagate (rethrow) an exception
|
||||||
|
|
||||||
matching the exception by class, message or other attributes
|
* can ignore some packages for stack trace output
|
||||||
|
|
||||||
* *
|
* some defaults (i.e. verbosity) can be different for different exceptions
|
||||||
|
|
||||||
matching with string, regex or closure function
|
|
||||||
|
|
||||||
* *
|
|
||||||
|
|
||||||
creating automatically the derived exception classes (the perlfunc/use
|
|
||||||
manpage interface)
|
|
||||||
|
|
||||||
* *
|
|
||||||
|
|
||||||
easily expendable, see the Exception::System manpage class for example
|
|
||||||
|
|
||||||
* *
|
|
||||||
|
|
||||||
prints just an error message or dumps full stack trace
|
|
||||||
|
|
||||||
* *
|
|
||||||
|
|
||||||
can propagate (rethrow) an exception
|
|
||||||
|
|
||||||
* *
|
|
||||||
|
|
||||||
can ignore some packages for stack trace output
|
|
||||||
|
|
||||||
* *
|
|
||||||
|
|
||||||
some defaults (i.e. verbosity) can be different for different exceptions
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
|
Reference in New Issue
Block a user