./devel/p5-MooseX-Traits, Automatically apply roles at object creation time

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.13nb2, Package name: p5-MooseX-Traits-0.13nb2, Maintainer: pkgsrc-users

Often a developer want to create components that can be added to a class
arbitrarily. This module makes it easy for the end user to use these
components. Instead of requiring the user to create a named class with the
desired roles applied, or applying roles to the instance one-by-one, he can
just pass a traits parameter to the class's new_with_traits constructor.
This role will then apply the roles in one go, cache the resulting class
(for efficiency), and return a new instance. Arguments meant to initialize
the applied roles' attributes can also be passed to the constructor.


Required to run:
[lang/perl5] [devel/p5-Moose]

Required to build:
[devel/p5-Test-Simple] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 60db1a4322195420f153630c6325273dae04125f
RMD160: 9122ca2e4c755b4595d1ca1ad732da754d687b91
Filesize: 30.945 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-04-16 15:37:55 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
- Add BUILD_DEPENDS+=  p5-Package-DeprecationManager-[0-9]* for make test
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-05 07:34:11 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Update to 0.13
--------------
0.13      2015-08-16 04:10:59Z
        - update some distribution tooling
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2015-04-27 03:51:00 by Makoto Fujiwara | Files touched by this commit (21)
Log message:
Switch {BUILD_,}DEPENDS from Test::use:ok to Test::Simple, Test::Simple
includes Test::use:ok since 1.001010.
PKGREVISION++.
(For BUILD_DEPENDS, assuming Test::use:ok will be removed sometime.)
   2014-10-02 02:52:38 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.12
Update DEPENDS

Upstream changes:
0.12      2013-11-13 07:21:32Z
        - removed use of deprecated Class::MOP::load_class
        - repository migrated from shadowcat to the github moose organization
        - uses of Test::Exception converted to Test::Fatal