r19212 - in /branches/upstream/libtie-cphash-perl/current: Build.PL Changes MANIFEST META.yml Makefile.PL My_Build.pm README lib/Tie/CPHash.pm tools/ tools/README.tt
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Apr 27 19:00:23 UTC 2008
Author: gregoa
Date: Sun Apr 27 19:00:21 2008
New Revision: 19212
URL: http://svn.debian.org/wsvn/?sc=1&rev=19212
Log:
[svn-upgrade] Integrating new upstream version, libtie-cphash-perl (1.04)
Added:
branches/upstream/libtie-cphash-perl/current/tools/
branches/upstream/libtie-cphash-perl/current/tools/README.tt
Removed:
branches/upstream/libtie-cphash-perl/current/My_Build.pm
Modified:
branches/upstream/libtie-cphash-perl/current/Build.PL
branches/upstream/libtie-cphash-perl/current/Changes
branches/upstream/libtie-cphash-perl/current/MANIFEST
branches/upstream/libtie-cphash-perl/current/META.yml
branches/upstream/libtie-cphash-perl/current/Makefile.PL
branches/upstream/libtie-cphash-perl/current/README
branches/upstream/libtie-cphash-perl/current/lib/Tie/CPHash.pm
Modified: branches/upstream/libtie-cphash-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libtie-cphash-perl/current/Build.PL?rev=19212&op=diff
==============================================================================
--- branches/upstream/libtie-cphash-perl/current/Build.PL (original)
+++ branches/upstream/libtie-cphash-perl/current/Build.PL Sun Apr 27 19:00:21 2008
@@ -1,24 +1,37 @@
#! /usr/bin/perl
#---------------------------------------------------------------------
-# $Id: Build.PL 1714 2007-03-22 21:31:33Z cjm $
+# $Id: Build.PL 1999 2008-04-27 01:35:25Z cjm $
# Copyright 2007 Christopher J. Madsen
#
# Build.PL for Tie-CPHash
#---------------------------------------------------------------------
use strict;
-use warnings;
+#use warnings; # Wasn't core in 5.005
-use FindBin;
-use lib $FindBin::Bin; # Make sure we're using My_Build from our distribution
+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
-use My_Build; # Our customized version of Module::Build
-
-my $builder = My_Build->new(
+my $builder = $class->new(
module_name => 'Tie::CPHash',
license => 'perl',
dist_author => 'Christopher J. Madsen <perl at cjmweb.net>',
dist_version_from => 'lib/Tie/CPHash.pm',
+ requires => {
+ 'perl' => '5.005',
+ },
build_requires => {
'FindBin' => 0,
'File::Spec' => 0,
@@ -27,6 +40,7 @@
},
create_makefile_pl => 'passthrough',
dynamic_config => 0,
+ meta_merge => { no_index => { directory => [ 'tools' ] }},
);
$builder->create_build_script();
Modified: branches/upstream/libtie-cphash-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libtie-cphash-perl/current/Changes?rev=19212&op=diff
==============================================================================
--- branches/upstream/libtie-cphash-perl/current/Changes (original)
+++ branches/upstream/libtie-cphash-perl/current/Changes Sun Apr 27 19:00:21 2008
@@ -1,17 +1,22 @@
Revision history for Perl extension Tie::CPHash.
-1.03 Mar 22 2007
- - no functional changes
- - converted to Module::Build
- - added tests
- - updated my email address
+1.04 April 26, 2008
+ - no functional changes
+ - fixed conflict with build system and Perl 5.005
+ - minor clean up to documentation
-1.02 Mar 12 2006
- - Added SCALAR method (thanks to Yitzchak Scott-Thoennes)
- - updated my email address
+1.03 March 22, 2007
+ - no functional changes
+ - converted to Module::Build
+ - added tests
+ - updated my email address
-1.001 Oct 25 1998
- - updated my email address
+1.02 March 12, 2006
+ - Added SCALAR method (thanks to Yitzchak Scott-Thoennes)
+ - updated my email address
-1.000 Jan 15 1998
+1.001 October 25, 1998
+ - updated my email address
+
+1.000 January 15, 1998
- First public release; created by h2xs 1.18
Modified: branches/upstream/libtie-cphash-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/branches/upstream/libtie-cphash-perl/current/MANIFEST?rev=19212&op=diff
==============================================================================
--- branches/upstream/libtie-cphash-perl/current/MANIFEST (original)
+++ branches/upstream/libtie-cphash-perl/current/MANIFEST Sun Apr 27 19:00:21 2008
@@ -4,8 +4,8 @@
Makefile.PL MakeMaker compatible wrapper
MANIFEST See MANIFEST
META.yml Module meta-data (added by Module::Build)
-My_Build.pm Customize Module::Build
README About the Tie::CPHash module
+tools/README.tt Template Toolkit source for README
t/00.load.t
t/10.CPHash.t Testing... 1, 2, 3, Testing... 1, 2, 3
t/pod-coverage.t
Modified: branches/upstream/libtie-cphash-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libtie-cphash-perl/current/META.yml?rev=19212&op=diff
==============================================================================
--- branches/upstream/libtie-cphash-perl/current/META.yml (original)
+++ branches/upstream/libtie-cphash-perl/current/META.yml Sun Apr 27 19:00:21 2008
@@ -1,12 +1,14 @@
---
name: Tie-CPHash
-version: 1.03
+version: 1.04
author:
- - Christopher J. Madsen <perl at cjmweb.net>
+ - 'Christopher J. Madsen <perl at cjmweb.net>'
abstract: Case preserving but case insensitive hash table
license: perl
resources:
license: http://dev.perl.org/licenses/
+requires:
+ perl: 5.005
build_requires:
File::Spec: 0
FindBin: 0
@@ -16,8 +18,11 @@
provides:
Tie::CPHash:
file: lib/Tie/CPHash.pm
- version: 1.03
-generated_by: Module::Build version 0.2805
+ version: 1.04
+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: branches/upstream/libtie-cphash-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libtie-cphash-perl/current/Makefile.PL?rev=19212&op=diff
==============================================================================
--- branches/upstream/libtie-cphash-perl/current/Makefile.PL (original)
+++ branches/upstream/libtie-cphash-perl/current/Makefile.PL Sun Apr 27 19:00:21 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: branches/upstream/libtie-cphash-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libtie-cphash-perl/current/README?rev=19212&op=diff
==============================================================================
--- branches/upstream/libtie-cphash-perl/current/README (original)
+++ branches/upstream/libtie-cphash-perl/current/README Sun Apr 27 19:00:21 2008
@@ -1,5 +1,4 @@
-Tie::CPHash 1.03
-Copyright 1997 Christopher J. Madsen
+Tie::CPHash version 1.04, released April 26, 2008
DESCRIPTION
@@ -13,7 +12,33 @@
the key was last used to store the entry. The `keys' and `each'
functions will return the key that was used to set the value.
-LICENSE
+
+
+INSTALLATION
+
+To install this module, run the following commands:
+
+ perl Build.PL
+ ./Build
+ ./Build test
+ ./Build install
+
+While Tie::CPHash should function with any version of Perl 5, the
+build system requires at least Perl 5.005. To install on older
+versions of Perl, you'll have to manually copy lib/Tie/CPHash.pm to
+your Perl library search path.
+
+
+
+DEPENDENCIES
+
+None.
+
+
+
+COPYRIGHT AND LICENCE
+
+ Copyright 1997-2008 Christopher J. Madsen
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
Modified: branches/upstream/libtie-cphash-perl/current/lib/Tie/CPHash.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libtie-cphash-perl/current/lib/Tie/CPHash.pm?rev=19212&op=diff
==============================================================================
--- branches/upstream/libtie-cphash-perl/current/lib/Tie/CPHash.pm (original)
+++ branches/upstream/libtie-cphash-perl/current/lib/Tie/CPHash.pm Sun Apr 27 19:00:21 2008
@@ -1,11 +1,11 @@
#---------------------------------------------------------------------
package Tie::CPHash;
#
-# Copyright 1997 Christopher J. Madsen
+# Copyright 1997-2008 Christopher J. Madsen
#
# Author: Christopher J. Madsen <perl at cjmweb.net>
# Created: 08 Nov 1997
-# $Id: CPHash.pm 1714 2007-03-22 21:31:33Z cjm $
+# $Id: CPHash.pm 1999 2008-04-27 01:35:25Z cjm $
#
# This program is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself.
@@ -20,14 +20,13 @@
require 5.000;
use strict;
-use vars qw(@ISA $VERSION);
-
- at ISA = qw();
+#use warnings; # Wasn't core until 5.6.0
+use vars qw($VERSION);
#=====================================================================
# Package Global Variables:
-$VERSION = '1.03';
+$VERSION = '1.04';
#=====================================================================
# Tied Methods:
@@ -139,6 +138,11 @@
=head1 NAME
Tie::CPHash - Case preserving but case insensitive hash table
+
+=head1 VERSION
+
+This document describes version 1.04 of Tie::CPHash, released April 26, 2008.
+
=head1 SYNOPSIS
@@ -152,7 +156,7 @@
=head1 DESCRIPTION
-The B<Tie::CPHash> module provides a hash table that is case
+The Tie::CPHash module provides a hash table that is case
preserving but case insensitive. This means that
$cphash{KEY} $cphash{key}
@@ -181,23 +185,48 @@
If you need a case insensitive hash, but don't need to preserve case,
just use C<$hash{lc $key}> instead of C<$hash{$key}>. This has a lot
-less overhead than B<Tie::CPHash>.
-
-=head1 LICENSE
-
-Tie::CPHash 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.
+less overhead than Tie::CPHash.
+
=head1 AUTHOR
-Christopher J. Madsen E<lt>F<perl AT cjmweb.net>E<gt>
-
-Please send bug reports to F<bug-Tie-CPHash 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-Tie-CPHash AT rt.cpan.org> >> >>,
+or through the web interface at
L<http://rt.cpan.org/Public/Bug/Report.html?Queue=Tie-CPHash>
+
+=head1 LICENSE AND COPYRIGHT
+
+Copyright 1997-2008 Christopher J. Madsen
+
+This module is free software; you can redistribute it and/or
+modify it under the same terms as Perl itself. See L<perlartistic>.
+
+
+=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
Added: branches/upstream/libtie-cphash-perl/current/tools/README.tt
URL: http://svn.debian.org/wsvn/branches/upstream/libtie-cphash-perl/current/tools/README.tt?rev=19212&op=file
==============================================================================
--- branches/upstream/libtie-cphash-perl/current/tools/README.tt (added)
+++ branches/upstream/libtie-cphash-perl/current/tools/README.tt Sun Apr 27 19:00:21 2008
@@ -1,0 +1,51 @@
+[% # $Id: README.tt 1999 2008-04-27 01:35:25Z cjm $ %]
+Tie::CPHash version [%version%], released [%date%]
+
+
+DESCRIPTION
+
+ This module provides a case preserving but case insensitive hash.
+ This means that
+
+ $cphash{KEY} $cphash{key}
+ $cphash{Key} $cphash{keY}
+
+ all refer to the same entry. Also, the hash remembers which form of
+ the key was last used to store the entry. The `keys' and `each'
+ functions will return the key that was used to set the value.
+
+
+
+INSTALLATION
+
+To install this module, run the following commands:
+
+ perl Build.PL
+ ./Build
+ ./Build test
+ ./Build install
+
+While Tie::CPHash should function with any version of Perl 5, the
+build system requires at least Perl 5.005. To install on older
+versions of Perl, you'll have to manually copy lib/Tie/CPHash.pm to
+your Perl library search path.
+
+
+
+DEPENDENCIES
+
+None.
+
+
+
+COPYRIGHT AND LICENCE
+
+ Copyright 1997-2008 Christopher J. Madsen
+
+ This program is free software; you can redistribute it and/or modify
+ it under the same terms as Perl itself.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the
+ GNU General Public License or the Artistic License for more details.
More information about the Pkg-perl-cvs-commits
mailing list