r19214 - in /trunk/libtie-cphash-perl: Build.PL Changes MANIFEST META.yml Makefile.PL My_Build.pm README debian/changelog lib/Tie/CPHash.pm tools/

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Apr 27 19:04:26 UTC 2008


Author: gregoa
Date: Sun Apr 27 19:04:25 2008
New Revision: 19214

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19214
Log:
New upstream release.

Added:
    trunk/libtie-cphash-perl/tools/
      - copied from r19213, branches/upstream/libtie-cphash-perl/current/tools/
Removed:
    trunk/libtie-cphash-perl/My_Build.pm
Modified:
    trunk/libtie-cphash-perl/Build.PL
    trunk/libtie-cphash-perl/Changes
    trunk/libtie-cphash-perl/MANIFEST
    trunk/libtie-cphash-perl/META.yml
    trunk/libtie-cphash-perl/Makefile.PL
    trunk/libtie-cphash-perl/README
    trunk/libtie-cphash-perl/debian/changelog
    trunk/libtie-cphash-perl/lib/Tie/CPHash.pm

Modified: trunk/libtie-cphash-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/Build.PL?rev=19214&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/Build.PL (original)
+++ trunk/libtie-cphash-perl/Build.PL Sun Apr 27 19:04:25 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: trunk/libtie-cphash-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/Changes?rev=19214&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/Changes (original)
+++ trunk/libtie-cphash-perl/Changes Sun Apr 27 19:04:25 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: trunk/libtie-cphash-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/MANIFEST?rev=19214&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/MANIFEST (original)
+++ trunk/libtie-cphash-perl/MANIFEST Sun Apr 27 19:04:25 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: trunk/libtie-cphash-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/META.yml?rev=19214&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/META.yml (original)
+++ trunk/libtie-cphash-perl/META.yml Sun Apr 27 19:04:25 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: trunk/libtie-cphash-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/Makefile.PL?rev=19214&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/Makefile.PL (original)
+++ trunk/libtie-cphash-perl/Makefile.PL Sun Apr 27 19:04:25 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/libtie-cphash-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/README?rev=19214&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/README (original)
+++ trunk/libtie-cphash-perl/README Sun Apr 27 19:04:25 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: trunk/libtie-cphash-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/debian/changelog?rev=19214&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/debian/changelog (original)
+++ trunk/libtie-cphash-perl/debian/changelog Sun Apr 27 19:04:25 2008
@@ -1,10 +1,12 @@
-libtie-cphash-perl (1.03-3) UNRELEASED; urgency=low
+libtie-cphash-perl (1.04-1) UNRELEASED; urgency=low
 
   * debian/control: Changed: Maintainer set to Debian Perl Group <pkg-
     perl-maintainers at lists.alioth.debian.org> (was: Debian Perl Project
     <pkg-perl-maintainers at lists.alioth.debian.org>).
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 19 Jan 2008 01:55:16 +0100
+  * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org>  Sun, 27 Apr 2008 21:02:00 +0200
 
 libtie-cphash-perl (1.03-2) unstable; urgency=low
 

Modified: trunk/libtie-cphash-perl/lib/Tie/CPHash.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/lib/Tie/CPHash.pm?rev=19214&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/lib/Tie/CPHash.pm (original)
+++ trunk/libtie-cphash-perl/lib/Tie/CPHash.pm Sun Apr 27 19:04:25 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




More information about the Pkg-perl-cvs-commits mailing list