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

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


Branch: CURRENT, Version: 0.47nb2, Package name: p5-Specio-0.47nb2, 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.75 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631)
Log message:
*: bump PKGREVISION for perl-5.32.
   2020-04-18 03:19:07 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/p5-Specio) Updated 0.44 to 0.46

(pkgsrc)
 - Add TEST_DEPENDS+= p5-XString

(upstream)
0.46     2020-03-14
- No code changes, just fixing a mistake in the POD. Reported by Petr
  Pisar. Fixes #17.

0.45     2019-11-24
- Made XString a prereq if installing with Perl 5.10+.