NOTICE: This package has been removed from pkgsrc

./wip/py-lockfile, Platform-independent file locking module

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 0.9.1, Package name: py27-lockfile-0.9.1, Maintainer: kamel.derouiche

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.


Required to run:
[databases/py-sqlite3] [lang/python27]

Master sites:

SHA1: 1eebaee375641c9f29aeb21768f917dd2b985752
RMD160: c94c1a638f2a11181063d6025a6c5acc8c9d09e6
Filesize: 16.552 KB

Version history: (Expand)


CVS history: (Expand)


   2012-09-10 01:41:16 by Kamel Derouiche | Files touched by this commit (4) | Package removed
Log message:
working in pkgsrc...

   2012-08-14 14:00:00 by iMil | Files touched by this commit (4)
Log message:
Updating to 0.9.1 before importing to pkgsrc

Note: In version 0.9 the API changed in two significant ways:
	It changed from a module defining several classes to a package
	containing several modules, each defining a single class.
	Where classes had been named SomethingFileLock before the last two
	words have been reversed, so that class is now SomethingLockFile.
   2012-01-18 13:39:47 by ndb | Files touched by this commit (1)
Log message:
sanitised dependency.
   2010-08-16 14:06:44 by Kamel Derouiche | Files touched by this commit (1)
Log message:
Update PLIST

   2009-07-05 00:38:25 by Kamel Derouiche | Files touched by this commit (4) | Imported package
Log message:
Import py25-lockfile-0.8 as wip/py-lockfile.

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