r14728 - in /trunk/libflickr-api-perl: META.yml debian/changelog debian/control debian/copyright debian/rules debian/watch lib/Flickr/API.pm
tincho-guest at users.alioth.debian.org
tincho-guest at users.alioth.debian.org
Mon Feb 11 08:59:28 UTC 2008
Author: tincho-guest
Date: Mon Feb 11 08:59:27 2008
New Revision: 14728
URL: http://svn.debian.org/wsvn/?sc=1&rev=14728
Log:
FIXME: have this ever worked for somebody? the xml parser it uses is totally
FUBAR. See: #465198, #461194
* New upstream release.
* debian/watch: use dist/ URL.
* debian/control:
- remove unneeded reference to perldoc in the web.
- add myself to Uploaders and set Maintainer to DPG.
- bump Standards-Version (no changes).
- remove spurious dependency on libsoap-lite-perl.
* debian/copyright: new format.
Modified:
trunk/libflickr-api-perl/META.yml
trunk/libflickr-api-perl/debian/changelog
trunk/libflickr-api-perl/debian/control
trunk/libflickr-api-perl/debian/copyright
trunk/libflickr-api-perl/debian/rules
trunk/libflickr-api-perl/debian/watch
trunk/libflickr-api-perl/lib/Flickr/API.pm
Modified: trunk/libflickr-api-perl/META.yml
URL: http://svn.debian.org/wsvn/trunk/libflickr-api-perl/META.yml?rev=14728&op=diff
==============================================================================
--- trunk/libflickr-api-perl/META.yml (original)
+++ trunk/libflickr-api-perl/META.yml Mon Feb 11 08:59:27 2008
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Flickr-API
-version: 0.08
+version: 0.09
version_from: lib/Flickr/API.pm
installdirs: site
requires:
Modified: trunk/libflickr-api-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libflickr-api-perl/debian/changelog?rev=14728&op=diff
==============================================================================
--- trunk/libflickr-api-perl/debian/changelog (original)
+++ trunk/libflickr-api-perl/debian/changelog Mon Feb 11 08:59:27 2008
@@ -1,12 +1,24 @@
-libflickr-api-perl (0.08-3) UNRELEASED; urgency=low
+libflickr-api-perl (0.09-1) UNRELEASED; urgency=low
+
+ FIXME: have this ever worked for somebody? the xml parser it uses is totally
+ FUBAR. See: #465198, #461194
[ Damyan Ivanov ]
- * NEEDS WORK - Maintainer, watch, etc
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza).
[ gregor herrmann ]
* debian/rules: delete /usr/lib/perl5 only if it exists.
+
+ [ MartÃn Ferrari ]
+ * New upstream release.
+ * debian/watch: use dist/ URL.
+ * debian/control:
+ - remove unneeded reference to perldoc in the web.
+ - add myself to Uploaders and set Maintainer to DPG.
+ - bump Standards-Version (no changes).
+ - remove spurious dependency on libsoap-lite-perl.
+ * debian/copyright: new format.
-- Damyan Ivanov <dmn at debian.org> Fri, 07 Dec 2007 13:51:30 +0200
Modified: trunk/libflickr-api-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libflickr-api-perl/debian/control?rev=14728&op=diff
==============================================================================
--- trunk/libflickr-api-perl/debian/control (original)
+++ trunk/libflickr-api-perl/debian/control Mon Feb 11 08:59:27 2008
@@ -1,21 +1,21 @@
Source: libflickr-api-perl
Section: perl
Priority: extra
-Maintainer: Jose Luis Rivas <ghostbar38 at gmail.com>
-Build-Depends-Indep: perl, libsoap-lite-perl, libxml-parser-lite-tree-perl
-Build-Depends: cdbs, debhelper (>= 5),
-Standards-Version: 3.7.2
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: MartÃn Ferrari <martin.ferrari at gmail.com>,
+ Jose Luis Rivas <ghostbar38 at gmail.com>
+Build-Depends-Indep: perl, libxml-parser-lite-tree-perl
+Build-Depends: cdbs, debhelper (>= 5)
+Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Flickr-API/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libflickr-api-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libflickr-api-perl/
Package: libflickr-api-perl
Architecture: all
-Depends: ${perl:Depends}, libsoap-lite-perl, libxml-parser-lite-tree-perl
+Depends: ${perl:Depends}, libxml-parser-lite-tree-perl
Description: Perl interface to the Flickr API
A simple interface for using the Flickr API.
.
Flickr::API is a subclass of LWP::UserAgent, so all of the various proxy,
request limits, caching, etc are available.
- .
- http://search.cpan.org/perldoc?Flickr::API
Modified: trunk/libflickr-api-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libflickr-api-perl/debian/copyright?rev=14728&op=diff
==============================================================================
--- trunk/libflickr-api-perl/debian/copyright (original)
+++ trunk/libflickr-api-perl/debian/copyright Mon Feb 11 08:59:27 2008
@@ -1,19 +1,23 @@
This package was debianized by Jose Luis Rivas <ghostbar38 at gmail.com> on
Thu, 19 Apr 2007 17:44:20 -0400.
-It was downloaded from http://search.cpan.org/~iamcal/Flickr-API-0.08
+It was downloaded from http://search.cpan.org/dist/Flickr-API/
-Upstream Author: Cal Henderson <cal at iamcal.com>
+Upstream author: Cal Henderson <cal at iamcal.com>
-Copyright: Copyright (C) 2004-2005, Cal Henderson, <cal at iamcal.com>
+Files: *
+Copyright: © 2004-2005, Cal Henderson, <cal at iamcal.com>
+License: Artistic
+ License: Perl Artistic License
-License:
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the "Artistic License" which comes with Perl.
+Files: debian/*
+Copyright: © 2007, Jose Luis Rivas <ghostbar38 at gmail.com>
+ © 2008, Debian Perl Group
+ <pkg-perl-maintainers at lists.alioth.debian.org>
+License: GPL
On Debian GNU/Linux systems, the complete text of the Artistic Licence
can be found in `/usr/share/common-licenses/Artistic'.
-The Debian packaging is (C) 2007, Jose Luis Rivas <ghostbar38 at gmail.com> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+On Debian GNU/Linux systems, the complete text of the GPL
+can be found in `/usr/share/common-licenses/GPL'.
Modified: trunk/libflickr-api-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libflickr-api-perl/debian/rules?rev=14728&op=diff
==============================================================================
--- trunk/libflickr-api-perl/debian/rules (original)
+++ trunk/libflickr-api-perl/debian/rules Mon Feb 11 08:59:27 2008
@@ -5,4 +5,6 @@
include /usr/share/cdbs/1/rules/simple-patchsys.mk
install/libflickr-api-perl::
- [ ! -d debian/libflickr-api-perl/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose debian/libflickr-api-perl/usr/lib/perl5
+ [ ! -d debian/libflickr-api-perl/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ debian/libflickr-api-perl/usr/lib/perl5
Modified: trunk/libflickr-api-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libflickr-api-perl/debian/watch?rev=14728&op=diff
==============================================================================
--- trunk/libflickr-api-perl/debian/watch (original)
+++ trunk/libflickr-api-perl/debian/watch Mon Feb 11 08:59:27 2008
@@ -1,2 +1,3 @@
version=3
-http://search.cpan.org/CPAN/authors/id/I/IA/IAMCAL/Flickr-API-(.*)\.tar\.gz
+http://search.cpan.org/dist/Flickr-API/ \
+ .*/Flickr-API-v?(\d.*)\.tar\.gz
Modified: trunk/libflickr-api-perl/lib/Flickr/API.pm
URL: http://svn.debian.org/wsvn/trunk/libflickr-api-perl/lib/Flickr/API.pm?rev=14728&op=diff
==============================================================================
--- trunk/libflickr-api-perl/lib/Flickr/API.pm (original)
+++ trunk/libflickr-api-perl/lib/Flickr/API.pm Mon Feb 11 08:59:27 2008
@@ -10,7 +10,7 @@
our @ISA = qw(LWP::UserAgent);
-our $VERSION = '0.08';
+our $VERSION = '0.09';
sub new {
my $class = shift;
@@ -19,6 +19,12 @@
$self->{api_key} = $options->{key};
$self->{api_secret} = $options->{secret};
+ eval {
+ require Compress::Zlib;
+
+ $self->default_header('Accept-Encoding' => 'gzip');
+ };
+
warn "You must pass an API key to the constructor" unless defined $self->{api_key};
bless $self, $class;
@@ -96,7 +102,7 @@
return $response;
}
- my $tree = XML::Parser::Lite::Tree::instance()->parse($response->{_content});
+ my $tree = XML::Parser::Lite::Tree::instance()->parse($response->decoded_content());
my $rsp_node = $self->_find_tag($tree->{children});
More information about the Pkg-perl-cvs-commits
mailing list