Compare commits
10 Commits
ac5c4b1bf1
...
8d21b2bc76
Author | SHA256 | Date | |
---|---|---|---|
8d21b2bc76 | |||
b5366600da | |||
|
7c9dd300d0 | ||
|
5c9dc3765c | ||
8ec83ca180 | |||
36cfb12c8b | |||
|
c357aaed73 | ||
|
1a11339a3a | ||
|
a080b725f3 | ||
dfbba1f0a1 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7718d9bb0d4259eabf326838e3f841b440c4e959faf9615d9ad9c345f4a3d6f
|
||||
size 257602
|
3
Regexp-Grammars-1.058.tar.gz
Normal file
3
Regexp-Grammars-1.058.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea88d58e251674fae39b49f4d3b5342eaccb8fcb55856cd304aa1a5ff3d41c92
|
||||
size 265786
|
@@ -1,25 +1,139 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 16 03:08:00 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.058
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
1.058 Thu Sep 15 01:30:29 2022
|
||||
|
||||
* Added a CONTRIBUTING file to the distribution.
|
||||
(Thanks, Marc!)
|
||||
|
||||
* Removed unneeded dependency on B::Hooks::Parser
|
||||
(Thanks, Lars!)
|
||||
|
||||
* Backed out a fix for a very subtle bug with automatic whitespace matching under <debug: on>
|
||||
The original fix in 1.057 was insufficient. This will be fixed properly in the next release.
|
||||
(sorry, Malan!)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 23 03:10:44 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
updated to 1.057
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
|
||||
|
||||
1.056 Fri May 22 20:46:21 2020
|
||||
|
||||
* Silenced 'undefined' warning from context-string tracking
|
||||
(thanks Hugo)
|
||||
|
||||
|
||||
1.057 Fri May 22 22:06:11 2020
|
||||
|
||||
* Fixed a very subtle bug with automatic whitespace matching under <debug: on>
|
||||
(thanks, Malan!)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 8 03:12:51 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
updated to 1.055
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
|
||||
|
||||
1.055 Thu May 7 22:53:14 2020
|
||||
|
||||
* Fixed bug in parsing (??{...}) constructs
|
||||
(thanks Hugo)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 6 03:15:53 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
updated to 1.054
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
1.053 Sun May 3 06:41:38 2020
|
||||
* Fixed irritating "Satisified" typo in interface
|
||||
(thanks, Stéphane!)
|
||||
* Fixed equally irritating "???/!!!" typo in docs
|
||||
(thanks, Stéphane!)
|
||||
* Other minor doc fixes
|
||||
* INCOMPATIBLE CHANGE: <, %, and %% are now never treated as literal.
|
||||
They are now always either part of the module's metasyntax,
|
||||
or else a fatal error. All literal <, %, and %% characters
|
||||
must henceforth be quoted by backslashing: \<, \%, and \%\%
|
||||
(thanks, Hugo!)
|
||||
|
||||
1.054 Tue May 5 06:16:58 2020
|
||||
* Fixed bug in positive lookahead translation
|
||||
(thanks Hugo!)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 06:02:31 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 1.052
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
1.052 Wed Jul 17 08:17:29 2019
|
||||
* Fixed bug in <nocontext:> handling (thanks, Alex!)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 16 10:02:13 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 1.051
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
1.051 Tue Jul 2 20:17:55 2019
|
||||
* Documented %% operator
|
||||
* Numerous POD nits fixed (thanks, Ruud and Alex!)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 27 05:30:24 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 1.050
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
1.050 Sat Apr 27 08:38:21 2019
|
||||
* Improved detection of explicit space matching in rules
|
||||
(now handles \h and as well as \s)
|
||||
* Improved transparency of debugger so that it no longer injects
|
||||
spurious whitespace matching after debugged constructs
|
||||
(Thanks, Louis!)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 8 06:54:28 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 1.049
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
1.049 Fri Oct 5 06:55:49 2018
|
||||
* Modified documentation of problems with "non-backtracking"
|
||||
constructs, to cover new cases that have been discovered.
|
||||
(Sorry, Hugo)
|
||||
* Extended documentation of rules vs tokens with a short
|
||||
example demonstrating the explicit equivalence
|
||||
(thanks, Stefan)
|
||||
* Miscellaneous POD fixes (thanks, Hugo)
|
||||
* Clarified behaviour of <[MATCH=subrule]>* on zero match
|
||||
(Thanks, Alex)
|
||||
* Added %% operator for separated lists
|
||||
with optional trailing separator
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 27 06:05:57 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 1.048
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
|
||||
|
||||
|
||||
1.047 Tue Sep 26 15:41:13 2017
|
||||
|
||||
* Fixed misleading (mis-)documentation of <[MATCH=item]>
|
||||
(thanks, Felix!)
|
||||
|
||||
* Fixed handling of (?>...) construct
|
||||
(thanks, Hugo!)
|
||||
|
||||
|
||||
|
||||
|
||||
1.048 Wed Sep 27 06:20:49 2017
|
||||
|
||||
* Hid use of Regexp package from CPAN
|
||||
(Thanks, Neil)
|
||||
|
||||
@@ -28,39 +142,26 @@ Mon Jun 13 07:36:07 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 1.045
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
|
||||
|
||||
1.042 Wed Sep 16 16:32:23 2015
|
||||
|
||||
* Prelimary attempt to support raw named captures as well as R::G syntax
|
||||
(may induce bugs, though none found in the test suite)
|
||||
|
||||
* Fixed bug deep inside demo/demo_rfc5322.pl
|
||||
(Thanks, Dale!)
|
||||
|
||||
* Replaced Lexical::Vars with B::Hooks::Parser for 5.22+ compatibility
|
||||
(Thanks Alex!)
|
||||
|
||||
|
||||
1.043 Mon Dec 14 13:14:25 2015
|
||||
|
||||
* Eliminated redundant calls to setup() and teardown() for B::Hooks::Parser
|
||||
|
||||
* Removed timeout test, as it cannot be reliably run across platforms
|
||||
much faster or slower than the author's development platform.
|
||||
(Thanls Slavin)
|
||||
|
||||
(Thanks Slavin)
|
||||
|
||||
1.044 Wed Dec 16 08:22:01 2015
|
||||
|
||||
* Yet another attempt to code around the changes in vars-inside-regexes
|
||||
to preserve post-5.18 compatibility (Thanks, Kent!)
|
||||
|
||||
|
||||
|
||||
1.045 Tue Jan 12 15:55:21 2016
|
||||
|
||||
* Fixed bug causing premature clearing of action handlers
|
||||
(thanks Keith!)
|
||||
|
||||
@@ -70,15 +171,10 @@ Sun May 3 08:46:01 UTC 2015 - coolo@suse.com
|
||||
- updated to 1.041
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
|
||||
|
||||
|
||||
1.041 Sun May 3 12:57:37 2015
|
||||
|
||||
* Documented edge case where new 5.18 regex compilation semantics
|
||||
breaks the <%hash> construct, listing two work-arounds
|
||||
(thanks David and Gianni!)
|
||||
|
||||
* Fixed subtle problem with implicit whitespace-matching invalidating
|
||||
subrule argument lists
|
||||
(thanks Alex!)
|
||||
@@ -89,177 +185,111 @@ Fri Apr 17 08:36:09 UTC 2015 - coolo@suse.com
|
||||
- updated to 1.040
|
||||
see /usr/share/doc/packages/perl-Regexp-Grammars/Changes
|
||||
|
||||
|
||||
|
||||
1.020 Thu Aug 16 14:13:03 2012
|
||||
|
||||
* Fixed licence generation in Makefile.PL
|
||||
|
||||
* Fixed issues with the stupid behaviour
|
||||
of Perl 5.17+ wrt (un)backslashed {'s
|
||||
|
||||
* Fixed bad code in SYNOPSIS example
|
||||
(Thanks Paul!)
|
||||
|
||||
* Fixed bad code in demo/demo_pos.pl
|
||||
(Thanks Peng)
|
||||
|
||||
* Corrected docs for <debug: on>
|
||||
(Thanks Peng)
|
||||
|
||||
* BACKWARDS INCOMPATIBLE CHANGE!!!!
|
||||
Due to limitations in Perl's qr overload
|
||||
The <\IDENT> backreference syntax has had to be changed
|
||||
to <\_IDENT>
|
||||
|
||||
|
||||
1.021 Mon Aug 20 13:55:34 2012
|
||||
|
||||
* Made Latin-1 encoding of docs explicit
|
||||
|
||||
|
||||
1.022 Tue Jan 22 18:39:16 2013
|
||||
|
||||
* Fixed minimization (by handling nocontext marker correctly)
|
||||
(thanks Thomas!)
|
||||
|
||||
|
||||
1.025 Wed Jan 30 09:39:52 2013
|
||||
|
||||
* Reuploaded with no substantive modifications
|
||||
|
||||
|
||||
1.026 Thu Jan 31 08:20:14 2013
|
||||
|
||||
* Re-fixed minimization (by handling nocontext marker correctly)
|
||||
(thanks again Thomas!)
|
||||
|
||||
|
||||
|
||||
1.027 Fri May 10 07:43:52 2013
|
||||
|
||||
* Fixed nasty bug where 0 used as an atom
|
||||
(many thanks Arseny!)
|
||||
|
||||
|
||||
1.028 Sat May 11 06:00:00 2013
|
||||
|
||||
* Fixed very nasty caching bug within interpolation support
|
||||
(many more thanks Arseny!)
|
||||
|
||||
|
||||
|
||||
|
||||
1.029 Tue Jun 25 15:44:35 2013
|
||||
|
||||
* Doc patch (thanks Steven)
|
||||
|
||||
* Added workarounds for some unfortunate changes in 5.18 behaviour
|
||||
(thanks Steven)
|
||||
|
||||
* CRITICAL: Added warning regarding fundamental and intractable
|
||||
incompatibilities with Perl 5.18, and announcing that
|
||||
Regexp::Grammars is not supported under that version of Perl. :-(
|
||||
|
||||
|
||||
1.030 Wed Jun 26 07:17:41 2013
|
||||
|
||||
* Added essential-but-missing Skip_if_Perl_518 to the MANIFEST
|
||||
|
||||
|
||||
|
||||
1.031 Mon Aug 19 09:55:37 2013
|
||||
|
||||
* Updated warning re 5.18 incompatibilities. Some progress has been
|
||||
made, but a complete solution is still at least a month away,
|
||||
possibly longer.
|
||||
|
||||
* Added dependency on Lexical::Var under Perl 5.18 to overcome
|
||||
problem with magic pseudo-variables
|
||||
|
||||
|
||||
1.032 Thu Aug 29 10:44:21 2013
|
||||
|
||||
* Culled stray DB::single = 1 (thanks Robert!)
|
||||
|
||||
|
||||
1.033 Sat Aug 31 13:10:57 2013
|
||||
|
||||
* Listed dependency on Lexical::Var under Perl 5.18 to overcome
|
||||
problem with magic pseudo-variables (thanks Andreas!)
|
||||
|
||||
|
||||
|
||||
1.034 Wed Jun 11 06:50:04 2014
|
||||
|
||||
* Reverted actual encoding to match nominated encoding (i.e. Latin-1)
|
||||
(thanks Olivier)
|
||||
|
||||
* Fixed last bug preventing module from passing
|
||||
its own test suite under 5.20.
|
||||
|
||||
* Gave up (for the present) on Perl 5.18 compatibility.
|
||||
|
||||
* Noted limitations of passing %MATCH values as subrule args
|
||||
under 5.18+
|
||||
|
||||
|
||||
1.035 Sat Jun 28 19:03:54 2014
|
||||
|
||||
(All of the following with deepest thanks to Hugo...)
|
||||
|
||||
* Removed no-longer-necessar Skip_if_Perl_518.pm from MANIFEST
|
||||
|
||||
* Allowed rule declarations to be made anywhere
|
||||
(not just at the start of a line)
|
||||
|
||||
* Fixed buggy edge-case for in-rule whitespace auto-matching
|
||||
at start of rule body (now works even if there is only a single
|
||||
whitespace between <rule: NAME> and first element of rule body)
|
||||
|
||||
* Made R::G auto-/x any regex used under its suasion
|
||||
(solves formerly intractable problem of detecting a missing /x)
|
||||
|
||||
* R::G now short-circuits any regex in its scope that does not
|
||||
contain any R::G constructs (and does not auto-/x them either)
|
||||
|
||||
* Added line numbers to all warnings generated by the module
|
||||
|
||||
* Added detection of "stray" quantifiers: unquoted quantifiers that
|
||||
don't actually quantify anything.
|
||||
|
||||
* Added line-number annotations to the transformed regex as a
|
||||
last-gasp kind of assistance when confronted with the dreaded
|
||||
post-transformation "error marked with <-- HERE" message
|
||||
|
||||
|
||||
|
||||
1.036 Mon Sep 15 12:58:47 2014
|
||||
|
||||
* Minor doc improvements
|
||||
|
||||
* Fixed odd behaviour of <debug: off>
|
||||
(Thanks, Chris!)
|
||||
|
||||
|
||||
|
||||
1.038 Thu Dec 11 14:52:05 2014
|
||||
|
||||
* Fixed bug where actions persisted after a failed ->with_actions() match
|
||||
(Thanks Hao Wu!)
|
||||
|
||||
|
||||
|
||||
|
||||
1.039 Sat Feb 7 08:39:58 2015
|
||||
|
||||
* Module works correctly under 5.18.4.
|
||||
Updated warnings to reflect this.
|
||||
(Thanks p5p!)
|
||||
|
||||
|
||||
1.040 Thu Mar 26 07:44:41 2015
|
||||
|
||||
* Tweaked Makefile.PL and BUILD.PL to (maybe)
|
||||
work more happily with the CPANTesters toolchain
|
||||
|
||||
@@ -268,4 +298,3 @@ Thu May 31 12:09:32 UTC 2012 - coolo@suse.com
|
||||
|
||||
- initial package 1.016
|
||||
* created by cpanspec 1.78.06
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Regexp-Grammars
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,36 +12,37 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Regexp-Grammars
|
||||
Version: 1.048
|
||||
Release: 0
|
||||
%define cpan_name Regexp-Grammars
|
||||
Name: perl-Regexp-Grammars
|
||||
Version: 1.58.0
|
||||
Release: 0
|
||||
# 1.058 -> normalize -> 1.58.0
|
||||
%define cpan_version 1.058
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Add grammatical parsing features to Perl 5.10 regexes
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Regexp-Grammars/
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DC/DCONWAY/%{cpan_name}-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DC/DCONWAY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(B::Hooks::Parser) >= 0.16
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(version)
|
||||
Requires: perl(B::Hooks::Parser) >= 0.16
|
||||
Requires: perl(version)
|
||||
Provides: perl(Regexp::Grammars) = %{version}
|
||||
Provides: perl(Regexp::Grammars::Precursor)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module adds a small number of new regex constructs that can be used
|
||||
within Perl 5.10 patterns to implement complete recursive-descent parsing.
|
||||
|
||||
Perl 5.10 already supports recursive=descent _matching_, via the new
|
||||
Perl 5.10 already supports recursive-descent _matching_, via the new
|
||||
'(?<name>...)' and '(?&name)' constructs. For example, here is a simple
|
||||
matcher for a subset of the LaTeX markup language:
|
||||
|
||||
@@ -185,21 +186,22 @@ following sections explain each of those features, and some of the parsing
|
||||
techniques they support.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user