Port details on branch 2022Q2 |
- p5-MooseX-Traits Moose eXtension to automatically apply roles at object creation time
- 0.13 devel =0 0.13Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2009-05-11 19:44:06
- Last Update: 2023-04-25 17:30:47
- Commit Hash: 51e61bf
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/MooseX-Traits
- Description:
- Often you 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-MooseX-Traits>0:devel/p5-MooseX-Traits
- To install the port:
- cd /usr/ports/devel/p5-MooseX-Traits/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-MooseX-Traits
- pkg install p5-MooseX-Traits
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-MooseX-Traits
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (MooseX-Traits-0.13.tar.gz) = 74afe0c4faf4e3b97c57f289437caa60becca34cd5821f489dd4cc9da4fbe29a
SIZE (MooseX-Traits-0.13.tar.gz) = 31688
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Class-Load>=0 : devel/p5-Class-Load
- p5-Moose>=0 : devel/p5-Moose
- p5-Sub-Exporter>=0 : devel/p5-Sub-Exporter
- p5-namespace-autoclean>=0 : devel/p5-namespace-autoclean
- perl5>=5.32.r0<5.33 : lang/perl5.32
- p5-Module-Build-Tiny>=0.039 : devel/p5-Module-Build-Tiny
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Test dependencies:
-
- p5-MooseX-Role-Parameterized>=0 : devel/p5-MooseX-Role-Parameterized
- p5-Test-Fatal>=0 : devel/p5-Test-Fatal
- p5-Test-Requires>=0 : devel/p5-Test-Requires
- Runtime dependencies:
-
- p5-Class-Load>=0 : devel/p5-Class-Load
- p5-Moose>=0 : devel/p5-Moose
- p5-Sub-Exporter>=0 : devel/p5-Sub-Exporter
- p5-namespace-autoclean>=0 : devel/p5-namespace-autoclean
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- devel/p5-Parse-Method-Signatures
- net/p5-Net-Riak
- textproc/p5-XML-Schematron
- www/p5-Perlanet
- for Run
-
- devel/p5-Parse-Method-Signatures
- net/p5-Net-Riak
- textproc/p5-XML-Schematron
- www/p5-Perlanet
Configuration Options:
- No options to configure
- Options name:
- devel_p5-MooseX-Traits
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|