Created attachment 194864 [details] py-yg.lockfile.patch Hello, attached is the patch that adds the Python package devel/py-yg.lockfile, that provides a FileLock class that implements a context manager with timeouts on top of zc.lockfile, an excellent, cross-platorm implementation of file locking. QA: ~~~ - poudriere (11.2-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK - portlint -> OK Note: Before this port can be added the following Python package must be upgraded first: devel/py-jaraco.functools (see also PR #229476: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229476)
A commit references this bug: Author: miwi Date: Sat Jul 28 12:16:31 UTC 2018 New revision: 475542 URL: https://svnweb.freebsd.org/changeset/ports/475542 Log: Python library to parse and apply unified diffs. Features: - Automatic correction of * Linefeeds according to patched file * Diffs broken by stripping trailing whitespace * a/ and b/ prefixes - Single file, which is a command line tool and a library - No dependencies outside Python stdlib - Patch format detection (SVN, HG, GIT) - Nice diffstat histogram Things that don't work out of the box: - File renaming, creation and removal - Directory tree operations - Version control specific properties - Non-unified diff formats WWW: https://github.com/techtonik/python-patch PR: 229500 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Changes: head/devel/Makefile head/devel/py-patch/ head/devel/py-patch/Makefile head/devel/py-patch/distinfo head/devel/py-patch/pkg-descr
A commit references this bug: Author: miwi Date: Sat Jul 28 12:20:30 UTC 2018 New revision: 475543 URL: https://svnweb.freebsd.org/changeset/ports/475543 Log: This package provides a FileLock class that implements a context manager with timeouts on top of zc.lockfile, an excellent, cross-platorm implementation of file locking. WWW: https://github.com/yougov/yg.lockfile PR: 229500 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Changes: head/devel/Makefile head/devel/py-yg.lockfile/ head/devel/py-yg.lockfile/Makefile head/devel/py-yg.lockfile/distinfo head/devel/py-yg.lockfile/pkg-descr