Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-D
perl-Dist-Zilla-Plugin-Test-ReportPrereqs
perl-Dist-Zilla-Plugin-Test-ReportPrereqs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Dist-Zilla-Plugin-Test-ReportPrereqs.spec of Package perl-Dist-Zilla-Plugin-Test-ReportPrereqs
# # spec file for package perl-Dist-Zilla-Plugin-Test-ReportPrereqs # # 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 Dist-Zilla-Plugin-Test-ReportPrereqs Name: perl-Dist-Zilla-Plugin-Test-ReportPrereqs Version: 0.029 Release: 0 License: Apache-2.0 Summary: Report on prerequisite versions during automated testing URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(CPAN::Meta) BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Data::Section) >= 0.200002 BuildRequires: perl(Dist::Zilla) >= 4 BuildRequires: perl(Dist::Zilla::File::FromCode) BuildRequires: perl(Dist::Zilla::File::InMemory) BuildRequires: perl(Dist::Zilla::Role::FileGatherer) BuildRequires: perl(Dist::Zilla::Role::PrereqSource) BuildRequires: perl(Dist::Zilla::Tester) BuildRequires: perl(File::pushd) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Sub::Exporter::ForMethods) BuildRequires: perl(Test::More) >= 0.96 Requires: perl(Data::Section) >= 0.200002 Requires: perl(Dist::Zilla) >= 4 Requires: perl(Dist::Zilla::File::FromCode) Requires: perl(Dist::Zilla::File::InMemory) Requires: perl(Dist::Zilla::Role::FileGatherer) Requires: perl(Dist::Zilla::Role::PrereqSource) Requires: perl(Moose) Requires: perl(Moose::Util::TypeConstraints) Requires: perl(Sub::Exporter::ForMethods) %{perl_requires} %description This Dist::Zilla plugin adds a _t/00-report-prereqs.t_ test file and an accompanying _t/00-report-prereqs.dd_ data file. It reports the version of all modules listed in the distribution metadata prerequisites (including 'recommends', 'suggests', etc.). However, any 'develop' prereqs are not reported (unless they show up in another category). If a _MYMETA.json_ file exists and CPAN::Meta is installed on the testing machine, _MYMETA.json_ will be examined for prerequisites in addition, as it would include any dynamic prerequisites not set in the distribution metadata. Versions are reported based on the result of 'parse_version' from ExtUtils::MakeMaker, which means prerequisite modules are not actually loaded (which avoids various edge cases with certain modules). Parse errors are reported as "undef". If a module is not installed, "missing" is reported instead of a version string. Additionally, if CPAN::Meta is installed, unfulfilled required prerequisites are reported after the list of all versions based on either _MYMETA_ (preferably) or _META_ (fallback). %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 CONTRIBUTING.mkdn README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor