Accepting request 883245 from devel:languages:perl:autoupdate

- updated to 3.000
   see /usr/share/doc/packages/perl-Mojo-DOM58/Changes
  3.000     2021-04-04 23:34:33 EDT
    - Added head and tail collection methods. (from Mojolicious 8.23)
    - Added EXPERIMENTAL support for :any-link pseudo-class. (from Mojolicious 8.42)
    - Added EXPERIMENTAL support for case-sensitive attribute selectors like
      [foo="bar" s]. (from Mojolicious 8.42)
    - Renamed experimental :matches pseudo-class to :is. (from Mojolicious 8.42)
    - Fixed a bug where the case-sensitivity identifier in attribute selectors was
      case-sensitive. (from Mojolicious 8.42)
    - Fixed a bug where select and ruby elements were parsed incorrectly.
      (from Mojolicious 8.54)
    - Added EXPERIMENTAL support for :scope and :has pseudo-classes.
      (from Mojolicious 8.54)
    - Added support for MOJO_DOM58_CSS_DEBUG environment variable to print
      diagnostics information for CSS selectors. (from Mojolicious 8.55)
    - Unknown CSS selectors will now throw exceptions. (from Mojolicious 8.66)
    - (INCOMPATIBLE CHANGE) Improved all_text method to exclude "<script>" and
      "<style>" from text extraction in HTML documents. (from Mojolicious 9.0)

OBS-URL: https://build.opensuse.org/request/show/883245
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojo-DOM58?expand=0&rev=3
This commit is contained in:
Pedro Monreal Gonzalez 2021-04-12 09:01:32 +00:00 committed by Git OBS Bridge
parent 4abd328153
commit b7f65c8af7
4 changed files with 38 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:864c6a3571fb4986a9ae0af0f2c840acb102f1f73a1aaf027b06b42b8d045ef3
size 75577

3
Mojo-DOM58-3.000.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd893aed131a4f7358ef886ca8a191b33c4d45e1826b99a30c5db06ee9786731
size 76606

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Tue Apr 6 03:06:31 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 3.000
see /usr/share/doc/packages/perl-Mojo-DOM58/Changes
3.000 2021-04-04 23:34:33 EDT
- Added head and tail collection methods. (from Mojolicious 8.23)
- Added EXPERIMENTAL support for :any-link pseudo-class. (from Mojolicious 8.42)
- Added EXPERIMENTAL support for case-sensitive attribute selectors like
[foo="bar" s]. (from Mojolicious 8.42)
- Renamed experimental :matches pseudo-class to :is. (from Mojolicious 8.42)
- Fixed a bug where the case-sensitivity identifier in attribute selectors was
case-sensitive. (from Mojolicious 8.42)
- Fixed a bug where select and ruby elements were parsed incorrectly.
(from Mojolicious 8.54)
- Added EXPERIMENTAL support for :scope and :has pseudo-classes.
(from Mojolicious 8.54)
- Added support for MOJO_DOM58_CSS_DEBUG environment variable to print
diagnostics information for CSS selectors. (from Mojolicious 8.55)
- Unknown CSS selectors will now throw exceptions. (from Mojolicious 8.66)
- (INCOMPATIBLE CHANGE) Improved all_text method to exclude "<script>" and
"<style>" from text extraction in HTML documents. (from Mojolicious 9.0)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 19 10:03:41 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> Tue Nov 19 10:03:41 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Mojo-DOM58 # spec file for package perl-Mojo-DOM58
# #
# Copyright (c) 2019 SUSE LLC. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,36 +16,35 @@
# #
Name: perl-Mojo-DOM58
Version: 2.000
Release: 0
%define cpan_name Mojo-DOM58 %define cpan_name Mojo-DOM58
Name: perl-Mojo-DOM58
Version: 3.000
Release: 0
Summary: Minimalistic HTML/XML DOM parser with CSS selectors Summary: Minimalistic HTML/XML DOM parser with CSS selectors
License: Artistic-2.0 License: Artistic-2.0
Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name}
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(JSON::PP) BuildRequires: perl(JSON::PP)
BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::More) >= 0.96
%{perl_requires} %{perl_requires}
%description %description
Mojo::DOM58 is a minimalistic and relaxed pure-perl HTML/XML DOM parser Mojo::DOM58 is a minimalistic and relaxed pure-perl HTML/XML DOM parser
based on Mojo::DOM. It supports the at https://html.spec.whatwg.org/ and at based on Mojo::DOM. It supports the at https://html.spec.whatwg.org/ and at
http://www.w3.org/TR/xml/, and matching based on at https://www.w3.org/TR/xml/, and matching based on at
http://www.w3.org/TR/selectors/. It will even try to interpret broken HTML https://www.w3.org/TR/selectors/. It will even try to interpret broken HTML
and XML, so you should not use it for validation. and XML, so you should not use it for validation.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@ -56,8 +55,7 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %doc Changes CONTRIBUTING.md examples prereqs.yml README
%doc Changes CONTRIBUTING.md examples README
%license LICENSE %license LICENSE
%changelog %changelog