commit 759558f4d8643ff3ad08c456e854d4a069c74b736510a9b40aef16989cf1a65d Author: Adrian Schröter Date: Fri May 3 19:06:21 2024 +0200 Sync from SUSE:SLFO:Main perl-WWW-Mechanize revision 0b577e698924a804f0522c134a4424da diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/WWW-Mechanize-2.17.tar.gz b/WWW-Mechanize-2.17.tar.gz new file mode 100644 index 0000000..2daac9a --- /dev/null +++ b/WWW-Mechanize-2.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c02003e84621dea12c980c4101e79e4f8cae4e382cd3da239faa8bd198f063a +size 197517 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..275927c --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,41 @@ +--- +description_paragraphs: 4 +description: |- + 'WWW::Mechanize', or Mech for short, is a Perl module for stateful + programmatic web browsing, used for automating interaction with websites. + + Features include: + + * All HTTP methods + * High-level hyperlink and HTML form support, without having to parse + HTML yourself + * SSL support + * Automatic cookies + * Custom HTTP headers + * Automatic handling of redirections + * Proxies + * HTTP authentication + + Mech is well suited for use in testing web applications. If you use one of + the Test::*, like Test::HTML::Lint modules, you can check the fetched + content and use that as input to a test call. +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +# BuildRequires: gcc-c++ +#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 +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-WWW-Mechanize.changes b/perl-WWW-Mechanize.changes new file mode 100644 index 0000000..9c35b78 --- /dev/null +++ b/perl-WWW-Mechanize.changes @@ -0,0 +1,562 @@ +------------------------------------------------------------------- +Fri Apr 28 03:10:45 UTC 2023 - Tina Müller + +- updated to 2.17 + see /usr/share/doc/packages/perl-WWW-Mechanize/Changes + + 2.17 2023-04-27 15:45:01Z + [ENHANCEMENTS] + - Perltidied the entire dist, and enabled tests for it (Julien Fiegehenn) + +------------------------------------------------------------------- +Tue Feb 14 03:08:47 UTC 2023 - Tina Müller + +- updated to 2.16 + see /usr/share/doc/packages/perl-WWW-Mechanize/Changes + + 2.16 2023-02-11 12:09:16Z + [FIXED] + - Raise minimum Perl to 5.8 to match what we test, what dependencies + depend on, etc. (GH#352) (James Raspass) + [ENHANCEMENTS] + - New method delete() that allows DELETE requests with Mechanize::Link + objects (GH#361) (Stuart A Johnston) + [DOCUMENTATION] + - Clarify documentation for select() (GH#77) (Julien Fiegehenn) + - Various POD fixes (Julien Fiegehenn) + - Explain that :content-file does not decode content (GH#363) (bscan) + [TESTS] + - Test that follow_link(n=> 'all') warns (Kueppo Tcheukam) + - Drop Test::Warn prerequisite and only use Test::Warnings (GH#360) (Graham Knop) + +------------------------------------------------------------------- +Mon Aug 22 03:08:47 UTC 2022 - Tina Müller + +- updated to 2.15 + see /usr/share/doc/packages/perl-WWW-Mechanize/Changes + + 2.15 2022-08-21 07:47:35Z + [FIXED] + - There was a test suite failure on some Windows machines introduced in + 2.14 that is now fixed. (GH#350) (Julien Fiegehenn) + [ENHANCEMENTS] + - form_with and all_forms_with() now support the "action" attribute to find + forms (GH#349) (Julien Fiegehenn) + 2.14 2022-08-15 19:19:24Z + [FIXED] + - File upload fields now correctly handle overwriting the file name and + passing in content without a real file (GH#249) (Gil Magno and Julien + Fiegehenn) + - HTML::Form bumped to 6.08 (GH#347) (Julien Fiegehenn) + [ENHANCEMENTS] + - Add autocheck() to enable or disable autochecking at run time in + addition to setting it at object creation (GH#232) (Julien Fiegehenn) + - mech_dump now errors appropriately when it cannot open a URL or file + instead of claiming it has the wrong MIME type (GH#292) (Julien Fiegehenn) + 2.13 2022-07-29 09:44:46Z + [ENHANCEMENTS] + - mech_dump now treats all local files like HTML regardless of what it + thinks their content types are (GH#63) (Julien Fiegehenn) + - We now consistently use our own die() method and therefore the onerror + handler wherever possible (GH#80) (Julien Fiegehenn) + [TESTS] + - Add tests for field() when working on a