[Bug 284478] [New port] devel/p5-XT-Files: Standard interface for author tests to find files to check

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 31 Jan 2025 10:33:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284478

            Bug ID: 284478
           Summary: [New port] devel/p5-XT-Files: Standard interface for
                    author tests to find files to check
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://metacpan.org/dist/XT-Files
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: svysh.fbsd@gmail.com

XT::Files is the Tests that know what they want to check (e.g. module files),
but it's the distribution that knows where these files can be found (e.g. in
the lib directory and in the t/lib directory). Without XT::Files you may add
the same code to multiple .t files under xt that iterate over a check function
of the test. XT::Files is a standard interface that makes it easy for author
tests to ask the distribution for the kind of files it would like to test. And
it can easily be used for author tests that don't support XT::Files to have the
same set of files tested with every test.

- This port in an indirect new dependency for existing port
devel/p5-Workflow-2.04

- "portlint -AC" is happy.
- "portclippy Makefile" is happy.
- "portfmt -D Makefile" is happy.
- Tested with:
14.2-RELEASE
portlint 2.22.5
portfmt 1.1.5
pkg 2.0.5
poudriere-git-3.4.99.20250115
perl 5.36.3_2
openssl 3.0.15
ssl=base
- built-in perl tests in a clean poudriere jail say: PASS.

-- 
You are receiving this mail because:
You are the assignee for the bug.