r51512 - in /trunk/liburi-query-perl: Makefile.PL Query.pm debian/changelog debian/compat debian/control debian/copyright debian/rules

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Mon Jan 25 01:35:20 UTC 2010


Author: jawnsy-guest
Date: Mon Jan 25 01:35:13 2010
New Revision: 51512

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=51512
Log:
* New upstream release
* Update to new DEP5 copyright format
* Add myself to Uploaders
* Standards-Version 3.8.3 (drop perl version dep)
* Rewrite control description
* Use new debhelper short rules format

Modified:
    trunk/liburi-query-perl/Makefile.PL
    trunk/liburi-query-perl/Query.pm
    trunk/liburi-query-perl/debian/changelog
    trunk/liburi-query-perl/debian/compat
    trunk/liburi-query-perl/debian/control
    trunk/liburi-query-perl/debian/copyright
    trunk/liburi-query-perl/debian/rules

Modified: trunk/liburi-query-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-query-perl/Makefile.PL?rev=51512&op=diff
==============================================================================
--- trunk/liburi-query-perl/Makefile.PL (original)
+++ trunk/liburi-query-perl/Makefile.PL Mon Jan 25 01:35:13 2010
@@ -6,10 +6,9 @@
     'NAME'		=> 'URI::Query',
     'VERSION_FROM'	=> 'Query.pm', # finds $VERSION
     'PREREQ_PM'		=> {
-       URI::Escape => 0,
-       Test::More => 0,
+       URI          => 1.31,
+       Test::More   => 0,
     }, # e.g., Module::Name => 1.1
     ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
       (AUTHOR     => 'Gavin Carr <gavin at openfusion.com.au>') : ()),
 );
-# arch-tag: e3628f30-b383-4c8b-ad6c-e71ca0b91e7f

Modified: trunk/liburi-query-perl/Query.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-query-perl/Query.pm?rev=51512&op=diff
==============================================================================
--- trunk/liburi-query-perl/Query.pm (original)
+++ trunk/liburi-query-perl/Query.pm Mon Jan 25 01:35:13 2010
@@ -5,15 +5,17 @@
 package URI::Query;
 
 use 5.00503;
-use URI::Escape;
 use strict;
+
+use URI::Escape qw(uri_escape_utf8);
+
 use overload 
   '""'    => \&stringify,
   'eq'  => sub { $_[0]->stringify eq $_[1]->stringify },
   'ne'  => sub { $_[0]->stringify ne $_[1]->stringify };
+
 use vars q($VERSION);
-
-$VERSION = '0.06';
+$VERSION = '0.07';
 
 # -------------------------------------------------------------------------
 # Remove all occurrences of the given parameters
@@ -70,7 +72,7 @@
     my @out = ();
     for my $key (sort keys %{$self->{qq}}) {
         for my $value (sort @{$self->{qq}->{$key}}) {
-            push @out, sprintf("%s=%s", uri_escape($key), uri_escape($value));
+            push @out, sprintf("%s=%s", uri_escape_utf8($key), uri_escape_utf8($value));
         }
     }
     join $sep, @out;
@@ -272,13 +274,11 @@
 
 =head1 COPYRIGHT
 
-Copyright 2004-2005, Gavin Carr. All Rights Reserved.
+Copyright 2004-2010, Gavin Carr. All Rights Reserved.
 
 This program is free software. You may copy or redistribute it under the 
 same terms as perl itself.
 
-
 =cut
 
-# arch-tag: 66eb6ee6-02bb-43e5-bda7-9529ad44f86f
-
+

Modified: trunk/liburi-query-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-query-perl/debian/changelog?rev=51512&op=diff
==============================================================================
--- trunk/liburi-query-perl/debian/changelog (original)
+++ trunk/liburi-query-perl/debian/changelog Mon Jan 25 01:35:13 2010
@@ -1,10 +1,19 @@
-liburi-query-perl (0.06-3) UNRELEASED; urgency=low
+liburi-query-perl (0.07-1) UNRELEASED; urgency=low
 
+  [ Jonathan Yu ]
+  * New upstream release
+  * Update to new DEP5 copyright format
+  * Add myself to Uploaders
+  * Standards-Version 3.8.3 (drop perl version dep)
+  * Rewrite control description
+  * Use new debhelper short rules format
+
+  [ gregor herrmann ]
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
   * debian/control: Added: ${misc:Depends} to Depends: field.
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:48:49 +0100
+ -- Jonathan Yu <jawnsy at cpan.org>  Sun, 24 Jan 2010 20:42:42 -0500
 
 liburi-query-perl (0.06-2) unstable; urgency=low
 

Modified: trunk/liburi-query-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-query-perl/debian/compat?rev=51512&op=diff
==============================================================================
--- trunk/liburi-query-perl/debian/compat (original)
+++ trunk/liburi-query-perl/debian/compat Mon Jan 25 01:35:13 2010
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/liburi-query-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-query-perl/debian/control?rev=51512&op=diff
==============================================================================
--- trunk/liburi-query-perl/debian/control (original)
+++ trunk/liburi-query-perl/debian/control Mon Jan 25 01:35:13 2010
@@ -1,24 +1,22 @@
 Source: liburi-query-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5),
-Build-Depends-Indep:  perl (>= 5.8.0-7), liburi-perl, libyaml-perl
-Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl, liburi-perl, libyaml-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>,
+ Jonathan Yu <jawnsy at cpan.org>
+Standards-Version: 3.8.3
 Homepage: http://search.cpan.org/dist/URI-Query/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/liburi-query-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/liburi-query-perl/
 
-
 Package: liburi-query-perl
 Architecture: all
 Depends: ${misc: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.
+Description: module for manipulating URI query strings
+ URI::Query is a Perl module that provides methods for simple URI query string
+ manipulation. It can easily create and manipulate URI query strings from GET
+ and POST requests in web applications. This module 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.

Modified: trunk/liburi-query-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-query-perl/debian/copyright?rev=51512&op=diff
==============================================================================
--- trunk/liburi-query-perl/debian/copyright (original)
+++ trunk/liburi-query-perl/debian/copyright Mon Jan 25 01:35:13 2010
@@ -1,24 +1,29 @@
-This is the debian package for the URI::Query module.
-It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Gavin Carr <gavin at openfusion.com.au>
+Source: http://search.cpan.org/dist/URI-Query/
+Name: URI-Query
 
-It was downloaded from:
-http://search.cpan.org/~gavinc/URI-Query-0.04/
+Files: *
+Copyright: 2004-2010, Gavin Carr <gavin at openfusion.com.au>
+License: Artistic or GPL-1+
 
-The upstream author is: Gavin Carr <gavin at openfusion.com.au>
+Files: debian/*
+Copyright: 2010, Jonathan Yu <jawnsy at cpan.org>
+ 2005-2008, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+License: Artistic or GPL-1+
 
-Copyright 2004-2005, Gavin Carr. All Rights Reserved.
+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'
 
-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'.
+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/liburi-query-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-query-perl/debian/rules?rev=51512&op=diff
==============================================================================
--- trunk/liburi-query-perl/debian/rules (original)
+++ trunk/liburi-query-perl/debian/rules Mon Jan 25 01:35:13 2010
@@ -1,68 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> 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
-	[ ! -d $(TMP)/usr/lib/perl5 ] || 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
+%:
+	dh $@




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