r19858 - in /trunk/libtext-wrapper-perl: Build.PL Changes MANIFEST META.yml Makefile.PL My_Build.pm README debian/changelog lib/Text/Wrapper.pm tools/
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun May 11 13:11:57 UTC 2008
Author: gregoa
Date: Sun May 11 13:11:57 2008
New Revision: 19858
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19858
Log:
New upstream release.
Added:
trunk/libtext-wrapper-perl/tools/
- copied from r19857, branches/upstream/libtext-wrapper-perl/current/tools/
Removed:
trunk/libtext-wrapper-perl/My_Build.pm
Modified:
trunk/libtext-wrapper-perl/Build.PL
trunk/libtext-wrapper-perl/Changes
trunk/libtext-wrapper-perl/MANIFEST
trunk/libtext-wrapper-perl/META.yml
trunk/libtext-wrapper-perl/Makefile.PL
trunk/libtext-wrapper-perl/README
trunk/libtext-wrapper-perl/debian/changelog
trunk/libtext-wrapper-perl/lib/Text/Wrapper.pm
Modified: trunk/libtext-wrapper-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-wrapper-perl/Build.PL?rev=19858&op=diff
==============================================================================
--- trunk/libtext-wrapper-perl/Build.PL (original)
+++ trunk/libtext-wrapper-perl/Build.PL Sun May 11 13:11:57 2008
@@ -1,24 +1,36 @@
#! /usr/bin/perl
#---------------------------------------------------------------------
-# $Id: Build.PL 1706 2007-03-21 04:26:10Z cjm $
+# $Id: Build.PL 2010 2008-05-10 18:36:53Z cjm $
# Copyright 2007 Christopher J. Madsen
#
# Build.PL for Text-Wrapper
#---------------------------------------------------------------------
use strict;
-use warnings;
+#use warnings; # Wasn't core until 5.6.0
use FindBin;
use lib $FindBin::Bin; # Make sure we're using My_Build from our distribution
-use My_Build; # Our customized version of Module::Build
+use Module::Build;
+eval 'use Module::Build::DistVersion;';
+my $class = ($@ ? Module::Build->subclass(code => q{
+ sub ACTION_distdir {
+ print STDERR <<"END";
+\a\a\a\n
+This module uses Module::Build::DistVersion to automatically copy
+version numbers to the appropriate places. You might want to install
+that and re-run Build.PL if you intend to create a distribution.
+\n
+END
+ (shift @_)->SUPER::ACTION_distdir(@_);
+ } })
+ : 'Module::Build::DistVersion'); # if we found it
-my $builder = My_Build->new(
+my $builder = $class->new(
module_name => 'Text::Wrapper',
license => 'perl',
dist_author => 'Christopher J. Madsen <perl at cjmweb.net>',
- dist_version_from => 'lib/Text/Wrapper.pm',
requires => { perl => 5.004 },
build_requires => {
'FindBin' => 0,
@@ -28,6 +40,7 @@
},
create_makefile_pl => 'passthrough',
dynamic_config => 0,
+ meta_merge => { no_index => { directory => [ 'tools' ] }},
);
$builder->create_build_script();
Modified: trunk/libtext-wrapper-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-wrapper-perl/Changes?rev=19858&op=diff
==============================================================================
--- trunk/libtext-wrapper-perl/Changes (original)
+++ trunk/libtext-wrapper-perl/Changes Sun May 11 13:11:57 2008
@@ -1,18 +1,23 @@
Revision history for Perl extension Text::Wrapper.
-1.01 Mar 21 2007
+1.02 May 10, 2008
+ - no functional changes
+ - minor clean up to documentation
+ - use Module::Build::DistVersion for packaging
+
+1.01 March 21, 2007
- converted to Module::Build
- - updated my email address
- - added example/gettysburg.pl
- - added POD tests & fixed POD error
+ - updated my email address
+ - added example/gettysburg.pl
+ - added POD tests & fixed POD error
-1.000 Oct 26 1998
- - updated my email address
+1.000 October 26, 1998
+ - updated my email address
-0.008 Oct 22 1998
+0.008 October 22, 1998
- Mention that you need Perl 5.004 or later
- Don't infinite loop on long words (but it still doesn't break them)
(thanks to Ken Williams <ken at forum.swarthmore.edu>)
-0.007 May 14 1998
+0.007 May 14, 1998
- First public release
Modified: trunk/libtext-wrapper-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-wrapper-perl/MANIFEST?rev=19858&op=diff
==============================================================================
--- trunk/libtext-wrapper-perl/MANIFEST (original)
+++ trunk/libtext-wrapper-perl/MANIFEST Sun May 11 13:11:57 2008
@@ -5,9 +5,9 @@
Makefile.PL MakeMaker wrapper for Module::Build
MANIFEST See MANIFEST
META.yml
-My_Build.pm Customize Module::Build
README About the Text::Wrapper module
t/00.load.t
t/10.wrapper.t Testing... 1, 2, 3, Testing... 1, 2, 3
t/pod-coverage.t
t/pod.t
+tools/README.tt
Modified: trunk/libtext-wrapper-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-wrapper-perl/META.yml?rev=19858&op=diff
==============================================================================
--- trunk/libtext-wrapper-perl/META.yml (original)
+++ trunk/libtext-wrapper-perl/META.yml Sun May 11 13:11:57 2008
@@ -1,8 +1,8 @@
---
name: Text-Wrapper
-version: 1.01
+version: 1.02
author:
- - Christopher J. Madsen <perl at cjmweb.net>
+ - 'Christopher J. Madsen <perl at cjmweb.net>'
abstract: Simple word wrapping routine
license: perl
resources:
@@ -18,8 +18,11 @@
provides:
Text::Wrapper:
file: lib/Text/Wrapper.pm
- version: 1.01
-generated_by: Module::Build version 0.2805
+ version: 1.02
+generated_by: Module::Build version 0.2808
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
+no_index:
+ directory:
+ - tools
Modified: trunk/libtext-wrapper-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-wrapper-perl/Makefile.PL?rev=19858&op=diff
==============================================================================
--- trunk/libtext-wrapper-perl/Makefile.PL (original)
+++ trunk/libtext-wrapper-perl/Makefile.PL Sun May 11 13:11:57 2008
@@ -25,7 +25,7 @@
chdir $cwd or die "Cannot chdir() back to $cwd: $!";
}
eval "use Module::Build::Compat 0.02; 1" or die $@;
- use lib '.';
+
Module::Build::Compat->run_build_pl(args => \@ARGV);
- require My_Build;
- Module::Build::Compat->write_makefile(build_class => 'My_Build');
+ require Module::Build;
+ Module::Build::Compat->write_makefile(build_class => 'Module::Build');
Modified: trunk/libtext-wrapper-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-wrapper-perl/README?rev=19858&op=diff
==============================================================================
--- trunk/libtext-wrapper-perl/README (original)
+++ trunk/libtext-wrapper-perl/README Sun May 11 13:11:57 2008
@@ -1,4 +1,4 @@
-Text::Wrapper 1.01
+Text::Wrapper version 1.02, released May 10, 2008
Copyright 1998 Christopher J. Madsen
DESCRIPTION
@@ -24,13 +24,12 @@
RECENT CHANGES
- Version 1.01 updates my email address and modernizes the build
- system (to Module::Build). There are no functional changes.
+ Here's what's new in version 1.02 of Text::Wrapper:
+ (See the file "Changes" for the full revision history.)
- Version 1.000 ends the beta stage and updates my email address.
-
- Version 0.008 corrects a bug that caused an infinite loop if a
- word was too long to fit on a single line.
+ - no functional changes
+ - minor clean up to documentation
+ - use Module::Build::DistVersion for packaging
LICENSE
Modified: trunk/libtext-wrapper-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-wrapper-perl/debian/changelog?rev=19858&op=diff
==============================================================================
--- trunk/libtext-wrapper-perl/debian/changelog (original)
+++ trunk/libtext-wrapper-perl/debian/changelog Sun May 11 13:11:57 2008
@@ -1,3 +1,9 @@
+libtext-wrapper-perl (1.02-1) UNRELEASED; urgency=low
+
+ * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org> Sun, 11 May 2008 15:09:53 +0200
+
libtext-wrapper-perl (1.01-1) unstable; urgency=low
* Take over for the Debian Perl Group; Closes: #479671 -- RFA
Modified: trunk/libtext-wrapper-perl/lib/Text/Wrapper.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-wrapper-perl/lib/Text/Wrapper.pm?rev=19858&op=diff
==============================================================================
--- trunk/libtext-wrapper-perl/lib/Text/Wrapper.pm (original)
+++ trunk/libtext-wrapper-perl/lib/Text/Wrapper.pm Sun May 11 13:11:57 2008
@@ -28,7 +28,7 @@
BEGIN
{
- $VERSION = '1.01';
+ $VERSION = '1.02';
} # end BEGIN
#=====================================================================
@@ -121,6 +121,11 @@
Text::Wrapper - Simple word wrapping routine
+=head1 VERSION
+
+This document describes version 1.02 of Text::Wrapper, released May 10, 2008.
+
+
=head1 SYNOPSIS
require Text::Wrapper;
@@ -129,18 +134,18 @@
=head1 DESCRIPTION
-B<Text::Wrapper> provides simple word wrapping. It breaks long lines,
+Text::Wrapper provides simple word wrapping. It breaks long lines,
but does not alter spacing or remove existing line breaks. If you're
looking for more sophisticated text formatting, try the
L<Text::Format> module.
-Reasons to use B<Text::Wrapper> instead of B<Text::Format>:
+Reasons to use Text::Wrapper instead of Text::Format:
=over 4
=item *
-B<Text::Wrapper> is significantly smaller.
+Text::Wrapper is significantly smaller.
=item *
@@ -149,8 +154,8 @@
=back
-Again, if B<Text::Wrapper> doesn't meet your needs, try
-B<Text::Format>.
+Again, if Text::Wrapper doesn't meet your needs, try
+Text::Format.
=head2 Methods
@@ -158,7 +163,7 @@
=item $wrapper = Text::Wrapper->new( [options] )
-Constructs a new B<Text::Wrapper> object. The options are specified
+Constructs a new Text::Wrapper object. The options are specified
by key and value. The keys are:
body_start The text that begins the second and following lines of
@@ -185,27 +190,63 @@
=back
-=head1 BUGS
+
+=head1 DEPENDENCIES
+
+None.
+
+
+=head1 INCOMPATIBILITIES
+
+None reported.
+
+
+=head1 BUGS AND LIMITATIONS
Does not handle tabs (they're treated just like spaces).
Does not break words that can't fit on one line.
-=head1 LICENSE
-
-Text::Wrapper is distributed under the same terms as Perl itself.
-
-This means it is distributed in the hope that it will be useful, but
-I<without any warranty>; without even the implied warranty of
-I<merchantability> or I<fitness for a particular purpose>. See the
-GNU General Public License or the Artistic License for more details.
=head1 AUTHOR
-Christopher J. Madsen E<lt>F<perl AT cjmweb.net>E<gt>
-
-Please send bug reports to F<bug-Text-Wrapper AT rt.cpan.org>, or
-use the web interface at
+Christopher J. Madsen S<< C<< <perl AT cjmweb.net> >> >>
+
+Please report any bugs or feature requests to
+S<< C<< <bug-Text-Wrapper AT rt.cpan.org> >> >>,
+or through the web interface at
L<http://rt.cpan.org/Public/Bug/Report.html?Queue=Text-Wrapper>
+
+=head1 LICENSE AND COPYRIGHT
+
+Copyright 1998 Christopher J. Madsen
+
+Text::Wrapper is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+
+=head1 DISCLAIMER OF WARRANTY
+
+BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
+EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
+ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
+YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
+NECESSARY SERVICING, REPAIR, OR CORRECTION.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
+LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
+OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
+THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
=cut
More information about the Pkg-perl-cvs-commits
mailing list