From 41eb2657d512e766aff0a970d5c95626c11efc17b8a82a9e7543f0406cf3057c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 16 Jul 2007 16:18:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Text-CSV_XS?expand=0&rev=2 --- Text-CSV_XS-0.23.dif | 10 --- Text-CSV_XS-0.23.tar.bz2 | 3 - Text-CSV_XS-0.29.dif | 10 +++ Text-CSV_XS-0.29.tar.gz | 3 + perl-Text-CSV_XS.changes | 111 ++++++++++++++++++++++++++++++ perl-Text-CSV_XS.spec | 142 ++++++++++++++++++++++++++++++++++----- 6 files changed, 248 insertions(+), 31 deletions(-) delete mode 100644 Text-CSV_XS-0.23.dif delete mode 100644 Text-CSV_XS-0.23.tar.bz2 create mode 100644 Text-CSV_XS-0.29.dif create mode 100644 Text-CSV_XS-0.29.tar.gz diff --git a/Text-CSV_XS-0.23.dif b/Text-CSV_XS-0.23.dif deleted file mode 100644 index 73219b4..0000000 --- a/Text-CSV_XS-0.23.dif +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.PL -+++ Makefile.PL 2001/12/11 12:10:53 -@@ -24,6 +24,7 @@ - - ExtUtils::MakeMaker::WriteMakefile( - 'NAME' => 'Text::CSV_XS', -+ 'INSTALLMAN3DIR' => '$(PREFIX)/share/man/man3', - 'VERSION_FROM' => 'CSV_XS.pm', # finds $VERSION - 'dist' => { 'SUFFIX' => ".gz", - 'DIST_DEFAULT' => 'all tardist', diff --git a/Text-CSV_XS-0.23.tar.bz2 b/Text-CSV_XS-0.23.tar.bz2 deleted file mode 100644 index e2db62d..0000000 --- a/Text-CSV_XS-0.23.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2a0eba9a0d5c19bc2edc6c56e3f34580760b2d3cb38ffc7f4ace7cdaffeff6f4 -size 15711 diff --git a/Text-CSV_XS-0.29.dif b/Text-CSV_XS-0.29.dif new file mode 100644 index 0000000..5cb351e --- /dev/null +++ b/Text-CSV_XS-0.29.dif @@ -0,0 +1,10 @@ +--- Makefile.PL ++++ Makefile.PL 2007/07/16 10:17:50 +@@ -23,6 +23,7 @@ + my %wm = ( + NAME => "Text::CSV_XS", + ABSTRACT => "Comma-Separated Values manipulation routines", ++ 'INSTALLMAN3DIR' => '$(PREFIX)/share/man/man3', + AUTHOR => "H.Merijn Brand ", + VERSION_FROM => "CSV_XS.pm", + PREREQ_PM => { diff --git a/Text-CSV_XS-0.29.tar.gz b/Text-CSV_XS-0.29.tar.gz new file mode 100644 index 0000000..c8f1dd1 --- /dev/null +++ b/Text-CSV_XS-0.29.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dde164fbaddc24d25b90d515c102bb17e04fcd2b4d92b70a863c7812abbedaf5 +size 36480 diff --git a/perl-Text-CSV_XS.changes b/perl-Text-CSV_XS.changes index f222c76..f39fd49 100644 --- a/perl-Text-CSV_XS.changes +++ b/perl-Text-CSV_XS.changes @@ -1,3 +1,114 @@ +------------------------------------------------------------------- +Mon Jul 16 12:19:26 CEST 2007 - ug@suse.de + +- version to 0.29 +* Removed an unused 'use Data::Dumper' +* Added $csv->eof () RT 27424 +* Two typo's in the doc's (Amsterdam.pm) +* Modified examples/speed.pl to better show the diffs between versions +* Cache attribute settings and regain speed of 0.23! anmd beyond + Relative overall speeds (YMMV, use examples/speed.pl to check), + the 1.0x versions are from Text::CSV_PP. + + 0.23 0.25 0.26 0.27 0.28 0.29 1.00 1.02 1.05 + ==== ==== ==== ==== ==== ==== ==== ==== ==== + combine 1 62 61 61 60 58 100 14 14 14 + combine 10 41 41 41 42 42 100 6 6 6 + combine 100 35 35 36 36 36 100 5 5 5 + parse 1 100 92 87 90 81 96 19 19 17 + parse 10 95 100 86 97 94 94 15 16 14 + parse 100 90 95 84 94 92 100 16 16 14 + print io 93 89 91 91 95 100 0 0 6 + getline io 90 92 84 87 89 100 0 0 13 + ---- ---- ---- ---- ---- ---- ---- ---- ---- + average 75 75 71 74 73 98 9 9 11 + +* Removed prototypes +* Added a SPECIFICATION section to the pod +* Safe caching of eol, and a warning in the docs +* Rewrote t/20_file.t do do actual file IO instead of IO_Scalar fake +* Small optimilisation for parse (juerd) +* Added make target test_speed +* Merged the items from CAVEAT to SPECIFICATION +* Updated the TODO and Release Plan sections +* Speed up internals by using references instead of copies (juerd) +* Reworked error_input, which also had an undetected internal error +* Added IO tests for lexical IO handles and perlio IO to/from scalars +* IMPORTANT CHANGE: new () returns undef if it gets unsupported + attributes. Until now, new ({ esc_char => "\\" }) was just + silently ignored. Rejecting it and failing is better than + continuing with false assumptions. +* Added allow_loose_quotes (see doc) +* Added t/65_allow.t +* Added allow_loose_escapes (see doc) RT 15076 +* More code cleanup in XS +* Added allow_whitespace (see doc) +* checked with perlcritic (still works under 5.00504) + so 3-arg open cannot be used (except in the docs) +* 3-arg open in docs too +* Added a lot to the TODO list +* Some more info on using escape character (jZed) +* Mention Text::CSV_PP in README +* Added t/45_eol.t, eol tests +* Added a section about embedded newlines in the pod +* Allow \r as eol ($/) for parsing +* More docs for eol +* More eol = \r fixes, tfrayner's test case added to t/45_eol.t +* Add $csv->allow_undef (1) suggestion in TODO + Still have to find the best spot to document + the difference between empty string and undef +* Spell-checked the pod and fixed some typo's +* Added t/70_rt.t + - Regression for RT 24386: \t doesn't work (WFM) + - Regression and fix for RT 21530: getline () return at eof + This one still passes under perl 5.00504 + - Regression for RT 18703: Fails to use quote_char of '~' +* Added t/55_combi.t for most combinations of always_quote, + sep_char, quote_char, and escape_char +* Added docs about sep_char not allowed to be either quote_char + or escape_char +* Both combine () and parse () now return FALSE id sep_char is + equal to either quote_char or escape_char. Done in XS, as it + was a slowdown of 10% when done in perl. +* Merijn got the maintainership +- code reformat and code cleanup +- renamed internal (Encode, Decode) to (Combine, Parse) to + prevent misinterpretation with upcoming Unicode changes + and possible name clashes +- added pod check (and fixed pod) +- added pod coverage and small additions to the pod. + More to do in this area +- renamed test to fixate the sequence +- Added t/50_utf8.t +- tests now use Test::More + . Makefile.PL requires Test::More +- checked proclaimed version compatibility + . 5.9.x-64int works @31159 + . 5.8.x-64int-dor works @31162 + . 5.8.0-dor works + . 5.6.2 works + . 5.005.04 works + . 5.004.05 fails +- 5.005 is now prerequisite +- Added missing info in docs for new () +- Added meta_info () method and docs +- Added keep_meta_info in new () +- Added t/15_flags.t +- Added test_cover make target +- Added test for error_input () +- Added tests for fields () and meta_info () before parse () +- Added tests for ->types () as method +- Added tests for deleting types (coverage now over 99%) +- Added is_quoted (), is_binary () and tests +- Added COPYRIGHT section to pod +- Added the parse example from the pod to test.pl +- Added accessor methods for internals: quote_char () et all +- Added tests for the new accessor methods +- Added always_quote to the missing places in the doc and in new () +- Changed the tests to use the accessors instead of the hash keys + except for the ->{types} and ->{_types} +- Moved test.pl to examples/speed.pl + ------------------------------------------------------------------- Wed Jan 25 21:39:59 CET 2006 - mls@suse.de diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec index edf32c4..6f8f259 100644 --- a/perl-Text-CSV_XS.spec +++ b/perl-Text-CSV_XS.spec @@ -1,29 +1,29 @@ # -# spec file for package perl-Text-CSV_XS (Version 0.23) +# spec file for package perl-Text-CSV_XS (Version 0.29) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild -Name: perl-Text-CSV_XS -Summary: Perl Module Text::CSV -Version: 0.23 -Release: 361 -License: GPL -Group: Development/Libraries/Perl -Source0: Text-CSV_XS-%{version}.tar.bz2 -Patch: Text-CSV_XS-%{version}.dif -URL: http://www.cpan.org -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Obsoletes: p_txtcsv -Provides: p_txtcsv -Requires: perl = %{perl_version} -Autoreqprov: on +Name: perl-Text-CSV_XS +Summary: Perl Module Text::CSV +Version: 0.29 +Release: 1 +License: GPL v2 or later +Group: Development/Libraries/Perl +Source0: Text-CSV_XS-%{version}.tar.gz +Patch: Text-CSV_XS-%{version}.dif +URL: http://www.cpan.org +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Obsoletes: p_txtcsv +Provides: p_txtcsv +Requires: perl = %{perl_version} +Autoreqprov: on %description ext::CSV provides facilities for the composition and decomposition of @@ -60,7 +60,113 @@ rm -rf $RPM_BUILD_ROOT %{perl_vendorarch}/auto/Text /var/adm/perl-modules/%{name} -%changelog -n perl-Text-CSV_XS +%changelog +* Mon Jul 16 2007 - ug@suse.de +- version to 0.29 + * Removed an unused 'use Data::Dumper' + * Added $csv->eof () RT 27424 + * Two typo's in the doc's (Amsterdam.pm) + * Modified examples/speed.pl to better show the diffs between versions + * Cache attribute settings and regain speed of 0.23! anmd beyond + Relative overall speeds (YMMV, use examples/speed.pl to check), + the 1.0x versions are from Text::CSV_PP. + 0.23 0.25 0.26 0.27 0.28 0.29 1.00 1.02 1.05 + ==== ==== ==== ==== ==== ==== ==== ==== ==== + combine 1 62 61 61 60 58 100 14 14 14 + combine 10 41 41 41 42 42 100 6 6 6 + combine 100 35 35 36 36 36 100 5 5 5 + parse 1 100 92 87 90 81 96 19 19 17 + parse 10 95 100 86 97 94 94 15 16 14 + parse 100 90 95 84 94 92 100 16 16 14 + print io 93 89 91 91 95 100 0 0 6 + getline io 90 92 84 87 89 100 0 0 13 + ---- ---- ---- ---- ---- ---- ---- ---- ---- + average 75 75 71 74 73 98 9 9 11 + * Removed prototypes + * Added a SPECIFICATION section to the pod + * Safe caching of eol, and a warning in the docs + * Rewrote t/20_file.t do do actual file IO instead of IO_Scalar fake + * Small optimilisation for parse (juerd) + * Added make target test_speed + * Merged the items from CAVEAT to SPECIFICATION + * Updated the TODO and Release Plan sections + * Speed up internals by using references instead of copies (juerd) + * Reworked error_input, which also had an undetected internal error + * Added IO tests for lexical IO handles and perlio IO to/from scalars + * IMPORTANT CHANGE: new () returns undef if it gets unsupported + attributes. Until now, new ({ esc_char => "\\" }) was just + silently ignored. Rejecting it and failing is better than + continuing with false assumptions. + * Added allow_loose_quotes (see doc) + * Added t/65_allow.t + * Added allow_loose_escapes (see doc) RT 15076 + * More code cleanup in XS + * Added allow_whitespace (see doc) + * checked with perlcritic (still works under 5.00504) + so 3-arg open cannot be used (except in the docs) + * 3-arg open in docs too + * Added a lot to the TODO list + * Some more info on using escape character (jZed) + * Mention Text::CSV_PP in README + * Added t/45_eol.t, eol tests + * Added a section about embedded newlines in the pod + * Allow \r as eol ($/) for parsing + * More docs for eol + * More eol = \r fixes, tfrayner's test case added to t/45_eol.t + * Add $csv->allow_undef (1) suggestion in TODO + Still have to find the best spot to document + the difference between empty string and undef + * Spell-checked the pod and fixed some typo's + * Added t/70_rt.t + - Regression for RT 24386: \t doesn't work (WFM) + - Regression and fix for RT 21530: getline () return at eof + This one still passes under perl 5.00504 + - Regression for RT 18703: Fails to use quote_char of '~' + * Added t/55_combi.t for most combinations of always_quote, + sep_char, quote_char, and escape_char + * Added docs about sep_char not allowed to be either quote_char + or escape_char + * Both combine () and parse () now return FALSE id sep_char is + equal to either quote_char or escape_char. Done in XS, as it + was a slowdown of 10%% when done in perl. + * Merijn got the maintainership +- code reformat and code cleanup +- renamed internal (Encode, Decode) to (Combine, Parse) to + prevent misinterpretation with upcoming Unicode changes + and possible name clashes +- added pod check (and fixed pod) +- added pod coverage and small additions to the pod. + More to do in this area +- renamed test to fixate the sequence +- Added t/50_utf8.t +- tests now use Test::More + . Makefile.PL requires Test::More +- checked proclaimed version compatibility + . 5.9.x-64int works @31159 + . 5.8.x-64int-dor works @31162 + . 5.8.0-dor works + . 5.6.2 works + . 5.005.04 works + . 5.004.05 fails +- 5.005 is now prerequisite +- Added missing info in docs for new () +- Added meta_info () method and docs +- Added keep_meta_info in new () +- Added t/15_flags.t +- Added test_cover make target +- Added test for error_input () +- Added tests for fields () and meta_info () before parse () +- Added tests for ->types () as method +- Added tests for deleting types (coverage now over 99%%) +- Added is_quoted (), is_binary () and tests +- Added COPYRIGHT section to pod +- Added the parse example from the pod to test.pl +- Added accessor methods for internals: quote_char () et all +- Added tests for the new accessor methods +- Added always_quote to the missing places in the doc and in new () +- Changed the tests to use the accessors instead of the hash keys + except for the ->{types} and ->{_types} +- Moved test.pl to examples/speed.pl * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Wed Sep 28 2005 - dmueller@suse.de