8
0

Accepting request 310900 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/310900
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Printer?expand=0&rev=4
This commit is contained in:
Stephan Kulow
2015-06-11 06:35:30 +00:00
committed by Git OBS Bridge
parent 021bd06a69
commit 088cc19215
5 changed files with 108 additions and 25 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b601fbd15a79aa46755a2944f5b56a6c9c56036e7181b0fa612f4b678409c55
size 52812

3
Data-Printer-0.36.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7fa95a6dfc9ff61655d3eb49ae6c69e2f0736fbd216a26e36b429d951a8939ed
size 56614

23
cpanspec.yml Normal file
View 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

View File

@@ -1,3 +1,78 @@
-------------------------------------------------------------------
Sun Jun 7 08:23:48 UTC 2015 - coolo@suse.com
- updated to 0.36
see /usr/share/doc/packages/perl-Data-Printer/Changes
0.36 2015-05-29
Bumping 0.35_01 to stable. Below is the (repeated) changelog,
with the single addition of the 'scalar_quotes' patch.
BACKWARDS-INCOMPATIBLE CHANGE
- p()'s return value now defaults to 'pass'. Please see
https://github.com/garu/Data-Printer/issues/16 for the
full discussion. THIS WILL BREAK CODE RELYING ON p() TO
RETURN A STRING. To fix your code, please set 'return_value'
to 'dump' explicitly, or use the experimental np() function.
NEW HIGHLY EXPERIMENTAL FEATURE:
- np(), a version of p() that always returns the string instead
of printing it.
NEW FEATURES:
- Add 'escape_chars' to allow \x{...} printing for chars
(patch by Mark Fowler)
- 'scalar_quotes' let you specify the quote to use when,
well, quoting (Ivan Bessarabov)
- Class::Date support in the DateTime filter (Ivan Bessarabov)
BUG FIXES:
- fixed crash in esoteric classes (github issue #41, thanks
Ivan Bessarabov for reporting)
- removed support for Digest::Haval256, as it can't really be
observed without damaging the original data. If future versions
provide a clone() function, it can be added again.
- Being extra loud when rc files fail to load (RT#89203, thanks
Caleb Cushing for reporting).
- Prevents PERL5OPT from interfering with deparse tests (github
issue #55, thanks David Precious for reporting)
OTHER:
- more tests
- new external filter indexed: PDL
0.35_01 2014-12-22
BACKWARDS-INCOMPATIBLE CHANGE
- p()'s return value now defaults to 'pass'. Please see
https://github.com/garu/Data-Printer/issues/16 for the
full discussion. THIS WILL BREAK CODE RELYING ON p() TO
RETURN A STRING. To fix your code, please set 'return_value'
to 'dump' explicitly, or use the experimental np() function.
NEW HIGHLY EXPERIMENTAL FEATURE:
- np(), a version of p() that always returns the string instead
of printing it.
NEW FEATURES:
- Add 'escape_chars' to allow \x{...} printing for chars
(patch by Mark Fowler)
- Class::Date support in the DateTime filter (Ivan Bessarabov)
BUG FIXES:
- fixed crash in esoteric classes (github issue #41, thanks
Ivan Bessarabov for reporting)
- removed support for Digest::Haval256, as it can't really be
observed without damaging the original data. If future versions
provide a clone() function, it can be added again.
- Being extra loud when rc files fail to load (RT#89203, thanks
Caleb Cushing for reporting).
- Prevents PERL5OPT from interfering with deparse tests (github
issue #55, thanks David Precious for reporting)
OTHER:
- more tests
- new external filter indexed: PDL
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 8 14:03:40 UTC 2014 - ncutler@suse.com Wed Jan 8 14:03:40 UTC 2014 - ncutler@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Data-Printer # spec file for package perl-Data-Printer
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-Data-Printer Name: perl-Data-Printer
Version: 0.35 Version: 0.36
Release: 0 Release: 0
%define cpan_name Data-Printer %define cpan_name Data-Printer
Summary: Colored pretty-print of Perl data structures and objects Summary: Colored Pretty-Print of Perl Data Structures and Objects
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/Data-Printer/ Url: http://search.cpan.org/dist/Data-Printer/
Source: http://www.cpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
@@ -36,14 +37,6 @@ BuildRequires: perl(Sort::Naturally)
BuildRequires: perl(Term::ANSIColor) >= 3 BuildRequires: perl(Term::ANSIColor) >= 3
BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(version) >= 0.77 BuildRequires: perl(version) >= 0.77
#BuildRequires: perl(Capture::Tiny)
#BuildRequires: perl(Data::Printer)
#BuildRequires: perl(Data::Printer::Filter)
#BuildRequires: perl(DDP)
#BuildRequires: perl(File::HomeDir::Test)
#BuildRequires: perl(mro)
#BuildRequires: perl(MRO::Compat)
#BuildRequires: perl(Win32::Console::ANSI)
Requires: perl(Clone::PP) Requires: perl(Clone::PP)
Requires: perl(File::HomeDir) >= 0.91 Requires: perl(File::HomeDir) >= 0.91
Requires: perl(Package::Stash) >= 0.3 Requires: perl(Package::Stash) >= 0.3
@@ -54,18 +47,10 @@ Requires: perl(version) >= 0.77
%{perl_requires} %{perl_requires}
%description %description
Unlike the standard Data::Dumper package and others that seek to improve on it, colored pretty-print of Perl data structures and objects
Data::Printer focuses exclusively on printing data structures: it does not
serialize them.
Data::Printer is fully customizable. If you want to change how things are
displayed, or even its standard behavior. Take a look at the available
customizations. Once you figure out your own preferences, create a
configuration file for yourself and Data::Printer will automatically use it!
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -81,6 +66,6 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes examples README %doc Changes examples README.md
%changelog %changelog