pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-lockfile

Module Name:    pkgsrc
Committed By:   imil
Date:           Tue Aug 14 12:08:48 UTC 2012

Added Files:
        pkgsrc/devel/py-lockfile: DESCR Makefile PLIST distinfo

Log Message:
Initial import of py-lockfile, version 0.9.1, into the NetBSD Packages

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.

To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-lockfile/DESCR \
    pkgsrc/devel/py-lockfile/Makefile pkgsrc/devel/py-lockfile/PLIST \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index