BSD Ports

devel/py-portalocker 2.3.2_1 DragonFly

Python library that provides an easy API to file locking

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
PSFL
Categories
devel, python
Package size
26.3 KiB, 123.1 KiB installed

Description

Portalocker is a library to provide an easy API to file locking.

An important detail to note is that on Linux and Unix systems the locks are advisory by default. By specifying the -o mand option to the mount command it is possible to enable mandatory file locking on Linux. This is generally not recommended however. For more information about the subject: https://en.wikipedia.org/wiki/File_locking http://stackoverflow.com/questions/39292051/portalocker-does-not-seem-to-lock https://stackoverflow.com/questions/12062466/mandatory-file-lock-on-linux

In the other systems

The newest version among them is 3.2.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-portalocker2.3.2_1 behind since 2026-07-05none known-[email protected]-
FreeBSDdevel/py-portalocker3.2.0 newestnone known-[email protected]-
OpenBSDdevel/py-portalocker2.6.0p3 behind since 2026-07-05no data-Moritz Buhl <[email protected]>-
MidnightBSDdevel/py-portalocker3.2.0 newestno data-[email protected]2026-07-05
HardenedBSDdevel/py-portalocker3.2.0 newestno data-[email protected]-
GhostBSDdevel/py-portalocker3.2.0 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-portalocker

From DPorts:

cd /usr/dports/devel/py-portalocker && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1