Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Devel-CallChecker (devel/p5-Devel-CallChecker...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8f9cd2bb910
branches:  trunk
changeset: 430776:a8f9cd2bb910
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon May 04 04:45:49 2020 +0000

description:
(devel/p5-Devel-CallChecker) import p5-Devel-CallChecker-0.008

This module makes some new features of the Perl 5.14.0 C API available
to XS modules running on older versions of Perl. The features are
centred around the function cv_set_call_checker, which allows XS code
to attach a magical annotation to a Perl subroutine, resulting in
resolvable calls to that subroutine being mutated at compile time by
arbitrary C code. This module makes cv_set_call_checker and several
supporting functions available. (It is possible to achieve the effect
of cv_set_call_checker from XS code on much earlier Perl versions, but
it is painful to achieve without the centralised facility.)

This module provides the implementation of the functions at runtime
(on Perls where they are not provided by the core). It also, at
compile time, supplies the C header file and link library which
provide access to the functions. In normal use, "callchecker0_h" and
"callchecker_linkable" should be called at build time (not authoring
time) for the mo

diffstat:

 devel/p5-Devel-CallChecker/DESCR    |  16 ++++++++++++++++
 devel/p5-Devel-CallChecker/Makefile |  19 +++++++++++++++++++
 devel/p5-Devel-CallChecker/PLIST    |   4 ++++
 devel/p5-Devel-CallChecker/distinfo |   6 ++++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r 21cdf656a81d -r a8f9cd2bb910 devel/p5-Devel-CallChecker/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-CallChecker/DESCR  Mon May 04 04:45:49 2020 +0000
@@ -0,0 +1,16 @@
+This module makes some new features of the Perl 5.14.0 C API available
+to XS modules running on older versions of Perl. The features are
+centred around the function cv_set_call_checker, which allows XS code
+to attach a magical annotation to a Perl subroutine, resulting in
+resolvable calls to that subroutine being mutated at compile time by
+arbitrary C code. This module makes cv_set_call_checker and several
+supporting functions available. (It is possible to achieve the effect
+of cv_set_call_checker from XS code on much earlier Perl versions, but
+it is painful to achieve without the centralised facility.)
+
+This module provides the implementation of the functions at runtime
+(on Perls where they are not provided by the core). It also, at
+compile time, supplies the C header file and link library which
+provide access to the functions. In normal use, "callchecker0_h" and
+"callchecker_linkable" should be called at build time (not authoring
+time) for the mo
diff -r 21cdf656a81d -r a8f9cd2bb910 devel/p5-Devel-CallChecker/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-CallChecker/Makefile       Mon May 04 04:45:49 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/05/04 04:45:49 mef Exp $
+
+DISTNAME=      Devel-CallChecker-0.008
+CATEGORIES=    devel
+PKGNAME=       p5-${DISTNAME}
+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 op checking attached to subroutines
+LICENSE=       ${PERL5_LICENSE}
+
+TEST_DEPENDS+= p5-DynaLoader-Functions-[0-9]*:../../devel/p5-DynaLoader-Functions
+
+PERL5_MODULE_TYPE=     Module::Build
+PERL5_PACKLIST=                auto/Devel/CallChecker/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 21cdf656a81d -r a8f9cd2bb910 devel/p5-Devel-CallChecker/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-CallChecker/PLIST  Mon May 04 04:45:49 2020 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/04 04:45:49 mef Exp $
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff -r 21cdf656a81d -r a8f9cd2bb910 devel/p5-Devel-CallChecker/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-CallChecker/distinfo       Mon May 04 04:45:49 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/05/04 04:45:49 mef Exp $
+
+SHA1 (Devel-CallChecker-0.008.tar.gz) = 86d74dbc498a1c1f5e33f51ed865cf6ad07945e1
+RMD160 (Devel-CallChecker-0.008.tar.gz) = 283d99ab84c30adc9ebdcafb26e36921191174eb
+SHA512 (Devel-CallChecker-0.008.tar.gz) = 7ae7ee932e7e6a44d57178c84537cff8a9c350fbbf36c21dbc5ce56a5fe1d4ca748e0d5dd75abf5ebfa5e1223af4285b9b25074c0d1baa97eccfc6dddb62cfab
+Size (Devel-CallChecker-0.008.tar.gz) = 18940 bytes



Home | Main Index | Thread Index | Old Index