diff -Nru libwww-freshmeat-perl-0.21/Build.PL libwww-freshmeat-perl-0.22/Build.PL --- libwww-freshmeat-perl-0.21/Build.PL 2009-09-22 14:25:48.000000000 +0000 +++ libwww-freshmeat-perl-0.22/Build.PL 2010-10-11 07:11:39.000000000 +0000 @@ -11,6 +11,7 @@ requires => { 'LWP::UserAgent' => 0, 'XML::Simple' => 0, + 'XML::Parser' => 0, #for XML::Simple, in case of dependency problems 'perl' => 5.008, #'HTML::TreeBuilder::XPath' => 0.09, 'Mouse' => 0.24, #recent one diff -Nru libwww-freshmeat-perl-0.21/Changes libwww-freshmeat-perl-0.22/Changes --- libwww-freshmeat-perl-0.21/Changes 2009-12-29 19:47:17.000000000 +0000 +++ libwww-freshmeat-perl-0.22/Changes 2012-02-28 04:21:45.000000000 +0000 @@ -1,5 +1,9 @@ Revision history for WWW-Freshmeat +0.22 2012-02-28 + - 'Mirror site' will map to 'url_mirror' + - Compatibility support for old urls that now redirect to freecode.com + 0.21 2009-12-29 - redir_url will return string, not an URI object diff -Nru libwww-freshmeat-perl-0.21/debian/changelog libwww-freshmeat-perl-0.22/debian/changelog --- libwww-freshmeat-perl-0.21/debian/changelog 2012-05-01 02:01:34.000000000 +0000 +++ libwww-freshmeat-perl-0.22/debian/changelog 2012-03-05 07:49:01.000000000 +0000 @@ -1,3 +1,21 @@ +libwww-freshmeat-perl (0.22-1) unstable; urgency=low + + [ Ansgar Burchardt ] + * debian/control: Convert Vcs-* fields to Git. + + [ Florian Schlichting ] + * Imported Upstream version 0.22. + * Added (Build-)Dependency on libxml-parser-perl, wrap-and-sort. + * Bumped Standards-Version to 3.9.3 (directly link GPL-1, Format 1.0). + * Bumped compatibility level to 8 (no change). + * Switched to source format 3.0 (quilt). + * Bumped year of upstream copyright. + * Refreshed and forwarded fix-whatis.patch. + * Added myself to Uploaders and copyright. + * Added Build-Dependency on liblwp-online-perl, required by t/project.t. + + -- Florian Schlichting Sun, 04 Mar 2012 21:37:42 +0100 + libwww-freshmeat-perl (0.21-1) unstable; urgency=low * New upstream release diff -Nru libwww-freshmeat-perl-0.21/debian/compat libwww-freshmeat-perl-0.22/debian/compat --- libwww-freshmeat-perl-0.21/debian/compat 2012-05-01 02:01:34.000000000 +0000 +++ libwww-freshmeat-perl-0.22/debian/compat 2012-03-05 07:49:01.000000000 +0000 @@ -1 +1 @@ -7 +8 diff -Nru libwww-freshmeat-perl-0.21/debian/control libwww-freshmeat-perl-0.22/debian/control --- libwww-freshmeat-perl-0.21/debian/control 2012-05-01 02:01:34.000000000 +0000 +++ libwww-freshmeat-perl-0.22/debian/control 2012-03-05 07:49:01.000000000 +0000 @@ -1,21 +1,31 @@ Source: libwww-freshmeat-perl Section: perl Priority: optional -Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7) -Build-Depends-Indep: perl, libwww-perl, libxml-simple-perl, libmouse-perl, - libfile-slurp-perl, libtest-pod-perl +Build-Depends: debhelper (>= 8) +Build-Depends-Indep: libfile-slurp-perl, + liblwp-online-perl, + libmouse-perl, + libtest-pod-perl, + libwww-perl, + libxml-parser-perl, + libxml-simple-perl, + perl Maintainer: Debian Perl Group Uploaders: gregor herrmann , Antonio Radici , - Ryan Niebur , Jonathan Yu -Standards-Version: 3.8.3 + Ryan Niebur , Jonathan Yu , + Florian Schlichting +Standards-Version: 3.9.3 Homepage: http://search.cpan.org/dist/WWW-Freshmeat/ -Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwww-freshmeat-perl/ -Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libwww-freshmeat-perl/ +Vcs-Git: git://git.debian.org/pkg-perl/packages/libwww-freshmeat-perl.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libwww-freshmeat-perl.git Package: libwww-freshmeat-perl Architecture: all -Depends: ${perl:Depends}, ${misc:Depends}, libwww-perl, - libxml-simple-perl, libmouse-perl +Depends: ${perl:Depends}, ${misc:Depends}, + libmouse-perl, + libwww-perl, + libxml-parser-perl, + libxml-simple-perl Description: module to automate searches on Freshmeat.net WWW::Freshmeat is a Perl module that allows you to fetch information about projects from Freshmeat, such as name, URL, version and description. Because diff -Nru libwww-freshmeat-perl-0.21/debian/copyright libwww-freshmeat-perl-0.22/debian/copyright --- libwww-freshmeat-perl-0.21/debian/copyright 2012-05-01 02:01:34.000000000 +0000 +++ libwww-freshmeat-perl-0.22/debian/copyright 2012-03-05 07:49:01.000000000 +0000 @@ -1,32 +1,33 @@ -Format-Specification: - http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 -Upstream-Maintainer: Alexandr Ciornii -Upstream-Source: http://search.cpan.org/dist/WWW-Freshmeat/ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Contact: Alexandr Ciornii +Source: http://search.cpan.org/dist/WWW-Freshmeat/ Upstream-Name: WWW-Freshmeat Files: * -Copyright: 2009, Alexandr Ciornii +Copyright: 2009-2012, Alexandr Ciornii 2006, Cedric Bouvier -License-Alias: Perl -License: Artistic | GPL-1+ +License: Artistic or GPL-1+ Files: debian/* -Copyright: 2009, Jonathan Yu +Copyright: 2012, Florian Schlichting + 2009, Jonathan Yu 2009, Antonio Radici 2006-2009, gregor herrmann 2006, David Moreno Garza -License: Artistic | GPL-1+ +License: Artistic or GPL-1+ 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' + . + On Debian 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' + . + On Debian systems, the complete text of version 1 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1' diff -Nru libwww-freshmeat-perl-0.21/debian/patches/fix-whatis.patch libwww-freshmeat-perl-0.22/debian/patches/fix-whatis.patch --- libwww-freshmeat-perl-0.21/debian/patches/fix-whatis.patch 2012-05-01 02:01:34.000000000 +0000 +++ libwww-freshmeat-perl-0.22/debian/patches/fix-whatis.patch 2012-03-05 07:49:01.000000000 +0000 @@ -1,10 +1,11 @@ Description: fix whatis entry Author: Jonathan Yu Origin: vendor -Forwarded: no +Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=75530 + --- a/lib/WWW/Freshmeat/Project.pm +++ b/lib/WWW/Freshmeat/Project.pm -@@ -334,6 +334,9 @@ +@@ -335,6 +335,9 @@ } } diff -Nru libwww-freshmeat-perl-0.21/debian/README.source libwww-freshmeat-perl-0.22/debian/README.source --- libwww-freshmeat-perl-0.21/debian/README.source 2012-05-01 02:01:34.000000000 +0000 +++ libwww-freshmeat-perl-0.22/debian/README.source 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -This package uses quilt to manage all modifications to the upstream -source. Changes are stored in the source package as diffs in -debian/patches and applied during the build. - -See /usr/share/doc/quilt/README.source for a detailed explanation. diff -Nru libwww-freshmeat-perl-0.21/debian/rules libwww-freshmeat-perl-0.22/debian/rules --- libwww-freshmeat-perl-0.21/debian/rules 2012-05-01 02:01:34.000000000 +0000 +++ libwww-freshmeat-perl-0.22/debian/rules 2012-03-05 07:49:01.000000000 +0000 @@ -4,7 +4,7 @@ TEST_FILES = $(filter-out t/project.t,$(shell echo t/*.t)) %: - dh --with quilt $@ + dh $@ override_dh_auto_test: dh_auto_test -- TEST_FILES="$(TEST_FILES)" diff -Nru libwww-freshmeat-perl-0.21/debian/source/format libwww-freshmeat-perl-0.22/debian/source/format --- libwww-freshmeat-perl-0.21/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ libwww-freshmeat-perl-0.22/debian/source/format 2012-05-01 02:01:35.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru libwww-freshmeat-perl-0.21/lib/WWW/Freshmeat/Project/URL.pm libwww-freshmeat-perl-0.22/lib/WWW/Freshmeat/Project/URL.pm --- libwww-freshmeat-perl-0.21/lib/WWW/Freshmeat/Project/URL.pm 2009-11-08 20:38:50.000000000 +0000 +++ libwww-freshmeat-perl-0.22/lib/WWW/Freshmeat/Project/URL.pm 2012-02-28 04:22:16.000000000 +0000 @@ -2,7 +2,7 @@ use Mouse; use Carp; -our $VERSION = '0.21'; +our $VERSION = '0.22'; has 'url' => (is => 'rw', isa => 'Str', 'builder'=>'_find_url','lazy'=>1); has 'label' => (is => 'rw', isa => 'Str',required=>1); @@ -15,7 +15,11 @@ sub _find_url { my $self=shift || die; croak "No 'redirector' field" unless $self->redirector; - return $self->www_freshmeat->redir_url($self->redirector); + my $u=$self->www_freshmeat->redir_url($self->redirector); + if (substr($u,0,25) eq 'http://freecode.com/urls/') { + $u=$self->www_freshmeat->redir_url($u); + } + return $u; } 1; diff -Nru libwww-freshmeat-perl-0.21/lib/WWW/Freshmeat/Project.pm libwww-freshmeat-perl-0.22/lib/WWW/Freshmeat/Project.pm --- libwww-freshmeat-perl-0.21/lib/WWW/Freshmeat/Project.pm 2009-12-29 19:46:39.000000000 +0000 +++ libwww-freshmeat-perl-0.22/lib/WWW/Freshmeat/Project.pm 2012-02-28 04:22:08.000000000 +0000 @@ -7,7 +7,7 @@ use Carp; -our $VERSION = '0.21'; +our $VERSION = '0.22'; sub new { my $proto = shift; @@ -260,6 +260,7 @@ lc 'GitHub source repo' => 'url_cvs', lc 'Repository' => 'url_cvs', 'cpan' => 'url_mirror', +lc 'Mirror site' => 'url_mirror', ); #url_changelog #url_download diff -Nru libwww-freshmeat-perl-0.21/lib/WWW/Freshmeat/User.pm libwww-freshmeat-perl-0.22/lib/WWW/Freshmeat/User.pm --- libwww-freshmeat-perl-0.21/lib/WWW/Freshmeat/User.pm 2009-11-08 20:38:33.000000000 +0000 +++ libwww-freshmeat-perl-0.22/lib/WWW/Freshmeat/User.pm 2012-02-28 04:22:11.000000000 +0000 @@ -5,7 +5,7 @@ use WWW::Freshmeat (); use Carp; -our $VERSION = '0.21'; +our $VERSION = '0.22'; sub init_html { croak "removed"; diff -Nru libwww-freshmeat-perl-0.21/lib/WWW/Freshmeat.pm libwww-freshmeat-perl-0.22/lib/WWW/Freshmeat.pm --- libwww-freshmeat-perl-0.21/lib/WWW/Freshmeat.pm 2009-11-09 09:56:10.000000000 +0000 +++ libwww-freshmeat-perl-0.22/lib/WWW/Freshmeat.pm 2012-02-28 04:25:01.000000000 +0000 @@ -10,11 +10,11 @@ =head1 VERSION -Version 0.20 +Version 0.22 =cut -our $VERSION = '0.21'; +our $VERSION = '0.22'; use XML::Simple qw(); use WWW::Freshmeat::Project; @@ -202,7 +202,7 @@ =head1 COPYRIGHT & LICENSE Copyright 2006 Cedric Bouvier (version 0.01). -Copyright 2009 Alexandr Ciornii. +Copyright 2009-2012 Alexandr Ciornii. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -Nru libwww-freshmeat-perl-0.21/Makefile.PL libwww-freshmeat-perl-0.22/Makefile.PL --- libwww-freshmeat-perl-0.21/Makefile.PL 2009-09-22 14:27:44.000000000 +0000 +++ libwww-freshmeat-perl-0.22/Makefile.PL 2010-10-11 07:11:48.000000000 +0000 @@ -13,6 +13,7 @@ 'Test::More' => 0.17, #isa_ok 'LWP::UserAgent' => 0, 'XML::Simple' => 0, + 'XML::Parser' => 0, #for XML::Simple, in case of dependency problems 'LWP::Online' => 1.06, #'HTML::TreeBuilder::XPath' => 0.09, 'Mouse' => 0.24, #recent one diff -Nru libwww-freshmeat-perl-0.21/MANIFEST libwww-freshmeat-perl-0.22/MANIFEST --- libwww-freshmeat-perl-0.21/MANIFEST 2009-11-08 20:20:51.000000000 +0000 +++ libwww-freshmeat-perl-0.22/MANIFEST 2012-02-28 04:25:42.000000000 +0000 @@ -15,3 +15,4 @@ t/project-mojo.t t/mojomojo.xml t/hook_lexwrap.xml +META.json diff -Nru libwww-freshmeat-perl-0.21/META.json libwww-freshmeat-perl-0.22/META.json --- libwww-freshmeat-perl-0.21/META.json 1970-01-01 00:00:00.000000000 +0000 +++ libwww-freshmeat-perl-0.22/META.json 2012-02-28 04:25:42.000000000 +0000 @@ -0,0 +1,72 @@ +{ + "abstract" : "automates usage of Freshmeat.net", + "author" : [ + "Alexandr Ciornii " + ], + "dynamic_config" : 1, + "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.112150", + "keywords" : [ + "freshmeat", + "API" + ], + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "WWW-Freshmeat", + "prereqs" : { + "build" : { + "requires" : { + "File::Slurp" : 0, + "LWP::Online" : "1.06", + "Test::More" : "0.17" + } + }, + "configure" : { + "requires" : { + "Module::Build" : "0.38" + } + }, + "runtime" : { + "requires" : { + "LWP::UserAgent" : 0, + "Mouse" : "0.24", + "XML::Parser" : 0, + "XML::Simple" : 0, + "perl" : "5.008" + } + } + }, + "provides" : { + "WWW::Freshmeat" : { + "file" : "lib/WWW/Freshmeat.pm", + "version" : "0.22" + }, + "WWW::Freshmeat::Project" : { + "file" : "lib/WWW/Freshmeat/Project.pm", + "version" : "0.22" + }, + "WWW::Freshmeat::Project::URL" : { + "file" : "lib/WWW/Freshmeat/Project/URL.pm", + "version" : "0.22" + }, + "WWW::Freshmeat::User" : { + "file" : "lib/WWW/Freshmeat/User.pm", + "version" : "0.22" + } + }, + "release_status" : "stable", + "resources" : { + "license" : [ + "http://dev.perl.org/licenses/" + ], + "repository" : { + "url" : "http://github.com/chorny/WWW-Freshmeat" + }, + "x_Ohloh" : "https://www.ohloh.net/p/WWW-Freshmeat" + }, + "version" : "0.22" +} diff -Nru libwww-freshmeat-perl-0.21/META.yml libwww-freshmeat-perl-0.22/META.yml --- libwww-freshmeat-perl-0.21/META.yml 2009-12-29 19:48:48.000000000 +0000 +++ libwww-freshmeat-perl-0.22/META.yml 2012-02-28 04:25:42.000000000 +0000 @@ -1,40 +1,44 @@ --- -name: WWW-Freshmeat -version: 0.21 +abstract: automates usage of Freshmeat.net author: - 'Alexandr Ciornii ' -abstract: automates usage of Freshmeat.net -license: perl -resources: - Ohloh: https://www.ohloh.net/p/WWW-Freshmeat - license: http://dev.perl.org/licenses/ - repository: http://github.com/chorny/WWW-Freshmeat -requires: - LWP::UserAgent: 0 - Mouse: 0.24 - XML::Simple: 0 - perl: 5.008 build_requires: File::Slurp: 0 LWP::Online: 1.06 Test::More: 0.17 +configure_requires: + Module::Build: 0.38 +dynamic_config: 1 +generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.112150' +keywords: + - freshmeat + - API +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: WWW-Freshmeat provides: WWW::Freshmeat: file: lib/WWW/Freshmeat.pm - version: 0.21 + version: 0.22 WWW::Freshmeat::Project: file: lib/WWW/Freshmeat/Project.pm - version: 0.21 + version: 0.22 WWW::Freshmeat::Project::URL: file: lib/WWW/Freshmeat/Project/URL.pm - version: 0.21 + version: 0.22 WWW::Freshmeat::User: file: lib/WWW/Freshmeat/User.pm - version: 0.21 -generated_by: Module::Build version 0.33 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 -keywords: - - freshmeat - - API + version: 0.22 +requires: + LWP::UserAgent: 0 + Mouse: 0.24 + XML::Parser: 0 + XML::Simple: 0 + perl: 5.008 +resources: + license: http://dev.perl.org/licenses/ + repository: http://github.com/chorny/WWW-Freshmeat + x_Ohloh: https://www.ohloh.net/p/WWW-Freshmeat +version: 0.22