svn commit: r499557 - head/devel/p5-Coro

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Apr 21 19:06:34 UTC 2019


Author: sunpoet
Date: Sun Apr 21 19:06:32 2019
New Revision: 499557
URL: https://svnweb.freebsd.org/changeset/ports/499557

Log:
  Update to 6.54
  
  - Update pkg-descr
  - Take maintainership
  
  Changes:	https://metacpan.org/changes/distribution/Coro

Modified:
  head/devel/p5-Coro/Makefile
  head/devel/p5-Coro/distinfo
  head/devel/p5-Coro/pkg-descr

Modified: head/devel/p5-Coro/Makefile
==============================================================================
--- head/devel/p5-Coro/Makefile	Sun Apr 21 18:27:08 2019	(r499556)
+++ head/devel/p5-Coro/Makefile	Sun Apr 21 19:06:32 2019	(r499557)
@@ -1,20 +1,21 @@
 # $FreeBSD$
 
 PORTNAME=	Coro
-PORTVERSION=	6.514
+PORTVERSION=	6.540
 PORTEPOCH=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
+DISTNAME=	${PORTNAME}-${PORTVERSION:C|0$||}
 
-MAINTAINER=	perl at FreeBSD.org
+MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	Coroutine process abstraction for perl
 
 LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	${RUN_DEPENDS} \
-		p5-Canary-Stability>=0:devel/p5-Canary-Stability
+BUILD_DEPENDS=	p5-Canary-Stability>=0:devel/p5-Canary-Stability \
+		${RUN_DEPENDS}
 RUN_DEPENDS=	p5-AnyEvent>=7:devel/p5-AnyEvent \
 		p5-AnyEvent-AIO>=1.0:devel/p5-AnyEvent-AIO \
 		p5-EV>=4:devel/p5-EV \

Modified: head/devel/p5-Coro/distinfo
==============================================================================
--- head/devel/p5-Coro/distinfo	Sun Apr 21 18:27:08 2019	(r499556)
+++ head/devel/p5-Coro/distinfo	Sun Apr 21 19:06:32 2019	(r499557)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1515424879
-SHA256 (Coro-6.514.tar.gz) = d83343839290a72db302a14b1ad86f0069f0bba6d45f947252d9db490edecd62
-SIZE (Coro-6.514.tar.gz) = 195122
+TIMESTAMP = 1555855397
+SHA256 (Coro-6.54.tar.gz) = 55342a40b90aaff9a427db964e3b46bd0bb52f37e24cb7d3a8dd9d1aca580028
+SIZE (Coro-6.54.tar.gz) = 196014

Modified: head/devel/p5-Coro/pkg-descr
==============================================================================
--- head/devel/p5-Coro/pkg-descr	Sun Apr 21 18:27:08 2019	(r499556)
+++ head/devel/p5-Coro/pkg-descr	Sun Apr 21 19:06:32 2019	(r499557)
@@ -1,9 +1,18 @@
-This module collection manages coroutines. Coroutines are similar to
-threads but don't run in parallel.
+Coro started as a simple module that implemented a specific form of first class
+continuations called Coroutines. These basically allow you to capture the
+current point execution and jump to another point, while allowing you to return
+at any time, as kind of non-local jump, not unlike C's setjmp/longjmp. This is
+nowadays known as a Coro::State.
 
-In this module, coroutines are defined as "callchain + lexical variables
-+ @_ + $_ + $@ + $^W + C stack), that is, a coroutine has its own
-callchain, its own set of lexicals and its own set of perl's most
-important global variables.
+One natural application for these is to include a scheduler, resulting in
+cooperative threads, which is the main use case for Coro today. Still, much of
+the documentation and custom refers to these threads as "coroutines" or often
+just "coros".
+
+A thread is very much like a stripped-down perl interpreter, or a process:
+Unlike a full interpreter process, a thread doesn't have its own variable or
+code namespaces - everything is shared. That means that when one thread modifies
+a variable (or any value, e.g. through a reference), then other threads
+immediately see this change when they look at the same variable or location.
 
 WWW: https://metacpan.org/release/Coro


More information about the svn-ports-all mailing list