./devel/py-fasteners [python package that provides useful locks]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 0.15, Package name: py-fasteners-0.15
Maintained by: The OpenBSD ports mailing-list
Master sites:
Flavors (export FLAVOR=xyz, setenv FLAVOR xyz):
  • python3
Description
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).


Filesize: 17.479 KB
Version History (View Complete History)
  • (2019-07-22) Updated to version: py-fasteners-0.15
  • (2017-07-17) Package added to openports.se, version py-fasteners-0.14.1 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2020-07-03 15:13:23 by Stuart Henderson | Files touched by this commit (1032)
Log message:
bump REVISION; python 3 default changed to 3.8
   2019-11-08 07:53:28 by Kurt Mosiejczuk | Files touched by this commit (1)
Log message:
Switch testing from py-nose to MODPY_PYTEST
   2019-08-16 16:28:25 by Christian Weisgerber | Files touched by this commit (2)
Log message:
remove accidentally imported files
   2019-07-22 07:00:01 by Kurt Mosiejczuk | Files touched by this commit (6)
Log message:
Update devel/py-fasteners to 0.15
Added a missing TEST_DEPENDS on devel/py-pbr
Patched to use built-in time.monotonic rather than py-monotonic for
the python3 flavor. A pull request has been made with upstream to
integrate this change.
ok sthen@
   2019-07-12 14:46:30 by Stuart Henderson | Files touched by this commit (853)
Log message:
replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes
   2019-05-15 06:04:43 by Kurt Mosiejczuk | Files touched by this commit (167)
Log message:
Add RUN_DEPENDS to TEST_DEPENDS automatically for ports using the
lang/python port module. I've not yet come up with a port that
would not need this and one can always set MODPY_TESTDEP to "no"
to prevent the module from touching TEST_DEPENDS.
Idea from afresh1 who pointed out the cpan module already does this.
aja "I support this move."
OK sthen@
   2019-04-28 14:52:03 by Stuart Henderson | Files touched by this commit (715)
Log message:
bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
   2019-04-26 01:29:21 by Antoine Jacoutot | Files touched by this commit (6)
Log message:
Remove empty line at EOF.