devel/py-lockfile 0.12.2_1 DragonFly
Platform-independent file locking module
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 19.3 KiB, 111.4 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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-lockfile | 0.12.2_1 |
| FreeBSD | devel/py-lockfile | 0.12.2_1 |
| NetBSD | devel/py-lockfile | 0.12.2nb3 |
| MidnightBSD | devel/py-lockfile | 0.12.2_1 |
| HardenedBSD | devel/py-lockfile | 0.12.2_1 |
| GhostBSD | devel/py-lockfile | 0.12.2_1 |
Install
Binary package:
pkg install py311-lockfile
From DPorts:
cd /usr/dports/devel/py-lockfile && make install clean