r64360 - in /trunk/libhtml-treebuilder-xpath-perl: Changes META.yml debian/changelog debian/control debian/copyright debian/rules debian/source/ debian/source/format lib/HTML/TreeBuilder/XPath.pm
ansgar at users.alioth.debian.org
ansgar at users.alioth.debian.org
Thu Oct 28 14:27:10 UTC 2010
Author: ansgar
Date: Thu Oct 28 14:26:42 2010
New Revision: 64360
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=64360
Log:
* New upstream release.
* Use minimal debian/rules.
* Use source format 3.0 (quilt).
* debian/copyright: Formatting changes; refer to "Debian systems" instead of
"Debian GNU/Linux systems"; refer to /usr/share/common-licenses/GPL-1.
* debian/control: Make build-dep on perl unversioned.
* Bump Standards-Version to 3.9.1.
* Add myself to Uploaders.
Added:
trunk/libhtml-treebuilder-xpath-perl/debian/source/
trunk/libhtml-treebuilder-xpath-perl/debian/source/format
Modified:
trunk/libhtml-treebuilder-xpath-perl/Changes
trunk/libhtml-treebuilder-xpath-perl/META.yml
trunk/libhtml-treebuilder-xpath-perl/debian/changelog
trunk/libhtml-treebuilder-xpath-perl/debian/control
trunk/libhtml-treebuilder-xpath-perl/debian/copyright
trunk/libhtml-treebuilder-xpath-perl/debian/rules
trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm
Modified: trunk/libhtml-treebuilder-xpath-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/Changes?rev=64360&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/Changes (original)
+++ trunk/libhtml-treebuilder-xpath-perl/Changes Thu Oct 28 14:26:42 2010
@@ -1,11 +1,19 @@
$Id: /html-treebuilder-xpath/Changes 40 2006-05-15T07:42:34.182385Z mrodrigu $
Revision history for Perl extension HTML::TreeBuilder::XPath.
+version 0.12
+date: 2010-09-29
+# minor bug fix
+fix: added getLocalName on elements
+ see https://rt.cpan.org/Public/Bug/Display.html?id=61746
+ found and fixed by Miyagawa
+added: a few tests
+
version 0.11
-date:
+date: 2009-05-19
# minor bug fixes
-added: mention $tree->delete in docs to warn about memory leaks
-fix: pod fix (https://rt.cpan.org/Ticket/Display.html?id=46203)
+added: mention $tree->delete in docs to warn about memory leaks
+fix: pod fix (https://rt.cpan.org/Ticket/Display.html?id=46203)
version: 0.10
date: 2008-02-11
Modified: trunk/libhtml-treebuilder-xpath-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/META.yml?rev=64360&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/META.yml (original)
+++ trunk/libhtml-treebuilder-xpath-perl/META.yml Thu Oct 28 14:26:42 2010
@@ -1,16 +1,24 @@
--- #YAML:1.0
-name: HTML-TreeBuilder-XPath
-version: 0.11
-abstract: add XPath support to HTML::TreeBuilder
-license: perl
-author:
+name: HTML-TreeBuilder-XPath
+version: 0.12
+abstract: add XPath support to HTML::TreeBuilder
+author:
- Michel Rodriguez <mrodrigu at localdomain>
-generated_by: ExtUtils::MakeMaker version 6.42
-distribution_type: module
-requires:
- HTML::TreeBuilder: 0
- List::Util: 0
- XML::XPathEngine: 0.12
+license: perl
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+requires:
+ HTML::TreeBuilder: 0
+ List::Util: 0
+ XML::XPathEngine: 0.12
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: trunk/libhtml-treebuilder-xpath-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/debian/changelog?rev=64360&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/debian/changelog (original)
+++ trunk/libhtml-treebuilder-xpath-perl/debian/changelog Thu Oct 28 14:26:42 2010
@@ -1,4 +1,4 @@
-libhtml-treebuilder-xpath-perl (0.11-2) UNRELEASED; urgency=low
+libhtml-treebuilder-xpath-perl (0.12-1) unstable; urgency=low
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.
@@ -6,7 +6,17 @@
[ Ryan Niebur ]
* Update jawnsy's email address
- -- Ryan Niebur <ryanryan52 at gmail.com> Tue, 01 Sep 2009 21:19:00 -0700
+ [ Ansgar Burchardt ]
+ * New upstream release.
+ * Use minimal debian/rules.
+ * Use source format 3.0 (quilt).
+ * debian/copyright: Formatting changes; refer to "Debian systems" instead of
+ "Debian GNU/Linux systems"; refer to /usr/share/common-licenses/GPL-1.
+ * debian/control: Make build-dep on perl unversioned.
+ * Bump Standards-Version to 3.9.1.
+ * Add myself to Uploaders.
+
+ -- Ansgar Burchardt <ansgar at debian.org> Thu, 28 Oct 2010 16:23:40 +0200
libhtml-treebuilder-xpath-perl (0.11-1) unstable; urgency=low
Modified: trunk/libhtml-treebuilder-xpath-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/debian/control?rev=64360&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/debian/control (original)
+++ trunk/libhtml-treebuilder-xpath-perl/debian/control Thu Oct 28 14:26:42 2010
@@ -2,12 +2,12 @@
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl (>= 5.8.8-7), libtest-pod-perl, libhtml-tree-perl,
+Build-Depends-Indep: perl, libtest-pod-perl, libhtml-tree-perl,
libtest-pod-coverage-perl, libxml-xpathengine-perl (>= 0.12)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Damyan Ivanov <dmn at debian.org>, gregor herrmann <gregoa at debian.org>,
- Jonathan Yu <jawnsy at cpan.org>
-Standards-Version: 3.8.1
+ Jonathan Yu <jawnsy at cpan.org>, Ansgar Burchardt <ansgar at debian.org>
+Standards-Version: 3.9.1
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/
Homepage: http://search.cpan.org/dist/HTML-TreeBuilder-XPath/
Modified: trunk/libhtml-treebuilder-xpath-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/debian/copyright?rev=64360&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/debian/copyright (original)
+++ trunk/libhtml-treebuilder-xpath-perl/debian/copyright Thu Oct 28 14:26:42 2010
@@ -1,33 +1,29 @@
-Format-Specification:
- http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Michel Rodriguez <mirod at cpan.org>
-Upstream-Source: http://search.cpan.org/dist/HTML-TreeBuilder-XPath/
-Upstream-Name: HTML-TreeBuilder-XPath
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Michel Rodriguez <mirod at cpan.org>
+Source: http://search.cpan.org/dist/HTML-TreeBuilder-XPath/
+Name: HTML-TreeBuilder-XPath
Files: *
Copyright: 2006, Michel Rodriguez <mirod at cpan.org>
-License-Alias: Perl
-License: Artistic | GPL-1+
- This library is free software; you can redistribute it and/or modify it under
- the same terms as Perl itself, either Perl version 5.8.4 or, at your option,
- any later version of Perl 5 you may have available.
+License: Artistic or GPL-1+
Files: debian/*
Copyright: 2009, Jonathan Yu <jawnsy at cpan.org>
2007, Jeremiah C. Foster <jeremiah at jeremiahfoster.com>
-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'
+ 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 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'
-
+ 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 systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
Modified: trunk/libhtml-treebuilder-xpath-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/debian/rules?rev=64360&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/debian/rules (original)
+++ trunk/libhtml-treebuilder-xpath-perl/debian/rules Thu Oct 28 14:26:42 2010
@@ -1,24 +1,4 @@
#!/usr/bin/make -f
-build: build-stamp
-build-stamp:
- dh build
- touch $@
-
-clean:
+%:
dh $@
-
-install: install-stamp
-install-stamp: build-stamp
- dh install
- touch $@
-
-binary-arch:
-
-binary-indep: install
- dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
-
Added: trunk/libhtml-treebuilder-xpath-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/debian/source/format?rev=64360&op=file
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/debian/source/format (added)
+++ trunk/libhtml-treebuilder-xpath-perl/debian/source/format Thu Oct 28 14:26:42 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)
Modified: trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm?rev=64360&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm (original)
+++ trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm Thu Oct 28 14:26:42 2010
@@ -7,7 +7,7 @@
use vars qw($VERSION);
-$VERSION = '0.11';
+$VERSION = '0.12';
my %CHAR2DEFAULT_ENT= ( '&' => '&', '<' => '<', '>' => '>', '"' => '"');
my %NUM2DEFAULT_ENT= ( '38' => 'amp', '60' => 'lt', '62' => 'gt', '"' => '"');
@@ -131,6 +131,7 @@
return $elt->{_parent} || bless { _root => $elt }, 'HTML::TreeBuilder::XPath::Root';
}
sub getName { return shift->tag; }
+sub getLocalName { (my $name= $_[0]->tag) =~ s{^.*:}{}; $name; }
sub getNextSibling { my( $elt)= @_;
my $parent= $elt->{_parent} || return undef;
return $parent->_child_as_object( scalar $elt->right, ($elt->{_rank} || 0) + 1);
More information about the Pkg-perl-cvs-commits
mailing list