Accepting request 223609 from devel:languages:perl
- updated to 1.31 - No code changes, just doc updates, including documenting the as_string() method in Devel::StackTrace::Frame. Requested by Skef. RT #91575. - remove Devel-StackTrace-1.27_Test_More.patch OBS-URL: https://build.opensuse.org/request/show/223609 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-StackTrace?expand=0&rev=13
This commit is contained in:
commit
0759df5ee9
@ -1,109 +0,0 @@
|
||||
diff -ruN Devel-StackTrace-1.27-orig/t/01-basic.t Devel-StackTrace-1.27/t/01-basic.t
|
||||
--- Devel-StackTrace-1.27-orig/t/01-basic.t 2011-01-16 19:57:14.000000000 +0100
|
||||
+++ Devel-StackTrace-1.27/t/01-basic.t 2011-02-01 12:39:40.000000000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More qw(no_plan);
|
||||
|
||||
use Devel::StackTrace;
|
||||
|
||||
@@ -370,7 +370,7 @@
|
||||
);
|
||||
}
|
||||
|
||||
-done_testing();
|
||||
+#done_testing();
|
||||
|
||||
# This means I can move these lines down without constantly fiddling
|
||||
# with the checks for line numbers in the tests.
|
||||
diff -ruN Devel-StackTrace-1.27-orig/t/02-bad-utf8.t Devel-StackTrace-1.27/t/02-bad-utf8.t
|
||||
--- Devel-StackTrace-1.27-orig/t/02-bad-utf8.t 2011-01-16 19:57:14.000000000 +0100
|
||||
+++ Devel-StackTrace-1.27/t/02-bad-utf8.t 2011-02-01 12:43:37.000000000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More qw(no_plan);
|
||||
|
||||
eval 'use Encode';
|
||||
plan skip_all => 'These tests require Encode.pm'
|
||||
@@ -37,4 +37,4 @@
|
||||
Devel::StackTrace->new();
|
||||
}
|
||||
|
||||
-done_testing();
|
||||
+#done_testing();
|
||||
diff -ruN Devel-StackTrace-1.27-orig/t/03-message.t Devel-StackTrace-1.27/t/03-message.t
|
||||
--- Devel-StackTrace-1.27-orig/t/03-message.t 2011-01-16 19:57:14.000000000 +0100
|
||||
+++ Devel-StackTrace-1.27/t/03-message.t 2011-02-01 12:43:55.000000000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More qw(no_plan);
|
||||
|
||||
use Devel::StackTrace;
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
);
|
||||
}
|
||||
|
||||
-done_testing();
|
||||
+#done_testing();
|
||||
diff -ruN Devel-StackTrace-1.27-orig/t/04-indent.t Devel-StackTrace-1.27/t/04-indent.t
|
||||
--- Devel-StackTrace-1.27-orig/t/04-indent.t 2011-01-16 19:57:14.000000000 +0100
|
||||
+++ Devel-StackTrace-1.27/t/04-indent.t 2011-02-01 12:44:13.000000000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More qw(no_plan);
|
||||
|
||||
use Devel::StackTrace;
|
||||
|
||||
@@ -32,4 +32,4 @@
|
||||
}
|
||||
}
|
||||
|
||||
-done_testing();
|
||||
+#done_testing();
|
||||
diff -ruN Devel-StackTrace-1.27-orig/t/05-back-compat.t Devel-StackTrace-1.27/t/05-back-compat.t
|
||||
--- Devel-StackTrace-1.27-orig/t/05-back-compat.t 2011-01-16 19:57:14.000000000 +0100
|
||||
+++ Devel-StackTrace-1.27/t/05-back-compat.t 2011-02-01 12:44:28.000000000 +0100
|
||||
@@ -1,10 +1,10 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More qw(no_plan);
|
||||
|
||||
use Devel::StackTrace;
|
||||
|
||||
isa_ok( 'Devel::StackTraceFrame', 'Devel::StackTrace::Frame' );
|
||||
|
||||
-done_testing();
|
||||
+#done_testing();
|
||||
diff -ruN Devel-StackTrace-1.27-orig/t/06-dollar-at.t Devel-StackTrace-1.27/t/06-dollar-at.t
|
||||
--- Devel-StackTrace-1.27-orig/t/06-dollar-at.t 2011-01-16 19:57:14.000000000 +0100
|
||||
+++ Devel-StackTrace-1.27/t/06-dollar-at.t 2011-02-01 12:44:51.000000000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More qw(no_plan);
|
||||
|
||||
use Devel::StackTrace;
|
||||
|
||||
@@ -11,4 +11,4 @@
|
||||
|
||||
is( $@, $msg, '$@ is not overwritten in as_string() method' );
|
||||
|
||||
-done_testing();
|
||||
+#done_testing();
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f4af79762263e477a65764ec9ff837e6e1c9f1f2c966c183036cd54bdee723d4
|
||||
size 18518
|
3
Devel-StackTrace-1.31.tar.gz
Normal file
3
Devel-StackTrace-1.31.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a72426e1104378c04f1bfe8e42570fc98ee05d8b7ab205f85de1a98497c35b36
|
||||
size 20198
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 06:08:43 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 1.31
|
||||
- No code changes, just doc updates, including documenting the as_string()
|
||||
method in Devel::StackTrace::Frame. Requested by Skef. RT #91575.
|
||||
- remove Devel-StackTrace-1.27_Test_More.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 08:33:17 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Devel-StackTrace
|
||||
#
|
||||
# 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,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-Devel-StackTrace
|
||||
Version: 1.30
|
||||
Version: 1.31
|
||||
Release: 0
|
||||
%define cpan_name Devel-StackTrace
|
||||
Summary: An object representing a stack trace
|
||||
@ -30,24 +30,21 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
#BuildRequires: perl(Devel::StackTrace)
|
||||
#BuildRequires: perl(Devel::StackTrace::Frame)
|
||||
#BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
#BuildRequires: perl(Test::Spelling)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
The Devel::StackTrace module contains two classes, Devel::StackTrace and
|
||||
Devel::StackTrace::Frame. The goal of this object is to encapsulate the
|
||||
information that can found through using the caller() function, as well as
|
||||
The 'Devel::StackTrace' module contains two classes, C,Devel::StackTrace>
|
||||
and the Devel::StackTrace::Frame manpage. These objects encapsulate the
|
||||
information that can retrieved via Perl's 'caller()' function, as well as
|
||||
providing a simple interface to this data.
|
||||
|
||||
The Devel::StackTrace object contains a set of Devel::StackTrace::Frame
|
||||
The 'Devel::StackTrace' object contains a set of 'Devel::StackTrace::Frame'
|
||||
objects, one for each level of the stack. The frames contain all the data
|
||||
available from 'caller()'.
|
||||
|
||||
This code was created to support my the Exception::Class::Base manpage
|
||||
class (part of Exception::Class) but may be useful in other contexts.
|
||||
class (part of the Exception::Class manpage) but may be useful in other
|
||||
contexts.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
Loading…
Reference in New Issue
Block a user