--- liburi-query-perl-0.05.orig/Query.pm +++ liburi-query-perl-0.05/Query.pm @@ -13,7 +13,7 @@ 'ne' => sub { $_[0]->stringify ne $_[1]->stringify }; use vars q($VERSION); -$VERSION = '0.05'; +$VERSION = '0.04'; # ------------------------------------------------------------------------- # Remove all occurrences of the given parameters --- liburi-query-perl-0.05.orig/debian/control +++ liburi-query-perl-0.05/debian/control @@ -0,0 +1,19 @@ +Source: liburi-query-perl +Section: perl +Priority: optional +Build-Depends-Indep: debhelper (>= 4.0.2), perl (>= 5.8.0-7), liburi-perl, libyaml-perl +Maintainer: Debian Catalyst Maintainers +Uploaders: Krzysztof Krzyzaniak (eloy) +Standards-Version: 3.6.2 + +Package: liburi-query-perl +Architecture: all +Depends: ${perl:Depends}, liburi-perl +Description: class providing URI query string manipulation + URI::Query provides simple URI query string manipulation, allowing you + to create and manipulate URI query strings from GET and POST requests in + web applications. This is primarily useful for creating links where you + wish to preserve some subset of the parameters to the current request, + and potentially add or replace others. Given a query string this is + doable with regexes, of course, but making sure you get the anchoring + and escaping right is tedious and error-prone - this module is simpler. --- liburi-query-perl-0.05.orig/debian/compat +++ liburi-query-perl-0.05/debian/compat @@ -0,0 +1 @@ +4 --- liburi-query-perl-0.05.orig/debian/watch +++ liburi-query-perl-0.05/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 2; this line is compulsory! +version=2 +http://www.cpan.org/modules/by-module/URI/URI-Query-(.*).(tar.gz|tar|tgz) --- liburi-query-perl-0.05.orig/debian/changelog +++ liburi-query-perl-0.05/debian/changelog @@ -0,0 +1,12 @@ +liburi-query-perl (0.05-1) unstable; urgency=low + + * New upstream release + + -- Krzysztof Krzyzaniak (eloy) Fri, 28 Oct 2005 12:33:47 +0200 + +liburi-query-perl (0.04-1) unstable; urgency=low + + * Initial Release (closes: #333526) + + -- Krzysztof Krzyzaniak (eloy) Wed, 12 Oct 2005 12:27:10 +0200 + --- liburi-query-perl-0.05.orig/debian/copyright +++ liburi-query-perl-0.05/debian/copyright @@ -0,0 +1,24 @@ +This is the debian package for the URI::Query module. +It was created by Krzysztof Krzyzaniak (eloy) + +It was downloaded from: +http://search.cpan.org/~gavinc/URI-Query-0.04/ + +The upstream author is: Gavin Carr + +Copyright 2004-2005, Gavin Carr. All Rights Reserved. + +This program is free software, you can redistribute it and/or modify it under +the same terms as Perl itself. + +Perl is distributed under licenses: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in /usr/share/common-licenses/GPL' and + the Artistic Licence in /usr/share/common-licenses/Artistic'. --- liburi-query-perl-0.05.orig/debian/rules +++ liburi-query-perl-0.05/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-Wall -O2 -g" + touch build-stamp + +clean: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) realclean + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + #-cp -f t/t05/explicit t/t05/default + -$(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture independent package, we are not + # supposed to install stuff to /usr/lib. MakeMaker creates + # the dirs, we delete them from the deb: + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs + dh_perl + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- liburi-query-perl-0.05.orig/t/03_hash.t +++ liburi-query-perl-0.05/t/03_hash.t @@ -44,11 +44,6 @@ my $yaml = eval { require YAML }; skip "YAML not found", 2 unless $yaml; - # Require YAML 0.39 on Windows (reported by Andy Grundman) - if ($^O =~ m/^MSWin/i && ! defined eval { YAML->VERSION(0.39) }) { - skip "YAML >= 0.39 required on windows", 2; - } - $out = YAML::Dump(scalar($qq->hash)); report $out, "hash"; is($out, $result{hash}, 'hash ok');