svn commit: r488126 - in head/devel: . py-portalocker
Danilo G. Baio
dbaio at FreeBSD.org
Sat Dec 22 20:36:04 UTC 2018
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 at 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/
More information about the svn-ports-all
mailing list