Accepting request 296542 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/296542 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-TreeBuilder-LibXML?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
942a471bd3
commit
cea49b3d76
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:be807d654f4b336007380e7b2c5688370efba4e9abd29a2ed07274929d62ab6b
|
|
||||||
size 24471
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:de6b22e287ee01c814a2d95839b6dc41c0f2f08f4ed70fea303bc5edb9e20740
|
|
||||||
size 24825
|
|
3
HTML-TreeBuilder-LibXML-0.24.tar.gz
Normal file
3
HTML-TreeBuilder-LibXML-0.24.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c247693d8b13eab0994a12270b24909f82ac10a32b59ba95275a71622dada16e
|
||||||
|
size 22300
|
@@ -1,3 +1,127 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 14 21:12:48 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.24
|
||||||
|
see /usr/share/doc/packages/perl-HTML-TreeBuilder-LibXML/Changes
|
||||||
|
|
||||||
|
0.24 2014-09-22T09:31:26Z
|
||||||
|
|
||||||
|
- Removed Web::Scraper from runtime dependencies.
|
||||||
|
https://github.com/tokuhirom/HTML-TreeBuilder-LibXML/issues/9
|
||||||
|
|
||||||
|
0.23 2013-05-17T00:16:48Z
|
||||||
|
|
||||||
|
- fixed guts(), clone() and replace_with() to properly handle XML::LibXML::Dtd nodes
|
||||||
|
- guts() now includes the Dtd node in the returned document (unless it were implicitly created)
|
||||||
|
- clone() calls createInternalSubset() on the new document
|
||||||
|
- replace_with() calls createInternalSubset() if the replacement is a XML::LibXML::Dtd (can't import Dtd node)
|
||||||
|
(cafe01)
|
||||||
|
|
||||||
|
0.22 2013-05-13T00:04:09Z
|
||||||
|
|
||||||
|
- improved guts(), calling nonBlankChildNodes() instead of childNodes()
|
||||||
|
- improved HTML::TreeBuilder::LibXML::Node documentation
|
||||||
|
(cafe01)
|
||||||
|
|
||||||
|
0.21 2013-05-12T19:12:53Z
|
||||||
|
|
||||||
|
- fixed guts(),
|
||||||
|
- now returning nodes from <head> and <body> instead of just <body>
|
||||||
|
- now returning text and comment nodes instead of just element nodes
|
||||||
|
- returned nodes now belong to the same document
|
||||||
|
- fixed to_HTML to render valid html, not xml
|
||||||
|
(cafe01)
|
||||||
|
|
||||||
|
0.20 2013-05-10T20:44:16Z
|
||||||
|
|
||||||
|
- improved replace_with() on document node.
|
||||||
|
- fixed push_content() and unshift_content() to work with document mode.
|
||||||
|
(cafe01)
|
||||||
|
|
||||||
|
0.19 2013-05-10T01:03:58Z
|
||||||
|
|
||||||
|
- fixed replace_with() and parent(),
|
||||||
|
to avoid calling appendChild() on a Document node, which is not supported by XML::LibXML.
|
||||||
|
(cafe01)
|
||||||
|
|
||||||
|
0.18 2013-05-09T20:49:04Z
|
||||||
|
|
||||||
|
- implemented all node methods needed for Web::Query::LibXML to work
|
||||||
|
- clone_list
|
||||||
|
- detach
|
||||||
|
- delete_content
|
||||||
|
- content_list
|
||||||
|
- replace_with
|
||||||
|
- push_content
|
||||||
|
- unshift_content
|
||||||
|
- postinsert
|
||||||
|
- preinsert
|
||||||
|
- disembowel (HTML::TreeBuilder::LibXML)
|
||||||
|
(cafe01)
|
||||||
|
|
||||||
|
- modified parse_file() to read file content, then call parse_content()
|
||||||
|
- thats because parse_content() will detect (heuristically) when the parser will add implict <html><body> tags, so guts() can work properly.
|
||||||
|
(cafe01)
|
||||||
|
|
||||||
|
0.18 2013-05-09T01:27:46Z
|
||||||
|
|
||||||
|
- implemented matches(), parent(), guts() node method
|
||||||
|
(Carlos Fernando Avila Gratz)
|
||||||
|
|
||||||
|
0.17
|
||||||
|
|
||||||
|
handle /(de)?objectify_text/ for <script> extraction
|
||||||
|
(Stanislaw Pusep)
|
||||||
|
|
||||||
|
0.16
|
||||||
|
|
||||||
|
|
||||||
|
commit 07b40205fd03564d476eff7675e9f19196939f2f
|
||||||
|
Author: Oleg G <verdrehung@gmail.com>
|
||||||
|
Date: Sat Mar 31 13:26:11 2012 +0700
|
||||||
|
|
||||||
|
added few methods to support Web::Query
|
||||||
|
|
||||||
|
0.15
|
||||||
|
|
||||||
|
* Add additional methods to better match
|
||||||
|
HTML::TreeBuilder::XPath::Node API:
|
||||||
|
- exists($xpath)
|
||||||
|
- find($elem_name)
|
||||||
|
- findvalues($xpath)
|
||||||
|
- findnodes_as_string($xpath)
|
||||||
|
- findnodes_as_strings($xpath)
|
||||||
|
(genehack)
|
||||||
|
|
||||||
|
0.14
|
||||||
|
|
||||||
|
* added workaround for Web::Scraper 0.36
|
||||||
|
(tokuhirom)
|
||||||
|
|
||||||
|
0.13
|
||||||
|
* Added 'getValue' node's method as in HTML::TreeBuilder::XPath for
|
||||||
|
comment nodes in web-scraper module
|
||||||
|
* Added dummy method 'store_comments' as in HTML::TreeBuilder
|
||||||
|
for web-scraper module (for comment nodes) and for
|
||||||
|
HTML::TreeBuilder::XPath working in tests with comment nodes
|
||||||
|
* Now this module requires HTML::TreeBuilder::XPath v.0.14 (before 0.14
|
||||||
|
there getValue() didn't work for comment nodes)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 14 21:12:47 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.13
|
||||||
|
see /usr/share/doc/packages/perl-HTML-TreeBuilder-LibXML/Changes
|
||||||
|
|
||||||
|
0.13
|
||||||
|
* Added 'getValue' node's method as in HTML::TreeBuilder::XPath for
|
||||||
|
comment nodes in web-scraper module
|
||||||
|
* Added dummy method 'store_comments' as in HTML::TreeBuilder
|
||||||
|
for web-scraper module (for comment nodes) and for
|
||||||
|
HTML::TreeBuilder::XPath working in tests with comment nodes
|
||||||
|
* Now this module requires HTML::TreeBuilder::XPath v.0.14 (before 0.14
|
||||||
|
there getValue() didn't work for comment nodes)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 25 01:07:15 UTC 2010 - pascal.bleser@opensuse.org
|
Sat Dec 25 01:07:15 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,25 +1,46 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
|
# spec file for package perl-HTML-TreeBuilder-LibXML
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-HTML-TreeBuilder-LibXML
|
Name: perl-HTML-TreeBuilder-LibXML
|
||||||
Version: 0.12
|
Version: 0.24
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_name HTML-TreeBuilder-LibXML
|
||||||
Summary: HTML::TreeBuilder and XPath compatible interface with libxml
|
Summary: HTML::TreeBuilder and XPath compatible interface with libxml
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/HTML-TreeBuilder-LibXML-%{version}.tar.gz
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
URL: http://search.cpan.org/dist/HTML-TreeBuilder-LibXML
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
Url: http://search.cpan.org/dist/HTML-TreeBuilder-LibXML/
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
|
||||||
Requires: perl = %{perl_version}
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: make
|
BuildRequires: perl(HTML::TreeBuilder::XPath) >= 0.14
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(LWP::UserAgent) >= 6
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
BuildRequires: perl(Module::Build) >= 0.38
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(Test::Exception)
|
||||||
BuildRequires: perl(HTML::TreeBuilder::XPath) >= 0.11
|
BuildRequires: perl(Test::More) >= 0.98
|
||||||
|
BuildRequires: perl(URI)
|
||||||
BuildRequires: perl(XML::LibXML) >= 1.7
|
BuildRequires: perl(XML::LibXML) >= 1.7
|
||||||
Requires: perl(HTML::TreeBuilder::XPath) >= 0.11
|
Requires: perl(HTML::TreeBuilder::XPath) >= 0.14
|
||||||
|
Requires: perl(LWP::UserAgent) >= 6
|
||||||
|
Requires: perl(URI)
|
||||||
Requires: perl(XML::LibXML) >= 1.7
|
Requires: perl(XML::LibXML) >= 1.7
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
HTML::TreeBuilder::XPath is libxml based compatible interface to
|
HTML::TreeBuilder::XPath is libxml based compatible interface to
|
||||||
@@ -32,33 +53,21 @@ This module doesn't implement all of HTML::TreeBuilder and HTML::Element
|
|||||||
APIs, but enough methods are defined so modules like Web::Scraper work.
|
APIs, but enough methods are defined so modules like Web::Scraper work.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "HTML-TreeBuilder-LibXML-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Build.PL installdirs=vendor
|
||||||
%__make %{?jobs:-j%{jobs}}
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
|
||||||
%perl_make_install
|
|
||||||
%perl_process_packlist
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%__make test
|
./Build test
|
||||||
|
|
||||||
%clean
|
%install
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes LICENSE README.md
|
||||||
%dir %{perl_vendorlib}/HTML
|
|
||||||
%dir %{perl_vendorlib}/HTML/TreeBuilder
|
|
||||||
%{perl_vendorlib}/HTML/TreeBuilder/LibXML
|
|
||||||
%{perl_vendorlib}/HTML/TreeBuilder/LibXML.pm
|
|
||||||
%dir %{perl_vendorarch}/auto/HTML
|
|
||||||
%dir %{perl_vendorarch}/auto/HTML/TreeBuilder
|
|
||||||
%{perl_vendorarch}/auto/HTML/TreeBuilder/LibXML
|
|
||||||
%doc %{perl_man3dir}/HTML::TreeBuilder::LibXML.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/HTML::TreeBuilder::LibXML::*.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user