From owner-svn-ports-all@freebsd.org Sat Dec 22 20:36:03 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD6C7133AB71; Sat, 22 Dec 2018 20:36:03 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6481D702D1; Sat, 22 Dec 2018 20:36:03 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4F8EE230C; Sat, 22 Dec 2018 20:36:03 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBMKa3iX077855; Sat, 22 Dec 2018 20:36:03 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBMKa2Zg077851; Sat, 22 Dec 2018 20:36:02 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <201812222036.wBMKa2Zg077851@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Sat, 22 Dec 2018 20:36:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488126 - in head/devel: . py-portalocker X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/devel: . py-portalocker X-SVN-Commit-Revision: 488126 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6481D702D1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2018 20:36:04 -0000 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 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/