[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#964735: ITP: libmodule-build-parse-yapp-perl -- build Parse::Yapp parsers from source



Package: wnpp
Owner: Andrius Merkys <merkys@debian.org>
Severity: wishlist

* Package name    : libmodule-build-parse-yapp-perl
  Version         : 0.1.2
  Upstream Author : Andrius Merkys <merkys@cpan.org>
* URL             : https://metacpan.org/release/Module-Build-Parse-Yapp
* License         : BSD-3-Clause
  Programming Lang: Perl
  Description     : build Parse::Yapp parsers from source
Module::Build::Parse::Yapp is a subclass of Module::Build made to build
Parse::Yapp parsers from the source. Thus, prebuilt parsers do not have
to be included in the source distribution.

Module::Build::Parse::Yapp looks for *.yp files under 'lib' and produces
Perl modules in place of them under 'blib/lib'. Therefore, a grammar
file 'lib/A/B/C.yp' will be converted to 'blib/lib/A/B/C.pm' with a
package name of 'A::B::C'.

Disclaimer: I am also the upstream of this package.

I have created this package to combat the inclusion of prebuilt
Parse::Yapp-generated parsers (in my own Perl modules, for starters).
The problem is described in detail in the discussion about related
lintian warning [1][2].

The package is a dependency of liboptimade-filter-perl, which currently
is patched to build without it.

Remark: This package is to be maintained with Debian Perl Group at [3].

[1]
https://lintian.debian.org/tags/source-contains-prebuilt-yapp-parser.html
[2] https://bugs.debian.org/921080
[3]
https://salsa.debian.org/perl-team/modules/packages/libmodule-build-parse-yapp-perl

Andrius


Reply to: