ports/106527: [NEW PORT] devel/p5-AnyEvent: Provide framework for multiple event loops

Gea-Suan Lin gslin at gslin.org
Sat Dec 9 12:20:11 UTC 2006


>Number:         106527
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-AnyEvent: Provide framework for multiple event loops
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 09 12:20:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE-p8 FreeBSD 6.1-RELEASE-p8 #0: Fri Sep 29 03:41:50 CST 2006
>Description:
AnyEvent provides an identical interface to multiple event loops.
This allows module authors to utilise an event loop without forcing
module users to use the same event loop (as only a single event loop
can coexist peacefully at any one time).

The interface itself is vaguely similar but not identical to the Event
module.

On the first call of any method, the module tries to detect the
currently loaded event loop by probing wether any of the following
modules is loaded: Coro::Event, Event, Glib, Tk. The first one found
is used. If none is found, the module tries to load these modules in
the order given. The first one that could be successfully loaded will
be used. If still none could be found, AnyEvent will fall back to a
pure-perl event loop, which is also not very efficient.

WWW:	http://search.cpan.org/dist/AnyEvent/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-AnyEvent-2.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-AnyEvent
#	p5-AnyEvent/pkg-descr
#	p5-AnyEvent/Makefile
#	p5-AnyEvent/pkg-plist
#	p5-AnyEvent/distinfo
#
echo c - p5-AnyEvent
mkdir -p p5-AnyEvent > /dev/null 2>&1
echo x - p5-AnyEvent/pkg-descr
sed 's/^X//' >p5-AnyEvent/pkg-descr << 'END-of-p5-AnyEvent/pkg-descr'
XAnyEvent provides an identical interface to multiple event loops.
XThis allows module authors to utilise an event loop without forcing
Xmodule users to use the same event loop (as only a single event loop
Xcan coexist peacefully at any one time).
X
XThe interface itself is vaguely similar but not identical to the Event
Xmodule.
X
XOn the first call of any method, the module tries to detect the
Xcurrently loaded event loop by probing wether any of the following
Xmodules is loaded: Coro::Event, Event, Glib, Tk. The first one found
Xis used. If none is found, the module tries to load these modules in
Xthe order given. The first one that could be successfully loaded will
Xbe used. If still none could be found, AnyEvent will fall back to a
Xpure-perl event loop, which is also not very efficient.
X
XWWW:	http://search.cpan.org/dist/AnyEvent/
END-of-p5-AnyEvent/pkg-descr
echo x - p5-AnyEvent/Makefile
sed 's/^X//' >p5-AnyEvent/Makefile << 'END-of-p5-AnyEvent/Makefile'
X# New ports collection makefile for:	p5-AnyEvent
X# Date created:		2006-12-09
X# Whom:			Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	AnyEvent
XPORTVERSION=	2.1
XCATEGORIES=	devel perl5
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	../../authors/id/M/ML/MLEHMANN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin at gslin.org
XCOMMENT=	Provide framework for multiple event loops
X
XPERL_CONFIGURE=	yes
X
XMAN3=		AnyEvent.3
X
X.include <bsd.port.pre.mk>
X.include <bsd.port.post.mk>
END-of-p5-AnyEvent/Makefile
echo x - p5-AnyEvent/pkg-plist
sed 's/^X//' >p5-AnyEvent/pkg-plist << 'END-of-p5-AnyEvent/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/.packlist
X%%SITE_PERL%%/AnyEvent.pm
X%%SITE_PERL%%/AnyEvent/Impl/Coro.pm
X%%SITE_PERL%%/AnyEvent/Impl/Event.pm
X%%SITE_PERL%%/AnyEvent/Impl/Glib.pm
X%%SITE_PERL%%/AnyEvent/Impl/Perl.pm
X%%SITE_PERL%%/AnyEvent/Impl/Tk.pm
X at dirrmtry %%SITE_PERL%%/AnyEvent/Impl
X at dirrmtry %%SITE_PERL%%/AnyEvent
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent
END-of-p5-AnyEvent/pkg-plist
echo x - p5-AnyEvent/distinfo
sed 's/^X//' >p5-AnyEvent/distinfo << 'END-of-p5-AnyEvent/distinfo'
XMD5 (AnyEvent-2.1.tar.gz) = 048a183e5c3154f8d7d0b16888ffe07b
XSHA256 (AnyEvent-2.1.tar.gz) = f0d8d6094f5dc6c14912ac79e1136413223671f3cda6bdebf81963d963f08249
XSIZE (AnyEvent-2.1.tar.gz) = 11121
END-of-p5-AnyEvent/distinfo
exit
--- p5-AnyEvent-2.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list