r55786 - in /trunk/libhttp-oai-perl: CHANGES LICENSE MANIFEST META.yml Makefile.PL debian/changelog debian/copyright lib/HTTP/OAI.pm lib/HTTP/OAI/Header.pm lib/HTTP/OAI/Record.pm lib/HTTP/OAI/UserAgent.pm

lars at users.alioth.debian.org lars at users.alioth.debian.org
Fri Apr 9 02:00:43 UTC 2010


Author: lars
Date: Fri Apr  9 02:00:20 2010
New Revision: 55786

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55786
Log:
Upgrade to upstream version 3.23.

Added:
    trunk/libhttp-oai-perl/LICENSE
      - copied unchanged from r55785, branches/upstream/libhttp-oai-perl/current/LICENSE
Modified:
    trunk/libhttp-oai-perl/CHANGES
    trunk/libhttp-oai-perl/MANIFEST
    trunk/libhttp-oai-perl/META.yml
    trunk/libhttp-oai-perl/Makefile.PL
    trunk/libhttp-oai-perl/debian/changelog
    trunk/libhttp-oai-perl/debian/copyright
    trunk/libhttp-oai-perl/lib/HTTP/OAI.pm
    trunk/libhttp-oai-perl/lib/HTTP/OAI/Header.pm
    trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm
    trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm

Modified: trunk/libhttp-oai-perl/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/CHANGES?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/CHANGES (original)
+++ trunk/libhttp-oai-perl/CHANGES Fri Apr  9 02:00:20 2010
@@ -1,3 +1,8 @@
+3.23
+	- Changed license to BSD
+	- Added dependency for XML::SAX rt #43287
+	- Fixed some POD issues rt #51853
+
 3.22
 	- use XML::SAX::Parser rather than ParserFactory
 	- test the namespace on NamespaceURI rather than the XMLNS attribute, which

Modified: trunk/libhttp-oai-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/MANIFEST?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/MANIFEST (original)
+++ trunk/libhttp-oai-perl/MANIFEST Fri Apr  9 02:00:20 2010
@@ -1,6 +1,7 @@
 bin/oai_browser.pl
 bin/oai_static_gateway.pl
 CHANGES
+LICENSE
 examples/badbytes.xml
 examples/getrecord.xml
 examples/identify.xml

Modified: trunk/libhttp-oai-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/META.yml?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/META.yml (original)
+++ trunk/libhttp-oai-perl/META.yml Fri Apr  9 02:00:20 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                HTTP-OAI
-version:             3.22
+version:             3.23
 abstract:            ~
 license:             ~
 author:              ~
@@ -16,6 +16,7 @@
     URI:                           0
     XML::LibXML:                   1.6
     XML::LibXML::SAX:              0
+    XML::SAX:                      0
     XML::SAX::Base:                1
 meta-spec:
     url:     http://module-build.sourceforge.net/META-spec-v1.3.html

Modified: trunk/libhttp-oai-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/Makefile.PL?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/Makefile.PL (original)
+++ trunk/libhttp-oai-perl/Makefile.PL Fri Apr  9 02:00:20 2010
@@ -15,6 +15,7 @@
 				'XML::LibXML' => 1.60,
 				'XML::LibXML::SAX' => 0,
 				'XML::SAX::Base' => 1.00,
+				'XML::SAX' => 0,
 				'URI' => 0,
 				'HTTP::Request' => 0,
 				'HTTP::Response' => 0,

Modified: trunk/libhttp-oai-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/changelog?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/debian/changelog (original)
+++ trunk/libhttp-oai-perl/debian/changelog Fri Apr  9 02:00:20 2010
@@ -1,7 +1,4 @@
-libhttp-oai-perl (3.22-1) UNRELEASED; urgency=low
-
-  TODO:
-  - upstream has released 3.23
+libhttp-oai-perl (3.23-1) UNRELEASED; urgency=low
 
   * Initial Release. (Closes: #576757)
   * Set build-dependency on libxml-sax-perl to be >= 0.96, not >= 1.
@@ -10,4 +7,5 @@
     the upstream maintainer. (Documented here for posterity, in case
     anyone wonders what's going on.)
 
- -- Lars Wirzenius <lars at catalyst.net.nz>  Thu, 08 Apr 2010 11:34:02 +1200
+ -- Lars Wirzenius <lars at catalyst.net.nz>  Fri, 09 Apr 2010 13:47:35 +1200
+

Modified: trunk/libhttp-oai-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/copyright?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/debian/copyright (original)
+++ trunk/libhttp-oai-perl/debian/copyright Fri Apr  9 02:00:20 2010
@@ -1,28 +1,42 @@
 Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
-Maintainer: Tim Brody <tdb01r at ecs.soton.ac.uk>
+Maintainer: Timothy D Brody <tdb01r at ecs.soton.ac.uk>
 Source: http://search.cpan.org/dist/HTTP-OAI/
 Name: HTTP-OAI
 
 Files: *
-Copyright: 2004, Tim Brody <tdb01r at ecs.soton.ac.uk>
-License: Perl
+Copyright: 2004-2010, Timothy D Brody <tdb01r at ecs.soton.ac.uk>
+License: BSD
+ All rights reserved. 
+ .
+ Redistribution and use in source and binary forms, with or without 
+ modification, are permitted provided that the following conditions are met: 
+ .
+ * Redistributions of source code must retain the above copyright notice, 
+   this list of conditions and the following disclaimer. 
+ * Redistributions in binary form must reproduce the above copyright 
+   notice, this list of conditions and the following disclaimer in the 
+   documentation and/or other materials provided with the distribution. 
+ * Neither the name of University of Southampton nor the names of its 
+   contributors may be used to endorse or promote products derived from 
+   this software without specific prior written permission. 
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+ POSSIBILITY OF SUCH DAMAGE.
 
 Files: debian/*
 Copyright: 2010, Lars Wirzenius <lars at catalyst.net.nz>
-License: Artistic or GPL-1+
+License: GPL3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
 
-License: Artistic
- This program is free software; you can redistribute it and/or modify
- it under the terms of the Artistic License, which comes with Perl.
- .
- On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'
-
-License: GPL-1+
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
- .
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'

Modified: trunk/libhttp-oai-perl/lib/HTTP/OAI.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/lib/HTTP/OAI.pm?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/lib/HTTP/OAI.pm (original)
+++ trunk/libhttp-oai-perl/lib/HTTP/OAI.pm Fri Apr  9 02:00:20 2010
@@ -2,7 +2,7 @@
 
 use strict;
 
-our $VERSION = '3.22';
+our $VERSION = '3.23';
 
 # perlcore
 use Carp;
@@ -76,16 +76,21 @@
 
 =head1 DESCRIPTION
 
-This is a stub module, you probably want to look at L<HTTP::OAI::Harvester|HTTP::OAI::Harvester> or L<HTTP::OAI::Repository|HTTP::OAI::Repository>.
+This is a stub module, you probably want to look at
+L<HTTP::OAI::Harvester|HTTP::OAI::Harvester> or
+L<HTTP::OAI::Repository|HTTP::OAI::Repository>.
 
 =head1 SEE ALSO
 
-You can find links to this and other OAI tools (perl, C++, java) at: http://www.openarchives.org/tools/tools.html.
+You can find links to this and other OAI tools (perl, C++, java) at:
+http://www.openarchives.org/tools/tools.html.
 
 Ed Summers L<Net::OAI::Harvester> module.
 
 =head1 AUTHOR
 
-Copyright 2004 Tim Brody <tdb01r at ecs.soton.ac.uk>
+Copyright 2004-2010 Tim Brody <tdb2 at ecs.soton.ac.uk>, University of
+Southampton.
 
-These modules are distributed under the same terms as Perl.
+This module is free software and is released under the BSD License (see
+LICENSE).

Modified: trunk/libhttp-oai-perl/lib/HTTP/OAI/Header.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/lib/HTTP/OAI/Header.pm?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/lib/HTTP/OAI/Header.pm (original)
+++ trunk/libhttp-oai-perl/lib/HTTP/OAI/Header.pm Fri Apr  9 02:00:20 2010
@@ -156,6 +156,6 @@
 
 =item $dom_fragment = $id->generate()
 
-Act as a SAX driver (use C<$h->set_handler()> to specify the filter to pass events to).
+Act as a SAX driver (use C<< $h->set_handler() >> to specify the filter to pass events to).
 
 =back

Modified: trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm (original)
+++ trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm Fri Apr  9 02:00:20 2010
@@ -112,9 +112,15 @@
 
 =over 4
 
-=item $r = new HTTP::OAI::Record([header=>$header],[metadata=>$metadata],[about=>[$about]])
+=item $r = new HTTP::OAI::Record( %opts )
 
-This constructor method returns a new C<HTTP::OAI::Record object>. Optionally set the header, metadata, and add an about.
+This constructor method returns a new L<HTTP::OAI::Record> object.
+
+Options (see methods below):
+
+	header => $header
+	metadata => $metadata
+	about => [$about]
 
 =item $r->header([HTTP::OAI::Header])
 
@@ -132,7 +138,7 @@
 
 =head2 Header Accessor Methods
 
-These methods are equivalent to C<$rec->header->$method([$value])>.
+These methods are equivalent to C<< $rec->header->$method([$value]) >>.
 
 =over 4
 

Modified: trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm?rev=55786&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm (original)
+++ trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm Fri Apr  9 02:00:20 2010
@@ -274,11 +274,19 @@
 
 Requests the HTTP response defined by $req, which is a L<HTTP::Request|HTTP::Request> object.
 
-=item $r = $ua->request(baseURL=>$baseref,verb=>$verb,[from=>$from],[until=>$until],[resumptionToken=>$token],[metadataPrefix=>$mdp],[set=>$set],[oainame=>$oaivalue],...)
-
-Makes an HTTP request to the given OAI server (baseURL) with OAI arguments. Returns an HTTP::Response object.
-
-=item $str = $ua->url(baseURL=>$baseref,verb=>$verb,...)
+=item $r = $ua->request(baseURL=>$baseref, verb=>$verb, %opts)
+
+Makes an HTTP request to the given OAI server (baseURL) with OAI arguments. Returns an L<HTTP::Response> object.
+
+OAI-PMH related options:
+
+	from => $from
+	until => $until
+	resumptionToken => $token
+	metadataPrefix => $mdp
+	set => $set
+
+=item $str = $ua->url(baseURL=>$baseref, verb=>$verb, ...)
 
 Takes the same arguments as request, but returns the URL that would be requested.
 




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