BSD Ports

devel/py-portalocker 3.2.0 MidnightBSD

Wrap the portalocker recipe for easy usage

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
8af06753b2
License
bsd3
Categories
devel, python

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

Compare across BSDs

Version history 1

  1. 3.2.0 8af06753b2

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}portalocker

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}portalocker>0:devel/py-portalocker

Dependency graph

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

Dependencies

As this port's Makefile names them.

Build 3

Build dependencies 3

No port depends on this one.

Configuration

Options name: devel_portalocker

OptionDefaultDescription
REDISoff
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
portalocker-3.2.0.tar.gz956441f3002956a54a8c3730586c5c77bf18fae4149e07eaf1c29fc3faf4d5a3f89ac
Master sites 2
  • PYPI
  • https://github.com/wolph/portalocker/releases/download/v3.2.0/

Commit history 1

DateCommitCreditsLog message
8af06753b2 Lucas Holt databases/rubygem-flipper-active_record-rails70: update to 1.3.6
Match the flipper-gitlab provider series so fake-qa can satisfy the gemspec flipper dependency. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>