r20822 - in /trunk/libcgi-xmlform-perl: Makefile.PL XMLForm.pm debian/changelog debian/control debian/libcgi-xmlform-perl.docs debian/libcgi-xmlform-perl.examples debian/libcgi-xmlform-perl.install debian/rules debian/watch
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jun 7 14:56:34 UTC 2008
Author: gregoa
Date: Sat Jun 7 14:56:33 2008
New Revision: 20822
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20822
Log:
* debian/watch: use dist-based URL.
* Drop POD fixes, not needed any more.
* Revert unannounced changes to upstream Makefile.PL.
* Remove debian/libcgi-xmlform-perl.*, install files from debian/rules.
* Set Standards-Version to 3.7.3 (no changes).
Removed:
trunk/libcgi-xmlform-perl/debian/libcgi-xmlform-perl.docs
trunk/libcgi-xmlform-perl/debian/libcgi-xmlform-perl.examples
trunk/libcgi-xmlform-perl/debian/libcgi-xmlform-perl.install
Modified:
trunk/libcgi-xmlform-perl/Makefile.PL
trunk/libcgi-xmlform-perl/XMLForm.pm
trunk/libcgi-xmlform-perl/debian/changelog
trunk/libcgi-xmlform-perl/debian/control
trunk/libcgi-xmlform-perl/debian/rules
trunk/libcgi-xmlform-perl/debian/watch
Modified: trunk/libcgi-xmlform-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlform-perl/Makefile.PL?rev=20822&op=diff
==============================================================================
--- trunk/libcgi-xmlform-perl/Makefile.PL (original)
+++ trunk/libcgi-xmlform-perl/Makefile.PL Sat Jun 7 14:56:33 2008
@@ -2,11 +2,9 @@
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
- 'NAME' => 'CGI::XMLForm',
- 'DIR' => [qw(Path)],
- 'PREREQ_PM' => { 'XML::Parser' => '2.20' },
- 'VERSION_FROM' => 'XMLForm.pm', # finds $VERSION
- 'dist' => {COMPRESS => 'gzip', 'SUFFIX' => 'gz'},
- 'PM' => { 'XMLForm.pm' => '$(INST_LIBDIR)/XMLForm.pm',
- 'Path/Path.pm' => '$(INST_LIBDIR)/XMLForm/Path.pm' },
- );
+ 'NAME' => 'CGI::XMLForm',
+ 'DIR' => [qw(Path)],
+ 'PREREQ_PM' => {'XML::Parser' => '2.20' },
+ 'VERSION_FROM' => 'XMLForm.pm', # finds $VERSION
+ 'dist' => {COMPRESS => 'gzip', 'SUFFIX' => 'gz'},
+);
Modified: trunk/libcgi-xmlform-perl/XMLForm.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlform-perl/XMLForm.pm?rev=20822&op=diff
==============================================================================
--- trunk/libcgi-xmlform-perl/XMLForm.pm (original)
+++ trunk/libcgi-xmlform-perl/XMLForm.pm Sat Jun 7 14:56:33 2008
@@ -331,7 +331,7 @@
=head1 NAME
-CGI::XMLForm \- Extension of CGI.pm which reads/generates formated XML.
+CGI::XMLForm - Extension of CGI.pm which reads/generates formated XML.
NB: This is a subclass of CGI.pm, so can be used in it's place.
@@ -341,21 +341,21 @@
my $cgi = new CGI::XMLForm;
- if ($cgi\->param) {
- print $cgi\->header, $cgi\->pre($cgi\->escapeHTML($cgi\->toXML));
+ if ($cgi->param) {
+ print $cgi->header, $cgi->pre($cgi->escapeHTML($cgi->toXML));
}
else {
open(FILE, "test.xml") or die "Can't open: $!";
my @queries = ('/a', '/a/b*', '/a/b/c*', /a/d');
- print $cgi\->header,
- $cgi\->pre($cgi\->escapeHTML(
- join "\n", $cgi\->readXML(*FILE, @queries)));
+ print $cgi->header,
+ $cgi->pre($cgi->escapeHTML(
+ join "\n", $cgi->readXML(*FILE, @queries)));
}
=head1 DESCRIPTION
This module can either create form field values from XML based on XQL/XSL style
-queries (full XQL is _not_ supported \- this module is designed for speed), or it
+queries (full XQL is _not_ supported - this module is designed for speed), or it
can create XML from form values. There are 2 key functions: toXML and readXML.
=head2 toXML
@@ -538,7 +538,7 @@
/a/d
Food
-(NB: This is slightly incorrect \- for /a and /a/b it will return "Foo\n " and
+(NB: This is slightly incorrect - for /a and /a/b it will return "Foo\n " and
"Bar\n " respectively).
The queries support relative paths like toXML (including parent paths), and
@@ -559,7 +559,7 @@
other.
=item * You can use this module in place of CGI.pm, since it's a subclass.
=item * There are bound to be lots of bugs! Although it's in production use
-right now \- just watch CPAN for regular updates.
+right now - just watch CPAN for regular updates.
=back
=head1 AUTHOR
Modified: trunk/libcgi-xmlform-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlform-perl/debian/changelog?rev=20822&op=diff
==============================================================================
--- trunk/libcgi-xmlform-perl/debian/changelog (original)
+++ trunk/libcgi-xmlform-perl/debian/changelog Sat Jun 7 14:56:33 2008
@@ -3,6 +3,11 @@
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
+ * debian/watch: use dist-based URL.
+ * Drop POD fixes, not needed any more.
+ * Revert unannounced changes to upstream Makefile.PL.
+ * Remove debian/libcgi-xmlform-perl.*, install files from debian/rules.
+ * Set Standards-Version to 3.7.3 (no changes).
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:27:55 +0200
Modified: trunk/libcgi-xmlform-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlform-perl/debian/control?rev=20822&op=diff
==============================================================================
--- trunk/libcgi-xmlform-perl/debian/control (original)
+++ trunk/libcgi-xmlform-perl/debian/control Sat Jun 7 14:56:33 2008
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/CGI-XMLForm/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcgi-xmlform-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlform-perl/
Modified: trunk/libcgi-xmlform-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlform-perl/debian/rules?rev=20822&op=diff
==============================================================================
--- trunk/libcgi-xmlform-perl/debian/rules (original)
+++ trunk/libcgi-xmlform-perl/debian/rules Sat Jun 7 14:56:33 2008
@@ -1,61 +1,61 @@
#!/usr/bin/make -f
-## ----------------------------------------------------------------------
-## debian/rules : package script for libcgi-xmlform-perl
-## ----------------------------------------------------------------------
+# 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
+# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-## ----------------------------------------------------------------------
-TMP_DIR = debian/tmp
+# 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
-## ----------------------------------------------------------------------
-## targets
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE)
+ $(MAKE) test
+ touch $@
clean:
- dh_testdir
- dh_testroot
- [ ! -f Makefile ] || $(MAKE) realclean
- dh_clean
- rm -f build-stamp install-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
-build: build-stamp
-build-stamp:
- dh_testdir
- perl Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
- $(MAKE) test
- touch build-stamp
-
-install: install-stamp
-install-stamp: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) install PREFIX=$(CURDIR)/$(TMP_DIR)/usr
- touch install-stamp
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_install --sourcedir=$(TMP_DIR)
- dh_installdocs
- dh_installexamples
- dh_installchangelogs Changes
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_perl
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
binary-arch:
+# We have nothing to do here for an architecture-independent package
-binary: binary-indep binary-arch
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installexamples example*
+ dh_installdocs TODO README
+ dh_installchangelogs Changes
+ dh_perl
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
-.PHONY: clean build install binary-indep binary-arch binary
-
-## ----------------------------------------------------------------------
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Modified: trunk/libcgi-xmlform-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlform-perl/debian/watch?rev=20822&op=diff
==============================================================================
--- trunk/libcgi-xmlform-perl/debian/watch (original)
+++ trunk/libcgi-xmlform-perl/debian/watch Sat Jun 7 14:56:33 2008
@@ -1,2 +1,2 @@
version=3
-http://www.cpan.org/modules/by-module/CGI/CGI-XMLForm-([\d\.]+)\.tar\.gz
+http://search.cpan.org/dist/CGI-XMLForm/ .*/CGI-XMLForm-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
More information about the Pkg-perl-cvs-commits
mailing list