diff options
-rw-r--r-- | devel/py-lock_file/Makefile | 5 | ||||
-rw-r--r-- | devel/py-lock_file/distinfo | 6 | ||||
-rw-r--r-- | devel/py-lock_file/pkg-descr | 12 |
3 files changed, 11 insertions, 12 deletions
diff --git a/devel/py-lock_file/Makefile b/devel/py-lock_file/Makefile index 21503e847380..6b5533570869 100644 --- a/devel/py-lock_file/Makefile +++ b/devel/py-lock_file/Makefile @@ -6,9 +6,10 @@ # PORTNAME= lock_file -PORTVERSION= 1.0 +PORTVERSION= 2.0 CATEGORIES= devel python -MASTER_SITES= http://martin.horcicka.eu/python/lock_file/ +MASTER_SITES= http://martin.horcicka.eu/python/lock_file/ \ + http://pypi.python.org/packages/source/l/lock_file/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= martin@horcicka.eu diff --git a/devel/py-lock_file/distinfo b/devel/py-lock_file/distinfo index 48ac2231e247..77b9292d3d54 100644 --- a/devel/py-lock_file/distinfo +++ b/devel/py-lock_file/distinfo @@ -1,3 +1,3 @@ -MD5 (lock_file-1.0.tar.gz) = e22d72e9adc7b690954b40118b58b7cf -SHA256 (lock_file-1.0.tar.gz) = 1bf525dfce21ad10c4f121e4ec5ade36da90c3d97a7336ed91c7f65ebaa576f8 -SIZE (lock_file-1.0.tar.gz) = 2162 +MD5 (lock_file-2.0.tar.gz) = 0cb7ea3f0ff9c67dfc7c2f90b64aabc9 +SHA256 (lock_file-2.0.tar.gz) = c77828fdb26e422f274986982a17d34aa24f485ab7e83c0ca0d7c6160dd89471 +SIZE (lock_file-2.0.tar.gz) = 2658 diff --git a/devel/py-lock_file/pkg-descr b/devel/py-lock_file/pkg-descr index e132b5493e8c..4057b2cbb3cf 100644 --- a/devel/py-lock_file/pkg-descr +++ b/devel/py-lock_file/pkg-descr @@ -1,9 +1,7 @@ -Lock files are used on Unix-like systems as a means of synchronization among -processes. Only one process can hold a lock file. Other processes that want to -acquire it have to wait until it is released by the holder. - -In this module the lock file is implemented as an empty regular file, -exclusively locked using fcntl.flock. The file is removed when it is to be -released. +Lock file is a traditional means of synchronization among processes. In this +module it is implemented as an empty regular file exclusively locked using +fcntl.lockf. When it is to be released it is removed by default. However, if +all cooperating processes turn off the removal, they get a guaranteed order of +acquisitions and better scalability. WWW: http://martin.horcicka.eu/python/lock_file/ |