Import Debian changes 1.967015-ok1

libparse-recdescent-perl (1.967015-ok1) yangtze; urgency=medium

  * Build for openkylin.
This commit is contained in:
denghao 2022-09-17 11:17:10 +03:00
parent 2d70421a72
commit dfc04cb7d0
12 changed files with 218 additions and 0 deletions

8
debian/README.Debian vendored Normal file
View File

@ -0,0 +1,8 @@
libparse-recdescent-perl for Debian
Please edit this to provide information specific to
this libparse-recdescent-perl Debian package.
(Automatically generated by debmake Version 4.3.1)
-- denghao <denghao@kylinos.cn> Sat, 17 Sep 2022 11:17:10 +0300

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libparse-recdescent-perl (1.967015-ok1) yangtze; urgency=medium
* Build for openkylin.
-- denghao <denghao@kylinos.cn> Sat, 17 Sep 2022 11:17:10 +0300

34
debian/control vendored Normal file
View File

@ -0,0 +1,34 @@
Source: libparse-recdescent-perl
Section: perl
Priority: optional
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
Build-Depends: debhelper-compat (=13),
libmodule-build-perl,
perl
Build-Depends-Indep: libtest-pod-perl <!nocheck>,
libtest-warn-perl <!nocheck>
Testsuite: autopkgtest-pkg-perl
Standards-Version: 4.6.0
Vcs-Browser: https://gitee.com/openkylin/libparse-recdescent-perl
Vcs-Git: https://gitee.com/openkylin/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}
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

124
debian/copyright vendored Normal file
View File

@ -0,0 +1,124 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libparse-recdescent-perl
Source: <url://example.com>
#
# Please double check copyright with the licensecheck(1) command.
Files: Build.PL
Changes
MANIFEST
META.json
META.yml
Makefile.PL
ToDo
demo/demo.c
demo/demo.pl
demo/demo_Cgrammar.pl
demo/demo_Cgrammar_v2.pl
demo/demo_LaTeXish.pl
demo/demo_LaTeXish_autoact.pl
demo/demo_NL2SQL.pl
demo/demo_OOautoparsetree.pl
demo/demo_OOparsetree.pl
demo/demo_PerlCSV.pl
demo/demo_another_Cgrammar.pl
demo/demo_arithmetic.pl
demo/demo_autorule.pl
demo/demo_autoscoresep.pl
demo/demo_autostub.pl
demo/demo_bad.pl
demo/demo_buildcalc.pl
demo/demo_calc.pl
demo/demo_codeblock.pl
demo/demo_cpp.pl
demo/demo_decomment.pl
demo/demo_decomment_nonlocal.pl
demo/demo_delete.pl
demo/demo_derived.pl
demo/demo_dot.pl
demo/demo_embedding.pl
demo/demo_errors.pl
demo/demo_eval.pl
demo/demo_implicit.pl
demo/demo_itemhash.pl
demo/demo_language.pl
demo/demo_leftassoc.pl
demo/demo_leftop.pl
demo/demo_lexer.pl
demo/demo_lisplike.pl
demo/demo_logic.pl
demo/demo_matchrule.pl
demo/demo_matchrule2.pl
demo/demo_mccoy.pl
demo/demo_metaRD.pm
demo/demo_methods.pl
demo/demo_operator.pl
demo/demo_opreps.pl
demo/demo_parsetree.pl
demo/demo_perlparsing.pl
demo/demo_piecewise.pl
demo/demo_precalc.pl
demo/demo_quicklist.pl
demo/demo_randomsentence.pl
demo/demo_recipe.pl
demo/demo_restructure_easy.pl
demo/demo_restructure_painful.pl
demo/demo_scoredsep.pl
demo/demo_selfmod.pl
demo/demo_separators.pl
demo/demo_simple.pl
demo/demo_simpleXML.pl
demo/demo_simplequery.pl
demo/demo_skipcomment.pl
demo/demo_street.pl
demo/demo_template.pl
demo/demo_textgen.pl
demo/demo_tokens.pl
demo/demo_undumper.pl
demo/demo_whoson.pl
t/00.load.t
t/01.basics.t
t/autotree.t
t/leftop_cap.t
t/pod.t
t/precompile.t
t/re_capture_return.t
t/reentry.t
t/reproducible.t
t/separated_repetition.t
t/skip.t
t/skip_dynamic.t
t/text.t
t/util.pl
tutorial/TPJ-PRD-proc.gif
tutorial/TPJ-yacc-proc.gif
tutorial/TPJ_maze.gif
tutorial/TPJ_tree.gif
Copyright: __NO_COPYRIGHT_NOR_LICENSE__
License: __NO_COPYRIGHT_NOR_LICENSE__
Files: README
Copyright: 1997-2007 Damian Conway
AND LICENCE
License: __UNKNOWN__
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
Files: lib/Parse/RecDescent.pm
Copyright: 1997-2007 Damian Conway C<< <DCONWAY@CPAN.org> >>. All rights reserved.
License: __UNKNOWN__
This module is free software; you can redistribute it and/or
__MANY_TOTAL_LINES__(6604lines) truncating at: modify it under the same terms as Perl itself. See L<perlartisti
modify it under the same terms as Perl itself. See L<perlartistic>.
__MANY_TOTAL_LINES__(6605lines) truncating at:
.
__MANY_TOTAL_LINES__(6606lines) truncating at:
__MANY_TOTAL_LINES__(6607lines) truncating at: =head1 DISCLAIMER OF WARRANTY
#----------------------------------------------------------------------------
# xml and html files (skipped):
# tutorial/tutorial.html
#----------------------------------------------------------------------------
# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
# license/copyright files.

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

@ -0,0 +1 @@
ToDo

View File

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

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
# You must remove unused comment lines for the released package.

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@$