devel/p5-MooseX-Types-Path-Class 0.09 MidnightBSD
Path::Class type library for Moose
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl
- Categories
- devel, perl5
Description
This is a utility that creates common Moose subtypes, coercions and option specifications useful for dealing with Path::Class objects as Moose attributes.
This module constructs coercions (see Moose::Util::TypeConstraints) from both 'Str' and 'ArrayRef' to both Path::Class::Dir and Path::Class::File objects. It also adds the Getopt option type ("=s") for both Path::Class::Dir and Path::Class::File (see MooseX::Getopt).
This is just meant to be a central place for these constructs, so you don't have to worry about whether they've been created or not, and you're not tempted to copy them into yet another class (like I was).
In the other systems
The newest version among them is 0.09, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-MooseX-Types-Path-Class | 0.09 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-MooseX-Types-Path-Class | 0.09 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-MooseX-Types-Path-Class | 0.09p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-MooseX-Types-Path-Class | 0.09nb10 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-MooseX-Types-Path-Class | 0.09 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-MooseX-Types-Path-Class | 0.09 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-MooseX-Types-Path-Class | 0.09 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install p5-MooseX-Types-Path-Class
From mports:
cd /usr/mports/devel/p5-MooseX-Types-Path-Class && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-MooseX-Types-Path-Class>0:devel/p5-MooseX-Types-Path-Class
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 4
p5-Moose>=2: devel/p5-Moosep5-MooseX-Getopt>=0: devel/p5-MooseX-Getoptp5-MooseX-Types>=0.04: devel/p5-MooseX-Typesp5-Path-Class>=0.16: devel/p5-Path-Class
Runtime 4
p5-Moose>=2: devel/p5-Moosep5-MooseX-Getopt>=0: devel/p5-MooseX-Getoptp5-MooseX-Types>=0.04: devel/p5-MooseX-Typesp5-Path-Class>=0.16: devel/p5-Path-Class
Build dependencies 4
Run dependencies 4
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 1
- %%SITE_PERL%%/MooseX/Types/Path/Class.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| MooseX-Types-Path-Class-0.09.tar.gz | 29220 | e784bab53698ae95a709a8663306145ffec55668df6cf31615333523fbe7ef7e |
Master sites 1
- CPAN