Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2018 20:36:02 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488126 - in head/devel: . py-portalocker
Message-ID:  <201812222036.wBMKa2Zg077851@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Sat Dec 22 20:36:02 2018
New Revision: 488126
URL: https://svnweb.freebsd.org/changeset/ports/488126

Log:
  Add devel/py-portalocker: Python library that provides an easy API to file locking
  
  An important detail to note is that on Linux and Unix systems the locks are
  advisory by default. By specifying the -o mand option to the mount command it
  is possible to enable mandatory file locking on Linux. This is generally not
  recommended however. For more information about the subject:
    https://en.wikipedia.org/wiki/File_locking
    http://stackoverflow.com/questions/39292051/portalocker-does-not-seem-to-lock
    https://stackoverflow.com/questions/12062466/mandatory-file-lock-on-linux
  
  WWW: https://pypi.org/project/portalocker/

Added:
  head/devel/py-portalocker/
  head/devel/py-portalocker/Makefile   (contents, props changed)
  head/devel/py-portalocker/distinfo   (contents, props changed)
  head/devel/py-portalocker/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Dec 22 20:06:52 2018	(r488125)
+++ head/devel/Makefile	Sat Dec 22 20:36:02 2018	(r488126)
@@ -4890,6 +4890,7 @@
     SUBDIR += py-podcastparser
     SUBDIR += py-polib
     SUBDIR += py-pooch
+    SUBDIR += py-portalocker
     SUBDIR += py-positional
     SUBDIR += py-posix_ipc
     SUBDIR += py-poyo

Added: head/devel/py-portalocker/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-portalocker/Makefile	Sat Dec 22 20:36:02 2018	(r488126)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME=	portalocker
+PORTVERSION=	1.3.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dbaio@FreeBSD.org
+COMMENT=	Python library that provides an easy API to file locking
+
+LICENSE=	PSFL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-portalocker/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-portalocker/distinfo	Sat Dec 22 20:36:02 2018	(r488126)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1545509301
+SHA256 (portalocker-1.3.0.tar.gz) = b5ba72ace4f50093e3841c65a24f65d4f1bddd8d47cf439e56ab30b1aebd62a0
+SIZE (portalocker-1.3.0.tar.gz) = 11188

Added: head/devel/py-portalocker/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-portalocker/pkg-descr	Sat Dec 22 20:36:02 2018	(r488126)
@@ -0,0 +1,11 @@
+Portalocker is a library to provide an easy API to file locking.
+
+An important detail to note is that on Linux and Unix systems the locks are
+advisory by default. By specifying the -o mand option to the mount command it
+is possible to enable mandatory file locking on Linux. This is generally not
+recommended however. For more information about the subject:
+  https://en.wikipedia.org/wiki/File_locking
+  http://stackoverflow.com/questions/39292051/portalocker-does-not-seem-to-lock
+  https://stackoverflow.com/questions/12062466/mandatory-file-lock-on-linux
+
+WWW: https://pypi.org/project/portalocker/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812222036.wBMKa2Zg077851>