SHA256
8
0
forked from pool/perl-PPI

Compare commits

...

26 Commits

Author SHA256 Message Date
5111af3c76 Accepting request 1278589 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1278589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=31
2025-05-23 12:29:35 +00:00
ea19e77630 Accepting request 1276524 from devel:languages:perl:autoupdate
- updated to 1.283.0 (1.283)
   see /usr/share/doc/packages/perl-PPI/Changes
  1.283   2025-05-04 09:52:43Z
  	- Allow zero byte documents to have a location
  	- handle simple lists in feature arg decomposing
  	- warn on unknown feature arg decompose instead of die

OBS-URL: https://build.opensuse.org/request/show/1276524
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PPI?expand=0&rev=48
2025-05-20 10:07:39 +00:00
d16e390476 Accepting request 1235290 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1235290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=30
2025-01-07 19:50:23 +00:00
45fb730899 Accepting request 1234026 from devel:languages:perl:autoupdate
- updated to 1.281.0 (1.281)
   see /usr/share/doc/packages/perl-PPI/Changes
  1.281   2024-12-27 14:44:47Z
  	Summary:
  	- Implement support for signatures and other parsing features
  	Details:
  	- Framework for recognition of parsing feature activation via:
  	  - `use $PERL_VERSION` in code
  	  - `use feature` in code
  	  - `use $Common::CPAN::Module` in code
  	  - PPI::Document->new( feature_mods => ... )
  	  - PPI::Document->new( custom_feature_includes => ... )
  	  - PPI::Document->new( custom_feature_include_cb => ... )
  	  - $ENV{PPI_CUSTOM_FEATURE_INCLUDES}
  	- Added ability to parse features:
  	  - signatures, as PPI::Structure::Signature
  	  - try catch, as PPI::Statement::Compound

OBS-URL: https://build.opensuse.org/request/show/1234026
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PPI?expand=0&rev=46
2025-01-06 16:53:52 +00:00
ea5281d1af Accepting request 1203942 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1203942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=29
2024-09-29 16:09:10 +00:00
9a66acfc64 Accepting request 1203069 from devel:languages:perl:autoupdate
- updated to 1.279.0 (1.279)
   see /usr/share/doc/packages/perl-PPI/Changes
  1.279   2024-08-23 14:02:44Z
  	Summary:
  	- Implemented a cache to speed up sibling iteration
  	  (GH#287) (Graham Knop (haarg))

OBS-URL: https://build.opensuse.org/request/show/1203069
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PPI?expand=0&rev=44
2024-09-26 16:24:22 +00:00
531f3ca9e0 Accepting request 1165836 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1165836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=28
2024-04-07 20:04:39 +00:00
9f952112e7 Accepting request 1156503 from devel:languages:perl
- Fix disabling of __perllib_provides

OBS-URL: https://build.opensuse.org/request/show/1156503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=27
2024-03-10 19:23:37 +00:00
0f507625f4 Accepting request 1114065 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1114065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=26
2023-09-29 19:12:49 +00:00
8f0694f07d Accepting request 991548 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/991548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=25
2022-08-01 19:31:47 +00:00
1804cb3962 Accepting request 976461 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/976461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=24
2022-05-12 21:00:27 +00:00
46861252a7 Accepting request 973320 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/973320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=23
2022-04-28 21:07:48 +00:00
e3906bef72 Accepting request 952739 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/952739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=22
2022-02-09 19:39:23 +00:00
5bdb00823f Accepting request 949651 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/949651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=21
2022-01-28 21:12:39 +00:00
6620bf4978 Accepting request 717108 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/717108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=20
2019-08-05 09:17:47 +00:00
f9cda33468 Accepting request 707390 from devel:languages:perl
- updated to 1.269
   see /usr/share/doc/packages/perl-PPI/Changes
  1.269   2019-05-17 18:36:46Z
  	Summary:
  	- many small documentation improvements
  
  1.268   2019-05-16 10:00:39Z
  	Summary:
  	- fix a broken link in the pod
  
  1.267   2019-05-16 09:22:34Z
  	Summary:
  	- make PPI::Test::Run more OS-agnostic
  
  1.266   2019-05-15 16:17:49Z
  	Summary:
  	- keep heredoc terminator detection from triggering regex errors
  	- small cleanups
  
  	Details:
  	- make the output of PPI::Test::Run more useful
  	- remove a superfluous import
- updated to 1.265
   see /usr/share/doc/packages/perl-PPI/Changes
  1.265   2019-05-14 12:39:51Z
  	Summary:
  	- simplified a code construct
- updated to 1.264
   see /usr/share/doc/packages/perl-PPI/Changes
  1.264   2019-04-28 14:56:28Z
  	Summary:
  	- keep vstring processing from swallowing underscores
  
  1.262   2019-04-28 11:41:54Z
  	Summary:
  	- convert newlines in some raw test files from win32 to unix
  
  1.260   2019-04-28 11:10:02Z
  	Summary:
  	- allow underscores in vstrings
- updated to 1.258
   see /usr/share/doc/packages/perl-PPI/Changes
  1.258   2019-04-27 17:05:33Z
  	Summary:
  	- remove accidentally included Test::InDistDir
  
  1.256   2019-04-26 16:40:01Z
  	Summary:
  	- allow all PPI::Document instances to have a filename attribute
  
  1.254   2019-04-26 16:23:21Z
  	Summary:
  	- recognize `for (;<$foo>;) {}` as containing a readline operator
  
  1.252   2019-04-26 14:21:36Z
  	Summary:
  	- add support for the double diamond (<<>>) input operator
  	- adjust position of a todo marker to not catch a passing test
- updated to 1.250
   see /usr/share/doc/packages/perl-PPI/Changes
  1.250   2019-04-25 16:43:32Z
  	Summary:
  	- various smaller releng changes
  
  	Details:
  	- removed dependency on File::Remove
  	- add some tests including a TODO test for misparse bug on '(1)-1'
  	- allow tests to run without pre-determined module versions
  	- add travis-perl helper to be run before install
  	- update versions of Perl Travis tests on
  
  1.248   2019-04-25 16:08:08Z
  	Summary:
  	- parse list-embedded curlies as hash constructors
  
  1.246   2019-04-25 15:33:48Z
  	Summary:
  	- support indented here-docs
  	- fixed some typos
  
  1.244   2019-04-25 15:21:51Z
  	Summary:
  	- support key-value and index-value slices in PPI::Token::Symbol symbol method
  
  1.242   2019-04-25 14:33:56Z
  	Summary:
  	- keep exponents of 2 or more zeroes from trapping PPI in an endless loop
  
  1.240   2019-04-25 14:09:24Z
  	Summary:
  	- add support for lexical subroutines from perl-5.26
  
  1.238   2019-04-25 12:03:37Z
  	Summary:
  	- only release engineering, moved to Dist::Zilla, straightened out
  	  dependencies and fixed some formatting in Changes
  
  1.237_001 Wed 15 Nov 2017
  	Summary:
  	- support postfix dereference
  	- remove dependencies on vars, base and List::MoreUtils
  	- reduce globals and cross-package variables
  	- make xt/api.t skip/run properly
  
  	Details:
  	- convert many cross-package var accesses to var imports
  	- convert several unnecessary globals to local variables

OBS-URL: https://build.opensuse.org/request/show/707390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=19
2019-06-07 16:01:16 +00:00
3a5dcf1879 Accepting request 506347 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/506347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=18
2017-07-07 08:16:29 +00:00
195ead862d Accepting request 506083 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/506083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=17
2017-06-26 13:56:24 +00:00
97671fc25e Accepting request 495802 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/495802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=16
2017-05-24 14:47:16 +00:00
a867dc59ca Accepting request 304752 from devel:languages:perl
- ignore File::Spec - it's tricky

- updated to 1.220
   see /usr/share/doc/packages/perl-PPI/Changes
  1.220 Tue 11 Nov 2014
  	Summary:
  	- incompatible behavior fixes on PPI::Statement::Sub->prototype
  	- improved parsing of various syntax elements
  	- code quality improvements
  	- various small documentation fixes
  
  	Details:
  	- {} is now recognized as anonymous hash constructor instead of a code
  	  block after these operators: &&= //= || && // ? :
  	  (GitHub #36) (MOREGAN)
  	- regex capture variables greater than $9 are now parsed completely,
  	  instead of being parsed as single digit captures with numbers after
  	  them (GitHub #38) (MOREGAN)
  	- DESTROY and AUTOLOAD subs are now parsed even without the sub
  	  keyword (GitHub #39) (MOREGAN)
  	- PPI::Statement::Sub->prototype behavior now matches its
  	  documentation, instead of returning the prototype string
  	  unchanged and still including the parens (GitHub #56) (MOREGAN)
  	- PPI::Statement::Sub->prototype now returns undef on subs without a
  	  prototype, instead of returning an empty string
  	  (GitHub #56) (MOREGAN)
  	- list of keywords which are not parsed as packages when followed by
  	  the Perl4 package separator ' has been increased
  	  (GitHub #77) (MOREGAN)
  	- application of a number of Perl::Critic policies and documentation

OBS-URL: https://build.opensuse.org/request/show/304752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=15
2015-05-02 15:45:10 +00:00
Stephan Kulow
f76d2897c2 Accepting request 249986 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/249986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=14
2014-09-22 16:50:24 +00:00
Stephan Kulow
3e0d9ef4cc replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=9
2011-12-06 17:46:31 +00:00
Sascha Peilicke
4bcc289b5c Autobuild autoformatter for 65702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=7
2011-04-01 07:59:26 +00:00
Sascha Peilicke
4412c24a34 Accepting request 65702 from devel:languages:perl
Accepted submit request 65702 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=6
2011-04-01 07:59:14 +00:00
Sascha Peilicke
8c2831717b Autobuild autoformatter for 65104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=5
2011-03-24 16:33:30 +00:00
Sascha Peilicke
8362fe9be1 Accepting request 65104 from devel:languages:perl
Accepted submit request 65104 from user licensedigger

OBS-URL: https://build.opensuse.org/request/show/65104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PPI?expand=0&rev=4
2011-03-24 16:33:23 +00:00
4 changed files with 68 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c867b2e9b10056978db9ddaadab599af9a5c9a66805ed03ef4b201f1105d427
size 248797

3
PPI-1.283.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70becc9dfad8a72d231bbe88d20a82acfd31c13ca03c6fb359703a5ac0004059
size 251927

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Mon May 5 05:38:39 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.283.0 (1.283)
see /usr/share/doc/packages/perl-PPI/Changes
1.283 2025-05-04 09:52:43Z
- Allow zero byte documents to have a location
- handle simple lists in feature arg decomposing
- warn on unknown feature arg decompose instead of die
-------------------------------------------------------------------
Sat Dec 28 05:32:21 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 1.281.0 (1.281)
see /usr/share/doc/packages/perl-PPI/Changes
1.281 2024-12-27 14:44:47Z
Summary:
- Implement support for signatures and other parsing features
Details:
- Framework for recognition of parsing feature activation via:
- `use $PERL_VERSION` in code
- `use feature` in code
- `use $Common::CPAN::Module` in code
- PPI::Document->new( feature_mods => ... )
- PPI::Document->new( custom_feature_includes => ... )
- PPI::Document->new( custom_feature_include_cb => ... )
- $ENV{PPI_CUSTOM_FEATURE_INCLUDES}
- Added ability to parse features:
- signatures, as PPI::Structure::Signature
- try catch, as PPI::Statement::Compound
-------------------------------------------------------------------
Sun Sep 1 05:31:34 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 1.279.0 (1.279)
see /usr/share/doc/packages/perl-PPI/Changes
1.279 2024-08-23 14:02:44Z
Summary:
- Implemented a cache to speed up sibling iteration
(GH#287) (Graham Knop (haarg))
-------------------------------------------------------------------
Fri Mar 22 16:33:49 UTC 2024 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-PPI
#
# Copyright (c) 2024 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,34 +18,40 @@
%define cpan_name PPI
Name: perl-PPI
Version: 1.278.0
Version: 1.283.0
Release: 0
# 1.278 -> normalize -> 1.278.0
%define cpan_version 1.278
# 1.283 -> normalize -> 1.283.0
%define cpan_version 1.283
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Parse, Analyze and Manipulate Perl (without perl)
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{cpan_version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/M/MI/MITHALDU/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Inspector) >= 1.22
BuildRequires: perl(Clone) >= 0.30
BuildRequires: perl(Class::Inspector) >= 1.220
BuildRequires: perl(Clone) >= 0.300
BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(Params::Util) >= 1.00
BuildRequires: perl(Params::Util) >= 1.0.0
BuildRequires: perl(Safe::Isa)
BuildRequires: perl(Storable) >= 2.17
BuildRequires: perl(Task::Weaken)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Test::Object) >= 0.07
BuildRequires: perl(Test::SubCalls) >= 1.07
BuildRequires: perl(Test::Object) >= 0.70.0
BuildRequires: perl(Test::SubCalls) >= 1.70.0
BuildRequires: perl(YAML::PP)
BuildRequires: perl(parent)
Requires: perl(Clone) >= 0.30
BuildRequires: perl(version) >= 0.77
Requires: perl(Clone) >= 0.300
Requires: perl(List::Util) >= 1.33
Requires: perl(Params::Util) >= 1.00
Requires: perl(Params::Util) >= 1.0.0
Requires: perl(Safe::Isa)
Requires: perl(Storable) >= 2.17
Requires: perl(Task::Weaken)
Requires: perl(YAML::PP)
Requires: perl(version) >= 0.77
Provides: perl(PPI) = %{version}
Provides: perl(PPI::Cache) = %{version}
Provides: perl(PPI::Document) = %{version}
@@ -86,6 +92,7 @@ Provides: perl(PPI::Structure::Constructor) = %{version}
Provides: perl(PPI::Structure::For) = %{version}
Provides: perl(PPI::Structure::Given) = %{version}
Provides: perl(PPI::Structure::List) = %{version}
Provides: perl(PPI::Structure::Signature) = %{version}
Provides: perl(PPI::Structure::Subscript) = %{version}
Provides: perl(PPI::Structure::Unknown) = %{version}
Provides: perl(PPI::Structure::When) = %{version}
@@ -144,7 +151,7 @@ Provides: perl(PPI::XSAccessor) = %{version}
Parse, Analyze and Manipulate Perl (without perl)
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644