1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

devel/py-zc.lockfile: Add py-zc.lockfile 3.0.post1

The zc.lockfile package provides a basic portable implementation of interprocess
locks using lock files. The purpose if not specifically to lock files, but to
simply provide locks with an implementation based on file-locking primitives. Of
course, these locks could be used to mediate access to other files. For example,
the ZODB file storage implementation uses file locks to mediate access to
file-storage database files. The database files and lock file files are separate
files.
This commit is contained in:
Po-Chuan Hsieh 2023-10-01 07:26:31 +08:00
parent 5871047a18
commit f0c874797f
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 40 additions and 0 deletions

View File

@ -5857,6 +5857,7 @@
SUBDIR += py-ypy-websocket
SUBDIR += py-yunomi
SUBDIR += py-zarr
SUBDIR += py-zc.lockfile
SUBDIR += py-zclockfile
SUBDIR += py-zconfig
SUBDIR += py-zfp

View File

@ -0,0 +1,19 @@
PORTNAME= zc.lockfile
PORTVERSION= 3.0.post1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Basic inter-process locks
WWW= https://github.com/zopefoundation/zc.lockfile
LICENSE= ZPL21
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1696048420
SHA256 (zc.lockfile-3.0.post1.tar.gz) = adb2ee6d9e6a2333c91178dcb2c9b96a5744c78edb7712dc784a7d75648e81ec
SIZE (zc.lockfile-3.0.post1.tar.gz) = 10190

View File

@ -0,0 +1,10 @@
--- setup.py.orig 2023-02-28 07:30:06 UTC
+++ setup.py
@@ -50,7 +50,6 @@ setup(
package_dir={'': 'src'},
namespace_packages=['zc'],
python_requires='>=3.7',
- install_requires='setuptools',
extras_require=dict(
test=[
'zope.testing',

View File

@ -0,0 +1,7 @@
The zc.lockfile package provides a basic portable implementation of interprocess
locks using lock files. The purpose if not specifically to lock files, but to
simply provide locks with an implementation based on file-locking primitives. Of
course, these locks could be used to mediate access to other files. For example,
the ZODB file storage implementation uses file locks to mediate access to
file-storage database files. The database files and lock file files are separate
files.