from Matthias Pitzl; OK sthen@
Comment:
a Test::Deep plugin for validating type constraints
Description:
This is a Test::Deep plugin that provides the sub is_type to indicate
that the data being tested must validate against the passed type.
This is an actual type object, not a string name -- for example
something provided via MooseX::Types, or a plain old coderef that
returns a bool (such as what might be used in a Moo type constraint)
from Matthias Pitzl; OK sthen@
Comment:
compare JSON with Test::Deep
Description:
Test::Deep::JSON provides json($expected) function to expect that target can be
parsed as a JSON string and matches (by cmp_deeply) with $expected.
from Matthias Pitzl; OK sthen@
Comment:
correct check for object classes in Perl
Description:
This module provides several functions to assist in testing whether
a value is an object, and if so asking about its class.
From Brad. I haven't tested (too many hangs for ports building) but since
it currently fails because there's no gcc4 on the arch, it can't make
things worse than they already are.
Tested with both GCC and CLang (less through).
This forces updating x11/py-qt5, which forces update of devel/py-sip,
which forces update of x11/py-qt4, but, thankfully, no breakage detected.
The fasteners module includes the following:
Locking decorator
Helpful locked decorator (that acquires instance objects lock(s) and
acquires on method entry and releases on method exit).
Reader-writer locks
Multiple readers (at the same time). Single writers (blocking any
readers). Helpful read_locked and write_locked decorators.
Inter-process locks
Single writer using file based locking (these automatically release
on process exit, even if __release__ or __exit__ is never called).
Helpful interprocess_locked decorator.
Generic helpers
A try_lock helper context manager that will attempt to acquire a
given lock and provide back whether the attempt passed or failed (if
it passes, then further code in the context manager will be ran with
the lock acquired).
This module provides a monotonic() function which returns the value
(in fractional seconds) of a clock which never goes backwards.
On Python 3.3 or newer, monotonic will be an alias of time.monotonic
from the standard library. On older versions, it will fall back to an
equivalent implementation.