Info2: << Package: lockfile-py%type_pkg[python] Version: 0.9.1 Revision: 1 Type: python (2.7) Description: Platform-independent file locking module License: MIT Homepage: https://github.com/smontanaro/pylockfile Maintainer: Kurt Schwehr Depends: python%type_pkg[python] BuildDepends: setuptools-tng-py%type_pkg[python] # this is the new location, but is has a different MD5 sum :-( #Source: https://pypi.python.org/packages/source/l/lockfile/lockfile-%v.tar.gz #Source-MD5: ce61468d4c1263e3005737bbed2641f0 Source: https://pylockfile.googlecode.com/files/lockfile-%v.tar.gz Source-MD5: 4e4c7ea4c4301500da5e7f3b51e01cfe CompileScript: %p/bin/python%type_raw[python] setup.py build InstallScript: %p/bin/python%type_raw[python] setup.py install --prefix=%p --root=%d DocFiles: ACKS README RELEASE-NOTES doc/ DescDetail: << This 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. << # Info2: <<