./devel/p5-Specio, Type constraints and coercions for Perl

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


Branch: CURRENT, Version: 0.48nb2, Package name: p5-Specio-0.48nb2, Maintainer: pkgsrc-users

The Specio distribution provides classes for representing type
constraints and coercion, along with syntax sugar for declaring
them.

Note that this is not a proper type system for Perl. Nothing in
this distribution will magically make the Perl interpreter start
checking a value's type on assignment to a variable. In fact,
there's no built-in way to apply a type to a variable at all.

Instead, you can explicitly check a value against a type, and
optionally coerce values to that type.


Required to run:
[lang/perl5] [devel/p5-Devel-StackTrace] [devel/p5-MRO-Compat] [devel/p5-Eval-Closure] [devel/p5-Module-Runtime] [devel/p5-Role-Tiny] [devel/p5-Ref-Util] [devel/p5-Sub-Quote]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 105.76 KB

Version history: (Expand)


CVS history: (Expand)


   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2022-10-05 15:19:44 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 0.48

Upstream changes:
Changes for version 0.48 - 2022-06-11
Importing types into a class which inherited from another class that had \ 
imported types wouldn't work, leaving the child class with no `t()` sub. Patch \ 
by Kerin Millar.
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2021-04-26 17:01:33 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Specio: update to 0.47.

0.47     2021-01-29

- Change Specio constraint object's stringification overloading to return the
  type name rather than the default Perl object stringification, which gives
  you something like
  "Specio::Constraint::Parameterized=HASH(0x564d258efb48)". Anonymous are
  special cased to return something you can print.

- All types now overload the `eq` comparison operator. Moose expects types to
  be comparable in this manner when doing role summation. This fixes a bug
  reported by Martin Gruner. GH #18.
   2020-09-08 15:16:47 by Thomas Klausner | Files touched by this commit (116)
Log message:
*: use MASTER_SITE_PERL_CPAN