1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

POEx::Role::SessionInstantiation provides a nearly seamless

integration for non-POE objects into a POE environment. It does this
by handling the POE stuff behind the scenes including allowing per
instances method changes, session registration to the Kernel, and
providing some defaults like setting an alias if supplied via the
attribute or constructor argument, or defining a _default that warns
if your object receives an event that it does not have.

This role exposes your class' methods as POE events.

WWW: http://search.cpan.org/dist/POEx-Role-SessionInstantiation/
This commit is contained in:
Jun Kuriyama 2010-10-10 01:15:10 +00:00
parent 9b520c54e4
commit d7dc9dd769
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262724
5 changed files with 67 additions and 0 deletions

View File

@ -1982,6 +1982,7 @@
SUBDIR += p5-POE-Test-Loops
SUBDIR += p5-POE-XS-Loop-Poll
SUBDIR += p5-POE-XS-Queue-Array
SUBDIR += p5-POEx-Role-SessionInstantiation
SUBDIR += p5-POEx-Types
SUBDIR += p5-POSIX-strptime
SUBDIR += p5-PPerl

View File

@ -0,0 +1,38 @@
# New ports collection makefile for: POEx::Role::SessionInstantiation
# Date created: 10 Oct 2010
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= POEx-Role-SessionInstantiation
PORTVERSION= 1.102610
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/N/NP/NPEREZ
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension of Moose role for turning objects into POE sessions
RUN_DEPENDS= \
p5-MooseX-CompileTime-Traits>=0:${PORTSDIR}/devel/p5-MooseX-CompileTime-Traits \
p5-MooseX-Declare>0:${PORTSDIR}/devel/p5-MooseX-Declare \
p5-MooseX-Types>0:${PORTSDIR}/devel/p5-MooseX-Types \
p5-MooseX-Types>0:${PORTSDIR}/devel/p5-MooseX-Types \
p5-POE>0:${PORTSDIR}/devel/p5-POE \
p5-POEx-Types>=0:${PORTSDIR}/devel/p5-POEx-Types \
p5-aliased>0:${PORTSDIR}/devel/p5-aliased
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= POEx::Role::Event.3 \
POEx::Role::SessionInstantiation.3 \
POEx::Role::SessionInstantiation::Meta::POEState.3 \
POEx::Role::SessionInstantiation::Meta::Session::Events.3 \
POEx::Role::SessionInstantiation::Meta::Session::Implementation.3 \
POEx::Role::SessionInstantiation::Meta::Session::Magic.3 \
POEx::Role::SessionInstantiation::Meta::Session::Sugar.3
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (POEx-Role-SessionInstantiation-1.102610.tar.gz) = eec75436e518c6546df2e85eac29778d
SHA256 (POEx-Role-SessionInstantiation-1.102610.tar.gz) = a6e3c523998869e8dd30b91d91f1248ac44360aa7caec74e204128bf839fd5a9
SIZE (POEx-Role-SessionInstantiation-1.102610.tar.gz) = 19895

View File

@ -0,0 +1,11 @@
POEx::Role::SessionInstantiation provides a nearly seamless
integration for non-POE objects into a POE environment. It does this
by handling the POE stuff behind the scenes including allowing per
instances method changes, session registration to the Kernel, and
providing some defaults like setting an alias if supplied via the
attribute or constructor argument, or defining a _default that warns
if your object receives an event that it does not have.
This role exposes your class' methods as POE events.
WWW: http://search.cpan.org/dist/POEx-Role-SessionInstantiation/

View File

@ -0,0 +1,14 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POEx/Role/SessionInstantiation/.packlist
%%SITE_PERL%%/POEx/Role/Event.pm
%%SITE_PERL%%/POEx/Role/SessionInstantiation.pm
%%SITE_PERL%%/POEx/Role/SessionInstantiation/Meta/POEState.pm
%%SITE_PERL%%/POEx/Role/SessionInstantiation/Meta/Session/Events.pm
%%SITE_PERL%%/POEx/Role/SessionInstantiation/Meta/Session/Implementation.pm
%%SITE_PERL%%/POEx/Role/SessionInstantiation/Meta/Session/Magic.pm
%%SITE_PERL%%/POEx/Role/SessionInstantiation/Meta/Session/Sugar.pm
@dirrm %%SITE_PERL%%/POEx/Role/SessionInstantiation/Meta/Session
@dirrm %%SITE_PERL%%/POEx/Role/SessionInstantiation/Meta
@dirrm %%SITE_PERL%%/POEx/Role/SessionInstantiation
@dirrmtry %%SITE_PERL%%/POEx/Role
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POEx/Role/SessionInstantiation
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POEx/Role