Compare commits

1 Commits
1.1 ... main

4 changed files with 179 additions and 12 deletions

BIN
XS-Parse-Keyword-0.33.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
XS-Parse-Keyword-0.48.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,161 @@
-------------------------------------------------------------------
Fri Jan 10 05:33:03 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.480.0 (0.48)
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.48 2025-01-09
[CHANGES]
* Added `XPK_FLAG_PERMIT_LEXICAL`, allowing optional 'my'-prefixed
keywords
-------------------------------------------------------------------
Thu Dec 12 16:46:16 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.470.0 (0.47)
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.47 2024-11-25
[BUGFIXES]
* Don't upset gcc 15, by ensuring that function pointer casts fully
specify argument types (RT157196)
0.46 2024-09-03
[CHANGES]
* Added `XPK_PREFIXED_TERMEXPR_ENTERLEAVE`
* Use module-specific rather than dist-specific dirs to store
`include/` files
0.45 2024-08-29
[CHANGES]
* Refuse to register operators that have neither `.new_op` nor
`.ppadd`, as these will never work
[BUGFIXES]
* Update for perl 5.41.3: `OP_SMARTMATCH` is now removed, so make
that registration conditional (RT155194)
-------------------------------------------------------------------
Sat Jul 20 05:29:36 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.440.0 (0.44)
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.44 2024-07-19
[BUGFIXES]
* `boot_xs_parse_infix()` has to load `XS/Parse/Infix.pm`, the perl
module
* Fix opname check for lexical operator alises, to match Perl's
actual identifier rules
* Fix deparse logic for fully-qualified infix operator names
* Fix `lex_scan_packagename()` to not get confused by attribute
syntax
-------------------------------------------------------------------
Wed Jul 3 16:51:11 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- updated to 0.430.0 (0.43)
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.43 2024-07-03
[CHANGES]
* Use `File::ShareDir` for storing .h include files, rather than
storing the contents in the `__DATA__` section of the build helpers
* Support a new naming model for infix operators that supports
lexical-aliases and renaming at import time
-------------------------------------------------------------------
Wed May 1 03:08:54 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.42
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.42 2024-04-30
[BUGFIXES]
* Don't crash on zero-argument calls to list-associative wrapper
functions (thanks aquanight) (RT153244)
0.41 2024-04-25
[BUGFIXES]
* Remmeber to EXTEND the stack in list-associative operator wrapper
functions (thanks aquanight) (RT153173)
0.40 2024-04-23
[CHANGES]
* Support N-way list-associative operators, implemented as LISTOPs
* Delete the no-longer-used API constants
XPI_OPERAND_{ARITH,TERM,CUSTOM} from XSParseInfix.h
[BUGFIXES]
* Avoid a subsequent `use VERSION` in unit tests to keep perl 5.39.8
happy
-------------------------------------------------------------------
Fri Mar 8 23:11:55 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Fix disabling of __perllib_provides
-------------------------------------------------------------------
Tue Dec 5 03:08:17 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.39
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.39 2023-12-04
[CHANGES]
* Added optional variants of XPK_ARITHEXPR, XPK_TERMEXPR,
XPK_LISTEXPR and the context-forcing versions
-------------------------------------------------------------------
Thu Aug 10 03:08:05 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.38
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.38 2023-08-09
[BUGFIXES]
* Fix warn() non-static format string (RT149346)
* Don't bother with Build.PL probing for PL_infix_plugin; just use
perl version number
-------------------------------------------------------------------
Wed Aug 9 03:08:06 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.37
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.37 2023-08-08
[CHANGES]
* Added `XPK_WARNING()` and several conditional variants
-------------------------------------------------------------------
Fri Jul 21 03:11:07 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.36
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.36 2023-07-20
[BUGFIXES]
* Remember to also call `op_scope()` after `block_end()` if the
XPK_FLAG_BLOCKSCOPE flag is set
0.35 2023-07-19
[CHANGES]
* Added XPK_INTRO_MY, to call `intro_my()`
* Added XPK_FLAG_BLOCKSCOPE to wrap a block_start()+block_end()
around a syntax construction
* Renamed XPK_PARENSCOPE to XPK_PARENS, etc..
* Adjusted documentation of XS::Parse::Infix for release of
Perl v5.38
-------------------------------------------------------------------
Thu Jun 15 03:11:03 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.34
see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
0.34 2023-06-14
[CHANGES]
* Swap all unit tests from Test::More to Test2::V0
[BUGFIXES]
* Remember to set `-std=c99` compiler flag on Perls before v5.36
* Skip whitespace between pieces of SEQUENCE or SEPARATEDLIST
-------------------------------------------------------------------
Sun Feb 19 03:06:55 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XS-Parse-Keyword
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,29 @@
%define cpan_name XS-Parse-Keyword
Name: perl-XS-Parse-Keyword
Version: 0.33
Version: 0.480.0
Release: 0
# 0.48 -> normalize -> 0.480.0
%define cpan_version 0.48
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
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{cpan_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
BuildRequires: perl(File::ShareDir) >= 1.00
BuildRequires: perl(Module::Build) >= 0.4004
BuildRequires: perl(Test2::V0)
Requires: perl(File::ShareDir) >= 1.00
Provides: perl(XS::Parse::Infix) = %{version}
Provides: perl(XS::Parse::Infix::Builder) = %{version}
Provides: perl(XS::Parse::Keyword) = %{version}
Provides: perl(XS::Parse::Keyword::Builder) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -47,17 +56,17 @@ 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}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
perl Build.PL --installdirs=vendor optimize="%{optflags}"
./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