Sync from SUSE:SLFO:Main perl-XS-Parse-Keyword revision 2a3af1a63295f0b5247d012a87b87ca5
This commit is contained in:
commit
8e4b716f14
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
XS-Parse-Keyword-0.33.tar.gz
(Stored with Git LFS)
Normal file
BIN
XS-Parse-Keyword-0.33.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
35
cpanspec.yml
Normal file
35
cpanspec.yml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
# baz.patch: PATCH-FIX-OPENSUSE
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
||||||
|
#skip_doc: regexp_to_skip_for_doc.*
|
||||||
|
#add_doc: files to add to docs
|
||||||
|
#misc: |-
|
||||||
|
#anything else to be added to spec file
|
||||||
|
#follows directly after %files section, so it can contain new blocks or also
|
||||||
|
#changes to %files section
|
232
perl-XS-Parse-Keyword.changes
Normal file
232
perl-XS-Parse-Keyword.changes
Normal file
@ -0,0 +1,232 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 19 03:06:55 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.33
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.33 2023-02-18
|
||||||
|
[CHANGES]
|
||||||
|
* Added XPK_LEXVAR, a non `my`-alike variant
|
||||||
|
* Added XPK_*_pieces() macros allowing caller to dynamically generate
|
||||||
|
sub-arrays of pieces
|
||||||
|
|
||||||
|
[BUGFIXES]
|
||||||
|
* Remember to consume whitespace between XPK_REPEATED elements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 13 03:11:04 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.32
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.32 2023-01-12
|
||||||
|
[BUGFIXES]
|
||||||
|
* Ensure that XPK_TERMEXPR acting as a fullexpr is OK with empty
|
||||||
|
parens (RT145618)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 26 03:08:39 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.31
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.31 2022-12-25
|
||||||
|
[CHANGES]
|
||||||
|
* PL_infix_plugin now exists in 5.37.7
|
||||||
|
* Support the new infix operator precedence levels added by
|
||||||
|
perl v5.37.7
|
||||||
|
* Various updates to hax/ support files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 4 03:10:55 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.30
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.30 2022-12-03
|
||||||
|
[CHANGES]
|
||||||
|
* Added XPK_STAGED_ANONSUB; inspired a bit by XS::Parse::Sublike for
|
||||||
|
customising the parsing of anonmethod
|
||||||
|
0.29 2022-12-01
|
||||||
|
[CHANGES]
|
||||||
|
* Added XPK_PREFIXED_TERMEXPR_ENTERLEAVE
|
||||||
|
[BUGFIXES]
|
||||||
|
* Don't try to call `SvPVX()` on a `newSV(0)` because -DDEBUGGING
|
||||||
|
perls get upset (RT145278)
|
||||||
|
* Remember to `break` out of switch block cases when testing for
|
||||||
|
`KEYWORD_PLUGIN_*` return values
|
||||||
|
0.28 2022-11-25
|
||||||
|
[CHANGES]
|
||||||
|
* Include a XSParseInfixClassification field in the XSParseInfixInfo
|
||||||
|
structure
|
||||||
|
* Do not permit mixed identifier/non characters in the names of
|
||||||
|
registered infix operators
|
||||||
|
* No longer supports XSParseInfix ABI version 0
|
||||||
|
[BUGFIXES]
|
||||||
|
* When parsing an infix operator name, make sure not to be confused
|
||||||
|
by additional identifier characters immediately after it
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 1 03:08:08 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.27
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.27 2022-10-31
|
||||||
|
[CHANGES]
|
||||||
|
* Updates to XS::Parse::Infix for latest `infix-plugin` perl5 branch
|
||||||
|
+ parsedata field is now an SV **, not an ANY *
|
||||||
|
* Expose parse_infix() as a real ABI function, allowing infix
|
||||||
|
operators to be hyper-operators and parse other operator names
|
||||||
|
|
||||||
|
0.26 2022-10-24
|
||||||
|
[CHANGES]
|
||||||
|
* Updates to XS::Parse::Infix for latest `infix-plugin` perl5 branch
|
||||||
|
+ Requires classification to set the operator precedence
|
||||||
|
+ No longer need XPI_OPERAND_ARITH or XPI_OPERAND_TERM; most of
|
||||||
|
.lhs_flags and .rhs_flags are redundant now
|
||||||
|
+ No longer support XPI_OPERAND_CUSTOM
|
||||||
|
+ Optional `parse` phase for parametric/hyper-operators
|
||||||
|
* Bump XS::Parse::Infix ABI version to 2
|
||||||
|
* Declare XPI ABI v0 as deprecated, soon to be removed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 27 03:09:17 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.25
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.25 2022-07-25
|
||||||
|
[CHANGES]
|
||||||
|
* Permit infix operators to consume fewer than all the available
|
||||||
|
symbols; allowing for RHS operands that begin with symbols without
|
||||||
|
intervening whitespace
|
||||||
|
* Improved unit-testing of infix operator parser precedence issues
|
||||||
|
* Added `XPI_OPERAND_ARITH`; renumbered `XPI_OPERAND_TERM` to be
|
||||||
|
non-zero. Currently zero is accepted for back-compat
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 27 03:06:59 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.24
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.24 2022-06-26
|
||||||
|
[CHANGES]
|
||||||
|
* Skip attempting to create duplicate wrapper funcs, in case of
|
||||||
|
multiple registrations of the same operator with different
|
||||||
|
spellings
|
||||||
|
|
||||||
|
[BUGFIXES]
|
||||||
|
* Arrange extra_linker_flags correctly while building probe program
|
||||||
|
for PL_infix_plugin
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 19 03:07:43 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.23
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.23 2022-05-18
|
||||||
|
[CHANGES]
|
||||||
|
* Defined XPK_KEYWORD, a better version of XPK_LITERAL for
|
||||||
|
keyword-like tokens
|
||||||
|
* Defined XPK_ARITHEXPR, a higher-precedence version of XPK_TERMEXPR
|
||||||
|
* Defined XPK_ARGSCOPE, a variant of XPK_PARENSCOPE where the parens
|
||||||
|
themselves are optional
|
||||||
|
* Undocument the old XPK_STRING token type
|
||||||
|
|
||||||
|
[BUGFIXES]
|
||||||
|
* Fixes for bugs that affect -DDEBUGGING-enabled perls
|
||||||
|
+ Remember to clear OPf_KIDS when stealing the op_first of a
|
||||||
|
LISTOP (RT142770)
|
||||||
|
+ Don't call cv_clone() at compiletime when unit testing; generate
|
||||||
|
an OP_ANONCODE instead (RT142771)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 22 03:08:54 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.22
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 13 03:07:09 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.21
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.20 2021-10-11
|
||||||
|
[BUGFIXES]
|
||||||
|
* Fix for perl 5.20 - cannot use assert() as an expression
|
||||||
|
|
||||||
|
0.19 2021-10-05
|
||||||
|
[CHANGES]
|
||||||
|
* Defined XPK_PREFIXED_BLOCK_ENTERLEAVE and XPK_SETUP for customizing
|
||||||
|
the parser context around blocks
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 29 03:07:17 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.18
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.18 2021-09-28
|
||||||
|
[CHANGES]
|
||||||
|
* Define the XPI_OPERAND_ONLY_LOOK flag
|
||||||
|
* Define a callchecker for list/list infix operators. Add a
|
||||||
|
callchecker that can optimise out certain kinds of operations
|
||||||
|
(ref to padav or pkgav, anonlist if XPI_OPERAND_ONLY_LOOK is set)
|
||||||
|
[BUGFIXES]
|
||||||
|
* cygwin requires deparse_infix to be declared with XS_INTERNAL()
|
||||||
|
(RT139449)
|
||||||
|
* Some architectures require intermediate storage for values in the
|
||||||
|
test function pp_addpairs (RT139445)
|
||||||
|
* Fix conditions in lexical variable type checking (RT139444)
|
||||||
|
0.17 2021-09-23
|
||||||
|
[CHANGES]
|
||||||
|
* Support certain kinds of list operands on LHS of infix operators
|
||||||
|
* Generate wrapper functions around list-list infix operators, which
|
||||||
|
unpack their argument lists from two ARRAYrefs
|
||||||
|
0.16 2021-09-21
|
||||||
|
[CHANGES]
|
||||||
|
* Attempt automatic deparsing of infix operators
|
||||||
|
* Support certain kinds of list operands on RHS of infix operators
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 7 03:07:21 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.15
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.15 2021-09-06
|
||||||
|
[CHANGES]
|
||||||
|
* Optional generation of wrapper functions around scalar-infix
|
||||||
|
operators
|
||||||
|
* Quieter Build.PL by skipping PL_infix_plugin check on versions
|
||||||
|
of perl known to be too old it
|
||||||
|
|
||||||
|
0.14 2021-08-31
|
||||||
|
[CHANGES]
|
||||||
|
* Added the entire XS::Parse::Infix subsystem
|
||||||
|
* Added XPK_INFIX_* token types
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 27 03:07:07 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.13
|
||||||
|
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
|
||||||
|
|
||||||
|
0.13 2021-08-26
|
||||||
|
[CHANGES]
|
||||||
|
* Bump to ABI version 2; pass build1's arg0 param as a pointer, not a
|
||||||
|
direct struct copy
|
||||||
|
|
||||||
|
[BUGFIXES]
|
||||||
|
* Back-compat for ABI version 1's build1 arg0 param not having a line
|
||||||
|
number (RT138708)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 24 12:35:52 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- initial package 0.12
|
||||||
|
* created by cpanspec 1.81.01
|
67
perl-XS-Parse-Keyword.spec
Normal file
67
perl-XS-Parse-Keyword.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-XS-Parse-Keyword
|
||||||
|
#
|
||||||
|
# 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 XS-Parse-Keyword
|
||||||
|
Name: perl-XS-Parse-Keyword
|
||||||
|
Version: 0.33
|
||||||
|
Release: 0
|
||||||
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
|
Summary: XS functions to assist in parsing keyword syntax
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(ExtUtils::CBuilder)
|
||||||
|
BuildRequires: perl(ExtUtils::CChecker) >= 0.11
|
||||||
|
BuildRequires: perl(ExtUtils::ParseXS) >= 3.16
|
||||||
|
BuildRequires: perl(Module::Build) >= 0.400400
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module provides some XS functions to assist in writing syntax modules
|
||||||
|
that provide new perl-visible syntax, primarily for authors of keyword
|
||||||
|
plugins using the 'PL_keyword_plugin' hook mechanism. It is unlikely to be
|
||||||
|
of much use to anyone else; and highly unlikely to be any use when writing
|
||||||
|
perl code using these. Unless you are writing a keyword plugin using XS,
|
||||||
|
this module is not for you.
|
||||||
|
|
||||||
|
This module is also currently experimental, and the design is still
|
||||||
|
evolving and subject to change. Later versions may break ABI compatibility,
|
||||||
|
requiring changes or at least a rebuild of any module that depends on it.
|
||||||
|
|
||||||
|
%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
|
Loading…
x
Reference in New Issue
Block a user