Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-L
perl-Log-Any-Adapter-DERIV
perl-Log-Any-Adapter-DERIV.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Log-Any-Adapter-DERIV.spec of Package perl-Log-Any-Adapter-DERIV
# # spec file for package perl-Log-Any-Adapter-DERIV # # Copyright (c) 2024 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 Log-Any-Adapter-DERIV Name: perl-Log-Any-Adapter-DERIV Version: 0.008 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: One company's example of a standardised logging setup URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DE/DERIV/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Clone) BuildRequires: perl(ExtUtils::MakeMaker) >= 7.64 BuildRequires: perl(File::HomeDir) BuildRequires: perl(Future) >= 0.49 BuildRequires: perl(JSON::MaybeUTF8) >= 1.002 BuildRequires: perl(Log::Any) >= 1.709 BuildRequires: perl(Log::Any::Adapter) BuildRequires: perl(Log::Any::Adapter::Coderef) >= 0.002 BuildRequires: perl(Log::Any::Adapter::Util) BuildRequires: perl(Log::Any::Proxy) BuildRequires: perl(Log::Any::Test) BuildRequires: perl(Path::Tiny) >= 0.118 BuildRequires: perl(Syntax::Keyword::Try) >= 0.28 BuildRequires: perl(Term::ANSIColor) >= 5.01 BuildRequires: perl(Test::CheckDeps) >= 0.010 BuildRequires: perl(Test::Deep) >= 1.130 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Fatal) >= 0.014 BuildRequires: perl(Test::MockModule) BuildRequires: perl(Test::MockTime::HiRes) BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Time::Moment) >= 0.44 BuildRequires: perl(curry) >= 1.001000 BuildRequires: perl(feature) BuildRequires: perl(parent) Requires: perl(Clone) Requires: perl(File::HomeDir) Requires: perl(Future) >= 0.49 Requires: perl(JSON::MaybeUTF8) >= 1.002 Requires: perl(Log::Any) >= 1.709 Requires: perl(Log::Any::Adapter::Coderef) >= 0.002 Requires: perl(Log::Any::Adapter::Util) Requires: perl(Log::Any::Proxy) Requires: perl(Path::Tiny) >= 0.118 Requires: perl(Syntax::Keyword::Try) >= 0.28 Requires: perl(Term::ANSIColor) >= 5.01 Requires: perl(Time::Moment) >= 0.44 Requires: perl(curry) >= 1.001000 Requires: perl(feature) Requires: perl(parent) %{perl_requires} %description Applies some opinionated log handling rules for Log::Any. *This is extremely invasive*. It does the following, affecting global state in various ways: * * applies UTF-8 encoding to STDERR * * writes to a '.json.log' file. * * overrides the default Log::Any::Proxy formatter to provide data as JSON * * when stringifying, may replace some problematic objects with simplified versions An example of the string-replacement approach would be the event loop in asynchronous code: it's likely to have many components attached to it, and dumping that would effectively end up dumping the entire tree of useful objects in the process. This is a planned future extension, not currently implemented. %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 examples 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