pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-forks Import p5-forks-0.36 as devel/p5-forks.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f127e54f4eb8
branches:  trunk
changeset: 651648:f127e54f4eb8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri May 08 15:09:25 2015 +0000

description:
Import p5-forks-0.36 as devel/p5-forks.

The forks.pm module is a drop-in replacement for threads.pm.  It
has the same syntax as the threads.pm module (it even takes over
its namespace) but has some significant differences:

- you do _not_ need a special (threaded) version of Perl
- it is _much_ more economic with memory usage on OS's that support COW
- it is more efficient in the startup of threads
- it is slightly less efficient in the stopping of threads
- it is less efficient in inter-thread communication

If for nothing else, it allows you to use the Perl threading model
in non-threaded Perl builds and in older versions of Perl (5.6.0
and higher are supported).

diffstat:

 devel/p5-forks/DESCR    |  13 +++++++++++++
 devel/p5-forks/Makefile |  22 ++++++++++++++++++++++
 devel/p5-forks/distinfo |   5 +++++
 3 files changed, 40 insertions(+), 0 deletions(-)

diffs (52 lines):

diff -r 6739a87ef041 -r f127e54f4eb8 devel/p5-forks/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-forks/DESCR      Fri May 08 15:09:25 2015 +0000
@@ -0,0 +1,13 @@
+The forks.pm module is a drop-in replacement for threads.pm.  It
+has the same syntax as the threads.pm module (it even takes over
+its namespace) but has some significant differences:
+
+- you do _not_ need a special (threaded) version of Perl
+- it is _much_ more economic with memory usage on OS's that support COW
+- it is more efficient in the startup of threads
+- it is slightly less efficient in the stopping of threads
+- it is less efficient in inter-thread communication
+
+If for nothing else, it allows you to use the Perl threading model
+in non-threaded Perl builds and in older versions of Perl (5.6.0
+and higher are supported).
diff -r 6739a87ef041 -r f127e54f4eb8 devel/p5-forks/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-forks/Makefile   Fri May 08 15:09:25 2015 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2015/05/08 15:09:25 wiz Exp $
+
+DISTNAME=      forks-0.36
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/R/RY/RYBSKEJ/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/~rybskej/forks/
+COMMENT=       Drop-in replacement for Perl threads using fork()
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-Acme-Damn-[0-9]*:../../devel/p5-Acme-Damn
+DEPENDS+=      p5-List-MoreUtils>=0.15:../../devel/p5-List-MoreUtils
+DEPENDS+=      p5-Devel-Symdump-[0-9]*:../../devel/p5-Devel-Symdump
+DEPENDS+=      p5-Sys-SigAction-[0-9]*:../../sysutils/p5-Sys-SigAction
+
+USE_LANGUAGES=         c
+PERL5_PACKLIST=                auto/forks/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6739a87ef041 -r f127e54f4eb8 devel/p5-forks/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-forks/distinfo   Fri May 08 15:09:25 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/05/08 15:09:25 wiz Exp $
+
+SHA1 (forks-0.36.tar.gz) = ef6498f236e70f4a36571f161d6920367d4ceb5e
+RMD160 (forks-0.36.tar.gz) = 2d5d04d2676e286e351c95401d7a13854f68df0f
+Size (forks-0.36.tar.gz) = 111143 bytes



Home | Main Index | Thread Index | Old Index