BSD Ports

devel/p5-MooseX-SetOnce 0.202000 FreeBSD

Write-once, read-many attributes for Moose

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
bb4480b01e
License
ART10, GPLv1+
Categories
devel, perl5
Package size
10.9 KiB, 42.1 KiB installed

Description

The 'SetOnce' attribute lets your class have attributes that are not lazy and not set, but that cannot be altered once set. If you try to alter the value of an attribute with the SetOnce trait, either by accessor or writer, and the attribute has a value, it will throw an exception.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-MooseX-SetOnce0.202000
NetBSDdevel/p5-MooseX-SetOnce0.203nb3
DragonFlydevel/p5-MooseX-SetOnce0.201000
HardenedBSDdevel/p5-MooseX-SetOnce0.202000
GhostBSDdevel/p5-MooseX-SetOnce0.201000

Install

Binary package:

pkg install p5-MooseX-SetOnce

From the ports tree:

cd /usr/ports/devel/p5-MooseX-SetOnce/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-MooseX-SetOnce>0:devel/p5-MooseX-SetOnce

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2020000.2020000.2010000.2010000.202000
FreeBSD:14:quarterly0.2020000.202000n/a0.2010000.202000
FreeBSD:15:latest0.2020000.202000n/a0.2010000.201000
FreeBSD:15:quarterly0.2020000.202000n/an/an/a
FreeBSD:16:latest0.2020000.202000n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 25
Run dependencies 25

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/MooseX/SetOnce.pm
  • %%PERL5_MAN3%%/MooseX::SetOnce.3.gz
distinfo 1
FileSizeSHA256
MooseX-SetOnce-0.202.tar.gz167364bdd01e82eefc19d004c9ddc5b6151e00ad71934be8fa922a374be54dd82d585
Master sites 1
  • CPAN

Commit history 1

DateCommitCreditsLog message
bb4480b01e Muhammad Moinur Rahman devel/p5-MooseX-SetOnce: Update version 0.201000=>0.202000
Changelog: https://metacpan.org/release/RJBS/MooseX-SetOnce-0.202/changes