Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Devel-CallParser devel/p5-Devel-CallParser: i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fe33d1431a6
branches:  trunk
changeset: 430798:6fe33d1431a6
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon May 04 12:20:42 2020 +0000

description:
devel/p5-Devel-CallParser: import p5-Devel-CallParser-0.002

This module provides a C API, for XS modules, concerned with custom
parsing. It is centred around the function cv_set_call_parser, which
allows XS code to attach a magical annotation to a Perl subroutine,
resulting in resolvable calls to that subroutine having their
arguments parsed by arbitrary C code. (This is a more conveniently
structured facility than the core's PL_keyword_plugin API.) This
module makes cv_set_call_parser and several supporting functions
available.

This module provides the implementation of the functions at
runtime. It also, at compile time, supplies the C header file and link
library which provide access to the functions. In normal use,
"callparser0_h"/"callparser1_h" and "callparser_linkable" should be
called at build time (not authoring time) for the module that wishes
to use the C functions.

diffstat:

 devel/p5-Devel-CallParser/DESCR    |  15 +++++++++++++++
 devel/p5-Devel-CallParser/Makefile |  21 +++++++++++++++++++++
 devel/p5-Devel-CallParser/distinfo |   6 ++++++
 3 files changed, 42 insertions(+), 0 deletions(-)

diffs (54 lines):

diff -r e0f795ded56d -r 6fe33d1431a6 devel/p5-Devel-CallParser/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-CallParser/DESCR   Mon May 04 12:20:42 2020 +0000
@@ -0,0 +1,15 @@
+This module provides a C API, for XS modules, concerned with custom
+parsing. It is centred around the function cv_set_call_parser, which
+allows XS code to attach a magical annotation to a Perl subroutine,
+resulting in resolvable calls to that subroutine having their
+arguments parsed by arbitrary C code. (This is a more conveniently
+structured facility than the core's PL_keyword_plugin API.) This
+module makes cv_set_call_parser and several supporting functions
+available.
+
+This module provides the implementation of the functions at
+runtime. It also, at compile time, supplies the C header file and link
+library which provide access to the functions. In normal use,
+"callparser0_h"/"callparser1_h" and "callparser_linkable" should be
+called at build time (not authoring time) for the module that wishes
+to use the C functions.
diff -r e0f795ded56d -r 6fe33d1431a6 devel/p5-Devel-CallParser/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-CallParser/Makefile        Mon May 04 12:20:42 2020 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2020/05/04 12:20:42 mef Exp $
+
+DISTNAME=      Devel-CallParser-0.002
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/
+COMMENT=       Custom parsing attached to subroutines
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-Devel-CallChecker-[0-9]*:../../devel/p5-Devel-CallChecker
+
+TEST_DEPENDS+= p5-Data-Alias-[0-9]*:../../devel/p5-Data-Alias
+TEST_DEPENDS+= p5-Devel-Declare-[0-9]*:../../devel/p5-Devel-Declare
+
+PERL5_PACKLIST=                auto/Devel/CallParser/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e0f795ded56d -r 6fe33d1431a6 devel/p5-Devel-CallParser/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-CallParser/distinfo        Mon May 04 12:20:42 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/05/04 12:20:42 mef Exp $
+
+SHA1 (Devel-CallParser-0.002.tar.gz) = 505756196af68d235442edc274fb300977d075dc
+RMD160 (Devel-CallParser-0.002.tar.gz) = 00d39e0bb9ede245a861510a96b96206961d065b
+SHA512 (Devel-CallParser-0.002.tar.gz) = ab1f89a618149789a99903e69c913af5d558125a67ef064ecd5a26d25a7553115a1f519d76cf401ad68fb19096155b9c6ea248a9b5286c2113e1d6570338ca2a
+Size (Devel-CallParser-0.002.tar.gz) = 24790 bytes



Home | Main Index | Thread Index | Old Index