Index: head/sysutils/Makefile =================================================================== --- head/sysutils/Makefile +++ head/sysutils/Makefile @@ -888,6 +888,7 @@ SUBDIR += py-execnet SUBDIR += py-ezjailremote SUBDIR += py-filelike + SUBDIR += py-filelock SUBDIR += py-freenas.cli SUBDIR += py-glances SUBDIR += py-gmailfs-fuse Index: head/sysutils/py-filelock/Makefile =================================================================== --- head/sysutils/py-filelock/Makefile +++ head/sysutils/py-filelock/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= filelock +PORTVERSION= 2.0.12 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Platform independent file lock + +LICENSE= PD +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +USES= python +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +.include Index: head/sysutils/py-filelock/distinfo =================================================================== --- head/sysutils/py-filelock/distinfo +++ head/sysutils/py-filelock/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1509595652 +SHA256 (filelock-2.0.12.tar.gz) = eb4314a9a032707a914b037433ce866d4ed363fce8605d45f0c9d2cd6ac52f98 +SIZE (filelock-2.0.12.tar.gz) = 5576 Index: head/sysutils/py-filelock/pkg-descr =================================================================== --- head/sysutils/py-filelock/pkg-descr +++ head/sysutils/py-filelock/pkg-descr @@ -0,0 +1,6 @@ +This package contains a single module, which implements a platform +independent file lock in Python. +The lock includes a lock counter and is thread safe. This means, +when locking the same lock object twice, it will not block. + +WWW: https://pypi.python.org/pypi/filelock