devel/py-lockfile - The NetBSD Packages Collection

Platform-independent file locking module

The lockfile package exports a LockFile class which provides a simple API for
locking files. Unlike the Windows msvcrt.locking function, the fcntl.lockf and
flock functions, 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. An implementation based on SQLite is also provided,
more as a demonstration of the possibilities it provides than as
production-quality code.

Build dependencies

devel/py-pbr pkgtools/cwrappers

Runtime dependencies

databases/py-sqlite3 devel/py-setuptools lang/python39 lang/python39

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfpy27-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy36-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy37-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy38-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy39-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy27-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy36-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy37-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy38-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy39-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy27-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy36-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy37-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy38-lockfile-0.12.2.tgz
NetBSD 8.0earmv7hfpy39-lockfile-0.12.2.tgz
NetBSD 8.0i386py27-lockfile-0.12.2.tgz
NetBSD 8.0i386py36-lockfile-0.12.2.tgz
NetBSD 8.0i386py37-lockfile-0.12.2.tgz
NetBSD 8.0i386py38-lockfile-0.12.2.tgz
NetBSD 8.0i386py39-lockfile-0.12.2.tgz
NetBSD 8.0i386py27-lockfile-0.12.2.tgz
NetBSD 8.0i386py36-lockfile-0.12.2.tgz
NetBSD 8.0i386py37-lockfile-0.12.2.tgz
NetBSD 8.0i386py38-lockfile-0.12.2.tgz
NetBSD 8.0i386py39-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy27-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy36-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy37-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy38-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy39-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy27-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy36-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy37-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy38-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy39-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy27-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy36-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy37-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy38-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy39-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy27-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy36-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy37-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy38-lockfile-0.12.2.tgz
NetBSD 8.0powerpcpy39-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py27-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py36-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py37-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py38-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py39-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py27-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py36-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py37-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py38-lockfile-0.12.2.tgz
NetBSD 8.0x86_64py39-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py27-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py36-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py37-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py38-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py39-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py27-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py36-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py37-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py38-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py39-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py27-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py36-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py37-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py38-lockfile-0.12.2.tgz
NetBSD 9.0aarch64py39-lockfile-0.12.2.tgz
NetBSD 9.0alphapy27-lockfile-0.12.2.tgz
NetBSD 9.0alphapy36-lockfile-0.12.2.tgz
NetBSD 9.0alphapy37-lockfile-0.12.2.tgz
NetBSD 9.0alphapy38-lockfile-0.12.2.tgz
NetBSD 9.0alphapy39-lockfile-0.12.2.tgz
NetBSD 9.0alphapy27-lockfile-0.12.2.tgz
NetBSD 9.0alphapy36-lockfile-0.12.2.tgz
NetBSD 9.0alphapy37-lockfile-0.12.2.tgz
NetBSD 9.0alphapy38-lockfile-0.12.2.tgz
NetBSD 9.0alphapy39-lockfile-0.12.2.tgz
NetBSD 9.0alphapy27-lockfile-0.12.2.tgz
NetBSD 9.0alphapy36-lockfile-0.12.2.tgz
NetBSD 9.0alphapy37-lockfile-0.12.2.tgz
NetBSD 9.0alphapy38-lockfile-0.12.2.tgz
NetBSD 9.0alphapy39-lockfile-0.12.2.tgz
NetBSD 9.0earmpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmpy39-lockfile-0.12.2.tgz
NetBSD 9.0earmpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmpy39-lockfile-0.12.2.tgz
NetBSD 9.0earmpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmpy39-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy27-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy39-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy27-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy39-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy27-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmv6hfpy39-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy27-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy39-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy27-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy39-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy27-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy39-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy27-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy36-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy37-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy38-lockfile-0.12.2.tgz
NetBSD 9.0earmv7hfpy39-lockfile-0.12.2.tgz
NetBSD 9.0i386py27-lockfile-0.12.2.tgz
NetBSD 9.0i386py36-lockfile-0.12.2.tgz
NetBSD 9.0i386py37-lockfile-0.12.2.tgz
NetBSD 9.0i386py38-lockfile-0.12.2.tgz
NetBSD 9.0i386py39-lockfile-0.12.2.tgz
NetBSD 9.0i386py27-lockfile-0.12.2.tgz
NetBSD 9.0i386py36-lockfile-0.12.2.tgz
NetBSD 9.0i386py37-lockfile-0.12.2.tgz
NetBSD 9.0i386py38-lockfile-0.12.2.tgz
NetBSD 9.0i386py39-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy27-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy36-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy37-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy38-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy39-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy27-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy36-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy37-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy38-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy27-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy36-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy37-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy38-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy39-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy27-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy36-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy37-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy38-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy39-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy27-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy36-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy37-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy38-lockfile-0.12.2.tgz
NetBSD 9.0mips64ebpy39-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy27-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy36-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy37-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy38-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy39-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy27-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy36-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy37-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy38-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy39-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy27-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy36-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy37-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy38-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy39-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy27-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy36-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy37-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy38-lockfile-0.12.2.tgz
NetBSD 9.0powerpcpy39-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy36-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy37-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy38-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy39-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy36-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy37-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy38-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy39-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy36-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy37-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy38-lockfile-0.12.2.tgz
NetBSD 9.0sh3elpy39-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py27-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py36-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py37-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py38-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py39-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py27-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py36-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py37-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py38-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py39-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py27-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py36-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py37-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py38-lockfile-0.12.2.tgz
NetBSD 9.0sparc64py39-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy27-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy36-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy37-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy38-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy39-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy27-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy36-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy37-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy38-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy27-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy36-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy37-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy38-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy39-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy27-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy36-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy37-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy38-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy39-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy27-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy36-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy37-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy38-lockfile-0.12.2.tgz
NetBSD 9.0sparcpy39-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py27-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py36-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py37-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py38-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py39-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py27-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py36-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py37-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py38-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py39-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py27-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py36-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py37-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py38-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py39-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py27-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py36-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py37-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py38-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py39-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py27-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py36-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py37-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py38-lockfile-0.12.2.tgz
NetBSD 9.0x86_64py39-lockfile-0.12.2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.