Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-S
perl-Syntax-Operator-Zip
perl-Syntax-Operator-Zip.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Syntax-Operator-Zip.spec of Package perl-Syntax-Operator-Zip
# # spec file for package perl-Syntax-Operator-Zip # # 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 Syntax-Operator-Zip Name: perl-Syntax-Operator-Zip Version: 0.10 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Infix operator to compose two lists together URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{version}.tar.gz BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(Module::Build) >= 0.4004 BuildRequires: perl(Test2::V0) BuildRequires: perl(XS::Parse::Infix) >= 0.40 BuildRequires: perl(XS::Parse::Infix::Builder) >= 0.26 BuildRequires: perl(meta) >= 0.004 Requires: perl(XS::Parse::Infix) >= 0.40 Requires: perl(meta) >= 0.004 %{perl_requires} %description This module provides infix operators that compose lists of elements by associating successive elements from each of the input lists, forming a new list. Support for custom infix operators was added in the Perl 5.37.x development cycle and is available from development release v5.37.7 onwards, and therefore in Perl v5.38 onwards. The documentation of XS::Parse::Infix describes the situation in more detail. While Perl versions before this do not support custom infix operators, they can still be used via 'XS::Parse::Infix' and hence XS::Parse::Keyword. Custom keywords which attempt to parse operator syntax may be able to use these. Additionally, earlier versions of perl can still use the function-like wrapper versions of these operators. Even though the syntax appears like a regular function call, the code is compiled internally into the same more efficient operator internally, so will run without the function-call overhead of a regular function. %prep %autosetup -n %{cpan_name}-%{version} %build perl Build.PL --installdirs=vendor optimize="%{optflags}" ./Build build --flags=%{?_smp_mflags} %check ./Build test %install ./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %doc Changes 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