From nobody Sat Sep 30 23:33:38 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ryk770rY1z4vyQs; Sat, 30 Sep 2023 23:33:39 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ryk770K7Fz4CYH; Sat, 30 Sep 2023 23:33:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696116819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ghfbPbutMniT/LWdCfdZz8xUNKsqqMtuEpqLvHDbv5U=; b=WrwksPY5iEHoY52srHTPHd715IViHyPCCBdFhWTjXgj2sAW4k9+uWM0LjCi5hDDfsKeA0d jQKHZs2g1i8+q/n5zNgYeulLhAqjc5BT1DPVLdtSn4pKMx9Jm7qSFHyHV5CW6uUZPNsLw8 jLdXiiIAL+MzPLPxejhpOmyZM132MGLhuJm8QdkSO9e8zXyrP+4MRCyyjWPmqkPOCv/TIa sG3oajjT7oNR7a6pEtqPz8H8qqXsd8mUaTcKRKpoAcQnpOW3SeynvqVBZjL0NHeLamWuPB LArCgT8UD354HK92TQTXLn6NLvhciGq+rXx0tdf86u4DNkdBXz0sn+3Hq5b0aw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696116819; a=rsa-sha256; cv=none; b=AAdFZf1OD4i+JvO3hqSTV2t3I0GlygIidoOZ7YQi91x0GXhs8yWPIeEPkcOgl07ctvefpk IedU+oEe+QrfWqH/dsyOZKALm2UQby7ELGcnVk1unbrhcYEqbPx1HLOJYmabMbNgEvjbRt vp3XjqoFB4gX0ilXjKPFDdxyZZemPjID3p8BCZpeahVzo25VEc4cWCZQ2faNfojGvZpX7E XMRIpYAz+nRPl0RSAH/g78Dq6gJcSwj2kV2bvDiwtIAkZhrXcH53hZAE+wfIwpFgCbpDXt RgMPt6KTfoQGmUbhJ1nJMqpyJ83IkkFL0AKge04jM+DE1QyE9fsne02Zzivrbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696116819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ghfbPbutMniT/LWdCfdZz8xUNKsqqMtuEpqLvHDbv5U=; b=qM0K6E/X/yLUyXLHCF2e8WDKTKoXj51hwN/gE2cdaVb4GPUftvgW53m8hia5NUZEgtKQW6 SngpSCPuh4yhjcHngH9UkosPaFfyhu28FgCSRwxpGd9LVhErydMun2kxkn+iSrMMYssEWY HKh3CjjVspasFvyBZyNVkNwtolUEp8Z30NlyEz86FDZYQouoU77Lz+5IgBZdqhhovcKI8d iI+S2GlChVK2kMT2IuInLoMVlwZ75rdI0UgEXFkUZVgqBEe0eTRnPf/f8fqphpAs4L/cwV eyH1UeDTN/pX4BORUqbZzvpkvoYJm0Xz6z8t+ejifUEzoeTKo7JSyBXZd8tgeg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ryk766TRnz15pl; Sat, 30 Sep 2023 23:33:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38UNXcgK008488; Sat, 30 Sep 2023 23:33:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38UNXcPW008485; Sat, 30 Sep 2023 23:33:38 GMT (envelope-from git) Date: Sat, 30 Sep 2023 23:33:38 GMT Message-Id: <202309302333.38UNXcPW008485@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f0c874797fd2 - main - devel/py-zc.lockfile: Add py-zc.lockfile 3.0.post1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f0c874797fd2e873d64cd531d7f3723d20e0fd6b Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f0c874797fd2e873d64cd531d7f3723d20e0fd6b commit f0c874797fd2e873d64cd531d7f3723d20e0fd6b Author: Po-Chuan Hsieh AuthorDate: 2023-09-30 23:26:31 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-30 23:26:31 +0000 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. --- devel/Makefile | 1 + devel/py-zc.lockfile/Makefile | 19 +++++++++++++++++++ devel/py-zc.lockfile/distinfo | 3 +++ devel/py-zc.lockfile/files/patch-setup.py | 10 ++++++++++ devel/py-zc.lockfile/pkg-descr | 7 +++++++ 5 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d27aa49d2d78..8260ffb245b0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/py-zc.lockfile/Makefile b/devel/py-zc.lockfile/Makefile new file mode 100644 index 000000000000..8c4950f52d6b --- /dev/null +++ b/devel/py-zc.lockfile/Makefile @@ -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 diff --git a/devel/py-zc.lockfile/distinfo b/devel/py-zc.lockfile/distinfo new file mode 100644 index 000000000000..6e8f9b6f78df --- /dev/null +++ b/devel/py-zc.lockfile/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696048420 +SHA256 (zc.lockfile-3.0.post1.tar.gz) = adb2ee6d9e6a2333c91178dcb2c9b96a5744c78edb7712dc784a7d75648e81ec +SIZE (zc.lockfile-3.0.post1.tar.gz) = 10190 diff --git a/devel/py-zc.lockfile/files/patch-setup.py b/devel/py-zc.lockfile/files/patch-setup.py new file mode 100644 index 000000000000..10dd9911b7e3 --- /dev/null +++ b/devel/py-zc.lockfile/files/patch-setup.py @@ -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', diff --git a/devel/py-zc.lockfile/pkg-descr b/devel/py-zc.lockfile/pkg-descr new file mode 100644 index 000000000000..d15ebce3fdde --- /dev/null +++ b/devel/py-zc.lockfile/pkg-descr @@ -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.