Sync from SUSE:SLFO:Main perl-Test-Deep revision 95b4d6f4325c7b40cf9bf815cd4dcaf3

This commit is contained in:
Adrian Schröter 2024-05-03 18:49:25 +02:00
commit ca349d25e4
5 changed files with 300 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

BIN
Test-Deep-1.204.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

5
cpanspec.yml Normal file
View File

@ -0,0 +1,5 @@
---
preamble: |-
# necessary because Test::Deep::NoTest does "require Test::Builder"
Requires: perl-Test-Simple

187
perl-Test-Deep.changes Normal file
View File

@ -0,0 +1,187 @@
-------------------------------------------------------------------
Sun Jan 8 03:08:18 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 1.204
see /usr/share/doc/packages/perl-Test-Deep/Changes
1.204 2023-01-07 18:01:37-05:00 America/New_York
- restore v5.12 compatibility (see commit 66b79eb for the amusing
anecdote)
1.203 2023-01-07 11:38:14-05:00 America/New_York
- try to avoid clobbering global error variables when loading test
libraries (thanks, Felipe Gasper)
- hash_each now enumates keys in sort() order, to make errors more
consistent
1.202 2023-01-04 20:40:46-05:00 America/New_York
- no changes since trial releases
- Test::Deep now requires perl v5.12.
1.201 2023-01-03 19:28:05-05:00 America/New_York (TRIAL RELEASE)
- correct Changes entry about which version version of perl is required
1.200 2023-01-02 16:55:10-05:00 America/New_York (TRIAL RELEASE)
- converted to Dist::Zilla
- Test::Deep will now require v5.12, and this may go up. This change
allows simplification of the Makefile.PL, which was coping with a
mistake made twelve years ago.
-------------------------------------------------------------------
Mon Mar 2 03:16:19 UTC 2020 - <timueller+perl@suse.de>
- updated to 1.130
see /usr/share/doc/packages/perl-Test-Deep/Changes
1.130 2020-03-01
- no changes since 1.129
1.129 2020-01-26 - TRIAL RELEASE
- documentation fixes (thanks, Daniel Böhmer!)
- allow NoTest to be used without breaking other Test::Deep
(thanks, Alexander Karelas!)
- added true/false optional imports (thanks, Denis Ibaev!)
-------------------------------------------------------------------
Fri Apr 20 06:03:00 UTC 2018 - coolo@suse.com
- updated to 1.128
see /usr/share/doc/packages/perl-Test-Deep/Changes
1.128 2018-04-18
- numerous small improvements to documentation; thanks to
Fabrice Gabolde, Daniel Böhmer, Lance Wicks, Matthew Horsfall
- improved CI setup; thanks to eadjei and Philip J. Ludlam
-------------------------------------------------------------------
Sat May 6 06:40:36 UTC 2017 - coolo@suse.com
- updated to 1.127
see /usr/share/doc/packages/perl-Test-Deep/Changes
1.127 2017-05-04
- no code changes from previous release
1.126_001 2017-04-17
- do not eagerly convert simple scalars into tests in the all, any, and
none tests; this was breaking LeafWrapper application
-------------------------------------------------------------------
Fri Jan 6 20:11:25 UTC 2017 - coolo@suse.com
- updated to 1.126
see /usr/share/doc/packages/perl-Test-Deep/Changes
-------------------------------------------------------------------
Tue Mar 10 08:12:01 UTC 2015 - ncutler@suse.com
- add "Requires: perl-Test-Simple" to spec (hidden dependency
not caught by cpanspec)
-------------------------------------------------------------------
Tue Mar 10 07:17:53 UTC 2015 - ncutler@suse.com
- updated to 0.115
- worked around a bug in chained goto on 5.8.5
- improve prereqs metadata (thanks, Karen Etheridge)
- add a noneof() set test (thanks, Peter Haworth)
- regexponly hasn't worked... ever. now it does
- passing :preload to import loads all plugins up front
- a few more tests have been documented
- the many exports of Test::Deep are now documented!
- fix a compile error (!!) in RegexpOnly
- fix some documentation typos (thanks, ZOFFIX)
- add license to META file
-------------------------------------------------------------------
Mon Dec 9 11:17:46 UTC 2013 - coolo@suse.com
- updated to 0.112
- rebuild MANIFEST, adding two forgotten files
- When printing diagnostics, differentiate the type of a blessed object
from the name of the class itself (RT#78288, caused by changes to how
blessed objects are treated in 0.109) (thanks, Karen Etheridge)
- Typo fixes (thanks, David Steinbrunner)
- Fixes to clarity and accuracy of documentation (thanks, Michael Hamlin)
- Add metadata links to repo and issue tracker
- Added obj_isa for testing ->isa without falling back to ref($x)
- Added the *experimental* ":v1" export group to skip importing
Isa, isa, and blessed
-------------------------------------------------------------------
Tue Jun 4 15:02:11 UTC 2013 - coolo@suse.com
- updated to 0.110
Allow methods() and listmethods() to work again on class methods
(RT#77804) (thanks, Ricardo Signes!)
-------------------------------------------------------------------
Mon Feb 20 08:38:11 UTC 2012 - coolo@suse.com
- updated to 0.109
UNIVERSAL::isa and UNIVERAL::can are no longer called as functions:
this was deprecated in UNIVERSAL 1.03. (RT#74760, Karen Etheridge)
the code that builds the exporter configuration is cleaned up; more
documentation of how it may change (for the better, without breaking
stuff) should appear in the near future
-------------------------------------------------------------------
Fri Nov 18 11:07:53 UTC 2011 - coolo@suse.com
- use original .tar.gz
-------------------------------------------------------------------
Wed Dec 1 09:44:38 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Sat Oct 16 09:30:53 UTC 2010 - chris@computersalat.de
- update to 0.108
o simple (stringwise) comparison should now be much faster
(thanks, NCLEATON)
- fix deps
-------------------------------------------------------------------
Thu Sep 30 19:38:55 UTC 2010 - chris@computersalat.de
- update to 0.107
o New maintainer: Ricardo Signes (rjbs)
o On 5.10.0 and newer perl, install to the "site" directory, not the
core perl directory in @INC. (Prior to 5.10.0, @INC ordering was
unfortunate, and fixing the install target would make upgrading
difficult.)
o cope with new stringification of qr{} objects in 5.13.x+ (thanks,
ANDK)
o fix Pod escaping errors (thanks, FWIE)
- noarch pkg
- recreated by cpanspec 1.78
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Mon Sep 7 12:41:55 CEST 2009 - mls@suse.de
- update to 0.106 to make it build with perl-5.10.1
-------------------------------------------------------------------
Sat Jul 25 19:42:42 CEST 2009 - chris@computersalat.de
- spec mods
* removed ^----------
* removed ^#---------
-------------------------------------------------------------------
Sat Jun 20 23:10:07 CEST 2009 - chris@computersalat.de
- initial obs package 0.104

82
perl-Test-Deep.spec Normal file
View File

@ -0,0 +1,82 @@
#
# spec file for package perl-Test-Deep
#
# Copyright (c) 2023 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/
#
%define cpan_name Test-Deep
Name: perl-Test-Deep
Version: 1.204
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Extremely flexible deep comparison
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Tester) >= 0.107
Requires: perl(Test::More) >= 0.96
%{perl_requires}
# MANUAL BEGIN
# necessary because Test::Deep::NoTest does "require Test::Builder"
Requires: perl-Test-Simple
# MANUAL END
%description
If you don't know anything about automated testing in Perl then you should
probably read about Test::Simple and Test::More before preceding.
Test::Deep uses the Test::Builder framework.
Test::Deep gives you very flexible ways to check that the result you got is
the result you were expecting. At its simplest it compares two structures
by going through each level, ensuring that the values match, that arrays
and hashes have the same elements and that references are blessed into the
correct class. It also handles circular data structures without getting
caught in an infinite loop.
Where it becomes more interesting is in allowing you to do something
besides simple exact comparisons. With strings, the 'eq' operator checks
that 2 strings are exactly equal but sometimes that's not what you want.
When you don't know exactly what the string should be but you do know some
things about how it should look, 'eq' is no good and you must use pattern
matching instead. Test::Deep provides pattern matching for complex data
structures
Test::Deep has *_a lot_* of exports. See EXPORTS below.
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README TODO
%license LICENSE
%changelog