Tue Sep 22 18:38:44 2009 UTC ()
Importing package devel/p5-MooseX-ConfigFromFile for p5 module
MooseX::ConfigFromFile v0.02 from PR pkg/42025 with some modifications.

This is an abstract role which provides an alternate constructor for creating
objects using parameters passed in from a configuration file. The actual
implementation of reading the configuration file is left to concrete subroles.

It declares an attribute configfile and a class method new_with_config, and
requires that concrete roles derived from it implement the class method
get_config_from_file.

Attributes specified directly as arguments to new_with_config supercede those
in the configfile.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(sno)
diff -r0 -r1.1.1.1 pkgsrc/devel/p5-MooseX-ConfigFromFile/Makefile
diff -r0 -r1.1.1.1 pkgsrc/devel/p5-MooseX-ConfigFromFile/DESCR
diff -r0 -r1.1.1.1 pkgsrc/devel/p5-MooseX-ConfigFromFile/distinfo

File Added: pkgsrc/devel/p5-MooseX-ConfigFromFile/Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/09/22 18:38:43 sno Exp $

DISTNAME=	MooseX-ConfigFromFile-0.02
PKGNAME=	p5-${DISTNAME}
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=MooseX/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://search.cpan.org/dist/MooseX-ConfigFromFile/
COMMENT=	Abstract Moose role for setting attributes from a configfile
LICENSE=	${PERL5_LICENSE}

DEPENDS+=	p5-Moose>=0.35:../../devel/p5-Moose
DEPENDS+=	p5-MooseX-Types-Path-Class>=0.04:../../devel/p5-MooseX-Types-Path-Class

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	# empty

PERL5_PACKLIST=	auto/MooseX/ConfigFromFile/.packlist
PERL5_MODULE_TYPE=	Module::Install

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/p5-MooseX-ConfigFromFile/DESCR
This is an abstract role which provides an alternate constructor for creating
objects using parameters passed in from a configuration file. The actual
implementation of reading the configuration file is left to concrete subroles.

It declares an attribute configfile and a class method new_with_config, and
requires that concrete roles derived from it implement the class method
get_config_from_file.

Attributes specified directly as arguments to new_with_config supercede those
in the configfile.

File Added: pkgsrc/devel/p5-MooseX-ConfigFromFile/distinfo
$NetBSD: distinfo,v 1.1.1.1 2009/09/22 18:38:43 sno Exp $

SHA1 (MooseX-ConfigFromFile-0.02.tar.gz) = 4da080e6a4a5b44acabbaa71db018af105aeaf3b
RMD160 (MooseX-ConfigFromFile-0.02.tar.gz) = 117aa4f81730f68e6221c62e6ff655c5c38c9e9d
Size (MooseX-ConfigFromFile-0.02.tar.gz) = 20447 bytes