diff --git a/Data-Printer-0.35.tar.gz b/Data-Printer-0.35.tar.gz deleted file mode 100644 index f4ebf22..0000000 --- a/Data-Printer-0.35.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b601fbd15a79aa46755a2944f5b56a6c9c56036e7181b0fa612f4b678409c55 -size 52812 diff --git a/Data-Printer-0.36.tar.gz b/Data-Printer-0.36.tar.gz new file mode 100644 index 0000000..a646cb1 --- /dev/null +++ b/Data-Printer-0.36.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7fa95a6dfc9ff61655d3eb49ae6c69e2f0736fbd216a26e36b429d951a8939ed +size 56614 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Data-Printer.changes b/perl-Data-Printer.changes index 74a8964..7a839ba 100644 --- a/perl-Data-Printer.changes +++ b/perl-Data-Printer.changes @@ -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 diff --git a/perl-Data-Printer.spec b/perl-Data-Printer.spec index f2d5d18..453bee4 100644 --- a/perl-Data-Printer.spec +++ b/perl-Data-Printer.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,15 @@ Name: perl-Data-Printer -Version: 0.35 +Version: 0.36 Release: 0 %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+ Group: Development/Libraries/Perl 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -36,14 +37,6 @@ BuildRequires: perl(Sort::Naturally) BuildRequires: perl(Term::ANSIColor) >= 3 BuildRequires: perl(Test::More) >= 0.88 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(File::HomeDir) >= 0.91 Requires: perl(Package::Stash) >= 0.3 @@ -54,18 +47,10 @@ Requires: perl(version) >= 0.77 %{perl_requires} %description -Unlike the standard Data::Dumper package and others that seek to improve on it, -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! +colored pretty-print of Perl data structures and objects %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -81,6 +66,6 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes examples README +%doc Changes examples README.md %changelog