Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-P
perl-Pugs-Compiler-Rule
perl-Pugs-Compiler-Rule.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Pugs-Compiler-Rule.spec of Package perl-Pugs-Compiler-Rule
# # spec file for package perl-Pugs-Compiler-Rule # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # Name: perl-Pugs-Compiler-Rule Version: 0.37 Release: 0 %define cpan_name Pugs-Compiler-Rule Summary: Compiler for Perl 6 regexes License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/F/FG/FGLOCK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Cache::Cache) >= 1.05 BuildRequires: perl(File::Slurp) BuildRequires: perl(PadWalker) >= 1.0 BuildRequires: perl(Parse::Yapp) Requires: perl(Cache::Cache) >= 1.05 Requires: perl(File::Slurp) Requires: perl(PadWalker) >= 1.0 Requires: perl(Parse::Yapp) %{perl_requires} %description This module provides an pure Perl 5 implementation for Perl 6 regexes, which does not depend on the Haskell Pugs. It is a front-end to several other modules: Front-end Modules * * Pugs::Compiler::Grammar compiles Perl 6 grammars to Perl 5. * * Pugs::Compiler::Rule compiles Perl 6 rules to Perl 5. * * Pugs::Compiler::Token compiles Perl 6 tokens to Perl 5. * * Pugs::Compiler::Regex compiles Perl 6 regexes to Perl 5. * * Pugs::Compiler::RegexPerl5 wraps Perl 5 regexes to return a *Match* object. Runtime Classes * * Pugs::Runtime::Rule provides the runtime engine for Rules. * * Pugs::Runtime::Match represents a *Match* object. * * Pugs::Runtime::Grammar represents a *Grammar* class / object. Grammars * * Pugs::Grammar::Rule parses the Rules syntax. * * Pugs::Grammar::Base is the base Grammar: <ws>, <space>. Code Emitters * * Pugs::Emitter::Rule::Perl5 converts parsed Rules to Perl 5 code. * * Pugs::Emitter::Rule::Perl5::Ratchet converts parsed :ratchet Rules to Perl 5 code. * * Pugs::Emitter::Grammar::Perl5 converts parsed grammars to Perl 5 code. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes examples README TODO util %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