Import Debian changes 1.967015+dfsg-ok1

libparse-recdescent-perl (1.967015+dfsg-ok1) nile; urgency=medium

  * Build for openKylin.
This commit is contained in:
openKylinBot 2024-05-07 09:42:49 +08:00 committed by luoyaoming
parent ed6110e868
commit e348e284c5
12 changed files with 209 additions and 0 deletions

59
debian/NEWS vendored Normal file
View File

@ -0,0 +1,59 @@
libparse-recdescent-perl (1.967012+dfsg-1) unstable; urgency=low
From upstream Changes:
- *** NON-BACKWARDS COMPATIBLE CHANGE! *** Change global the
<skip:> directive to eval similar to other <skip:> directives,
rather than being single-quoted in the resulting parser.
-- Salvatore Bonaccorso <carnil@debian.org> Sun, 27 Sep 2015 08:15:27 +0200
libparse-recdescent-perl (1.967006+dfsg-1) unstable; urgency=low
From upstream Changes:
- *** NON-BACKWARDS COMPATIBLE CHANGE! *** Change the caches for
$prevline and $thisline to be local to the parser, rather than
lexical vars in Parse::RecDescent. This prevents previously
generated parsers from interfering with the line counts of
later parsers.
- *** NON-BACKWARDS COMPATIBLE CHANGE! *** A repetition directive
such as 'id(s /,/)' correctly creates a temporary @item variable
to hold the 'id's that are matched. That @item variable is them
used to set the real $item[] entry for that repetition. The
same treatment is now given to %item. Formerly, in a production like:
id ',' id(s /,/)
matched against:
xxx, yyy, zzz
The $item{id} entry which should be 'xxx' is overwritten by
'yyy' and then 'zzz' prior to the action being executed. Now
'yyy' and 'zzz' set $item{id}, but in the private %item, which
goes out of scope once the repetition match completes.
-- gregor herrmann <gregoa@debian.org> Sun, 12 Feb 2012 14:52:43 +0100
libparse-recdescent-perl (1.94.free-3) unstable; urgency=low
Realistically, the tutorial from the Perl Journal is not going to be
in Debian, even in the non-free section. This tutorial (which was
included in the Debian package for versions << 1.94.free-1) can be
read at:
http://search.cpan.org/src/DCONWAY/Parse-RecDescent-1.94/tutorial/tutorial.html
-- Rafael Laboissiere <rafael@debian.org> Fri, 9 Mar 2007 14:31:40 +0100
libparse-recdescent-perl (1.94.free-2) unstable; urgency=low
The tutorial from The Perl Journal, which is shipped with the upstream
sources, is removed from the package (both source and binary) because
its licensing terms are not compatible with the DFSG. A new package
called libparse-recdescent-perl-tutorial-nonfree containing this
tutorial has been created.
-- Rafael Laboissiere <rafael@debian.org> Thu, 15 Sep 2005 15:11:57 +0200

8
debian/README.Debian vendored Normal file
View File

@ -0,0 +1,8 @@
libparse-recdescent-perl for Debian
-----------------------------------
/usr/share/doc/libparse-recdescent-perl/examples/demo_{pre,build}calc.pl
depend on the Coy module. In order to run it, you have to install the
Debian package libcoy-perl.
-- Rafael Laboissiere <rafael@debian.org>, Tue Mar 1 21:58:45 CET 2005

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libparse-recdescent-perl (1.967015+dfsg-ok1) nile; urgency=medium
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.top> Tue, 07 May 2024 09:42:49 +0800

37
debian/control vendored Normal file
View File

@ -0,0 +1,37 @@
Source: libparse-recdescent-perl
Maintainer: openKylin Developers <packaging@lists.openkylin.top>
Uploaders: gregor herrmann <gregoa@debian.org>,
Florian Schlichting <fsfs@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13),
libmodule-build-perl,
perl
Build-Depends-Indep: libtest-pod-perl <!nocheck>,
libtest-warn-perl <!nocheck>
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libparse-recdescent-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libparse-recdescent-perl.git
Homepage: https://metacpan.org/release/Parse-RecDescent/
Rules-Requires-Root: no
Package: libparse-recdescent-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends}
Multi-Arch: foreign
Description: Perl module to create and use recursive-descent parsers
Parse::RecDescent incrementally generates top-down recursive-descent text
parsers from simple yacc-like grammar specifications. It provides:
.
* Regular expressions or literal strings as terminals (tokens)
* Multiple (non-contiguous) productions for any rule
* Repeated, optional and alternate sub-rules within productions
* Late-bound (run-time dispatched) sub-rules
* Full access to Perl within actions specified as part of the grammar
* Simple automated error reporting during parser generation and parsing
* The ability to commit to, uncommit to, or reject particular productions
during a parse
* Incremental extension of the parsing grammar (even during a parse)
* The ability to retrieve the generated parsing code

54
debian/copyright vendored Normal file
View File

@ -0,0 +1,54 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Damian Conway <dconway@cpan.org>
Source: https://metacpan.org/release/Parse-RecDescent/
Upstream-Name: Parse-RecDescent
Files-Excluded: tutorial
Files: *
Copyright: 1997-2007, Damian Conway <dconway@cpan.org>
License: Artistic or GPL-1+
Files: demo/demo_another_Cgrammar.pl
Copyright: 2005, Hendrik Sirges
License: Artistic or GPL-2+
Files: debian/*
Copyright: 2009-2010, Jonathan Yu <jawnsy@cpan.org>
1998-2009, Rafael Laboissiere <rafael@debian.org>
2010-2018, gregor herrmann <gregoa@debian.org>
2012-2015, Florian Schlichting <fsfs@debian.org>
License: GPL-3+
License: Artistic
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License, which comes with Perl.
.
On Debian systems, the complete text of the Artistic License
can be found in `/usr/share/common-licenses/Artistic'.
License: GPL-1+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
.
On Debian systems, the complete text of version 1 of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-1'.
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
.
On Debian systems, the complete text of version 2 of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
License: GPL-3+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
.
On Debian systems, the complete text of version 3 of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-3'.

1
debian/libparse-recdescent-perl.docs vendored Normal file
View File

@ -0,0 +1 @@
ToDo

View File

@ -0,0 +1 @@
demo/*

19
debian/rules vendored Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/make -f
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh $@
override_dh_installexamples:
dh_installexamples
sed -i '1s|^#!\s*/usr/local/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
override_dh_fixperms:
dh_fixperms
chmod -x $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
override_dh_auto_test:
dh_auto_test
perl -Iblib/lib $(CURDIR)/debian/test-arg-alternation.pl

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

16
debian/test-arg-alternation.pl vendored Normal file
View File

@ -0,0 +1,16 @@
#! /usr/bin/perl -sw
use Parse::RecDescent;
$grammar =
q{
main : foo[ "ok" ]
foo : (token1[ $arg[0] ])(s /\|/)
token1 : 'a'
{print "$arg[0]\n"}
};
$parse = new Parse::RecDescent ($grammar);
defined $parse->main('a | a')
or die "Arguments being passed to either implicit or alternations are lost";

5
debian/upstream/metadata vendored Normal file
View File

@ -0,0 +1,5 @@
---
Archive: CPAN
Bug-Database: https://rt.cpan.org/Dist/Display.html?Status=Active&Queue=Parse-RecDescent
Repository: https://github.com/jtbraun/Parse-RecDescent.git
Repository-Browse: https://github.com/jtbraun/Parse-RecDescent

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=4
opts="dversionmangle=s/\+dfsg//,repacksuffix=+dfsg" \
https://metacpan.org/release/Parse-RecDescent .*/Parse-RecDescent-v?@ANY_VERSION@@ARCHIVE_EXT@$