Accepting request 749481 from home:pmonrealgonzalez:branches:devel:languages:perl:CPAN-M

OBS-URL: https://build.opensuse.org/request/show/749481
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojo-DOM58?expand=0&rev=1
This commit is contained in:
Dirk Stoecker 2019-11-19 13:37:47 +00:00 committed by Git OBS Bridge
commit 6b65a6bf94
6 changed files with 162 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

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

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

20
cpanspec.yml Normal file
View File

@ -0,0 +1,20 @@
---
#description_paragraphs: 1
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires:
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

52
perl-Mojo-DOM58.changes Normal file
View File

@ -0,0 +1,52 @@
-------------------------------------------------------------------
Tue Nov 19 10:03:41 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- Add cpanspec.yml file
-------------------------------------------------------------------
Mon Nov 18 14:32:22 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- Initial packaging
* 2.000 2018-12-17 20:49:49 EST
- Fixed warnings in collection uniq method when collection contains undefined
values. (from Mojolicious 7.75)
- Added support for namespace selectors like "ns|*". (from Mojolicious 7.77)
- Added support for hyphen-separated list attribute selectors like
"[hreflang|=en]". (from Mojolicious 7.77)
- Added support for :link and :visited pseudo-classes. (from Mojolicious 7.77)
- Improved performance of all DOM manipulation methods significantly when
reusing Mojo::DOM58 objects. (from Mojolicious 7.78)
- Added new_tag method. (from Mojolicious 7.78)
- Added tag_to_html function. (from Mojolicious 7.78)
- Added selector method. (from Mojolicious 7.79)
- Improved HTML5.2 compliance. (from Mojolicious 8.02)
* 1.005 2018-02-06 14:28:11 EST
- Improved HTML Living Standard compliance (from Mojolicious 7.60)
* 1.004 2017-11-11 16:46:13 EST
- Added with_roles method to Mojo::DOM58 and collection objects to support
applying roles with Role::Tiny. (from Mojolicious 7.43)
* 1.003 2017-07-20 02:44:32 EDT
- Added EXPERIMENTAL support for :matches pseudo-class and :not pseudo-class
with compound selectors. (from Mojolicious 7.33)
- Fixed a few form element value extraction bugs. (from Mojolicious 7.33)
- Performance improvements (from Mojolicious 7.34)
* 1.002 2017-04-01 16:11:40 EDT
- Added html_attr_unescape function to Mojo::DOM58::Entities. (from
Mojolicious 7.29)
- Fixed unescaping of HTML5 attribute values. (from Mojolicious 7.29)
* 1.001 2016-11-23 16:17:25 EST
- Fix bug in Mojo::DOM58::Entities where the DATA handle would be mentioned
in error messages. (from Mojolicious 7.03)
* 1.000 2016-08-10 21:57:48 EDT
- (INCOMPATIBLE CHANGE) Removed support for smart whitespace trimming from
all_text and text methods, and fix whitespace bugs (from Mojolicious 7.0)
- Fixed CSS selector for value-less attributes (from Mojolicious 7.0)
* 0.999 2016-08-01 04:24:01 EDT (TRIAL RELEASE)
- (INCOMPATIBLE CHANGE) Removed support for smart whitespace trimming from
all_text and text methods, and fix whitespace bugs (from Mojolicious 7.0)
- Fixed CSS selector for value-less attributes (from Mojolicious 7.0)
* 0.002 2016-06-14 01:28:10 EDT
- Added recognition of <slot> element (from Mojolicious 6.59)
- Recognize legacy HTML entities without semicolons again (from Mojolicious 6.64)
* 0.001 2016-03-27 16:12:42 EDT
- First release

63
perl-Mojo-DOM58.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package perl-Mojo-DOM58
#
# Copyright (c) 2019 SUSE LLC.
#
# 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 https://bugs.opensuse.org/
#
Name: perl-Mojo-DOM58
Version: 2.000
Release: 0
%define cpan_name Mojo-DOM58
Summary: Minimalistic HTML/XML DOM parser with CSS selectors
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(JSON::PP)
BuildRequires: perl(Test::More) >= 0.88
%{perl_requires}
%description
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
http://www.w3.org/TR/xml/, and matching based on at
http://www.w3.org/TR/selectors/. It will even try to interpret broken HTML
and XML, so you should not use it for validation.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING.md examples README
%license LICENSE
%changelog