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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-lockfile | 0.12.2_1 |
| NetBSD | devel/py-lockfile | 0.12.2nb3 |
| DragonFly | devel/py-lockfile | 0.12.2_1 |
| MidnightBSD | devel/py-lockfile | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.12.2_1 | 0.12.2_1 | 0.12.2 | 0.12.2_1 | 0.12.2_1 |
| FreeBSD:14:quarterly | 0.12.2_1 | 0.12.2_1 | n/a | 0.12.2_1 | 0.12.2_1 |
| FreeBSD:15:latest | 0.12.2_1 | 0.12.2_1 | n/a | 0.12.2_1 | 0.12.2_1 |
| FreeBSD:15:quarterly | 0.12.2_1 | 0.12.2_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.12.2_1 | 0.12.2_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}pbr>=1.8: devel/py-pbr
Test 1
${PYTHON_PKGNAMEPREFIX}nose>0: devel/py-nose
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
| File | Size | SHA256 |
|---|---|---|
| lockfile-0.12.2.tar.gz | 20874 | 6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.