BSD Ports

devel/py-lockfile 0.12.2_1 FreeBSD

Platform-independent file locking module

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
20.8 KiB, 106.1 KiB installed

Description

The lockfile module exports a FileLock class which provides a simple API for locking files. Unlike the Windows msvcrt.locking function, the Unix fcntl.flock, fcntl.lockf and the deprecated posixfile module, the API is identical across both Unix (including Linux and Mac) and Windows platforms. The lock mechanism relies on the atomic nature of the link (on Unix) and mkdir (on Windows) system calls.

In the other systems

SystemPortVersion
FreeBSDdevel/py-lockfile0.12.2_1
NetBSDdevel/py-lockfile0.12.2nb3
DragonFlydevel/py-lockfile0.12.2_1
MidnightBSDdevel/py-lockfile0.12.2_1

Install

Binary package:

pkg install py312-lockfile

From the ports tree:

cd /usr/ports/devel/py-lockfile/ && make install clean

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

RUN_DEPENDS=	py312-lockfile>0:devel/py-lockfile

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.12.2_10.12.2_10.12.20.12.2_10.12.2_1
FreeBSD:14:quarterly0.12.2_10.12.2_1n/a0.12.2_10.12.2_1
FreeBSD:15:latest0.12.2_10.12.2_1n/a0.12.2_10.12.2_1
FreeBSD:15:quarterly0.12.2_10.12.2_1n/an/an/a
FreeBSD:16:latest0.12.2_10.12.2_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 12
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
lockfile-0.12.2.tar.gz208746aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.