pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Coro devel/p5-Coro: import p5-Coro-6.514
details: https://anonhg.NetBSD.org/pkgsrc/rev/b25f5e74b54f
branches: trunk
changeset: 369186:b25f5e74b54f
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Sep 27 15:34:05 2017 +0000
description:
devel/p5-Coro: import p5-Coro-6.514
This module collection manages continuations in general, most often
in the form of cooperative threads (also called coros, or simply
"coro" in the documentation). They are similar to kernel threads
but don't (in general) run in parallel at the same time even on SMP
machines. The specific flavor of thread offered by this module also
guarantees you that it will not switch between threads unless
necessary, at easily-identified points in your program, so locking
and parallel access are rarely an issue, making thread programming
much safer and easier than using other thread models.
diffstat:
devel/p5-Coro/DESCR | 9 +++++++++
devel/p5-Coro/Makefile | 23 +++++++++++++++++++++++
devel/p5-Coro/distinfo | 6 ++++++
3 files changed, 38 insertions(+), 0 deletions(-)
diffs (50 lines):
diff -r a8d91470b56b -r b25f5e74b54f devel/p5-Coro/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Coro/DESCR Wed Sep 27 15:34:05 2017 +0000
@@ -0,0 +1,9 @@
+This module collection manages continuations in general, most often
+in the form of cooperative threads (also called coros, or simply
+"coro" in the documentation). They are similar to kernel threads
+but don't (in general) run in parallel at the same time even on SMP
+machines. The specific flavor of thread offered by this module also
+guarantees you that it will not switch between threads unless
+necessary, at easily-identified points in your program, so locking
+and parallel access are rarely an issue, making thread programming
+much safer and easier than using other thread models.
diff -r a8d91470b56b -r b25f5e74b54f devel/p5-Coro/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Coro/Makefile Wed Sep 27 15:34:05 2017 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.18 2017/09/27 15:34:05 wiz Exp $
+
+DISTNAME= Coro-6.514
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Coro/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://search.cpan.org/dist/Coro/
+COMMENT= Perl module for threads
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Canary-Stability-[0-9]*:../../devel/p5-Canary-Stability
+DEPENDS+= p5-common-sense-[0-9]*:../../devel/p5-common-sense
+DEPENDS+= p5-AnyEvent-[0-9]*:../../devel/p5-AnyEvent
+
+MAKE_JOBS_SAFE= no
+PERL5_PACKLIST= auto/Coro/.packlist
+REPLACE_PERL+= Coro/jit-amd64-unix.pl Coro/jit-x86-unix.pl
+
+.include "../../devel/p5-EV/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a8d91470b56b -r b25f5e74b54f devel/p5-Coro/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Coro/distinfo Wed Sep 27 15:34:05 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.12 2017/09/27 15:34:05 wiz Exp $
+
+SHA1 (Coro-6.514.tar.gz) = 340da1e2ff0e8921e28c218e96deb897d6405a9e
+RMD160 (Coro-6.514.tar.gz) = c244e6d4590535c3b0a199fd571b4f7c6021c59d
+SHA512 (Coro-6.514.tar.gz) = 340eea9bc2a33c40813f4852d3a12ff947426fd329a4867a36262a9ece936c9e43d36ba5e4355d1f8f91cb40690de3bb1637ab0b0651518c22fb17a34ee90b37
+Size (Coro-6.514.tar.gz) = 195122 bytes
Home |
Main Index |
Thread Index |
Old Index