Received: by mail.netbsd.org (Postfix, from userid 605) id EF68184E9C; Mon, 8 May 2023 20:53:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2BA1384E83 for ; Mon, 8 May 2023 20:53:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id vxLdn4ppnoEF for ; Mon, 8 May 2023 20:53:31 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 186C584CE3 for ; Mon, 8 May 2023 20:53:31 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 15DEAFA87; Mon, 8 May 2023 20:53:31 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1683579211175150" MIME-Version: 1.0 Date: Mon, 8 May 2023 20:53:31 +0000 From: "Mark Davies" Subject: CVS commit: pkgsrc/devel/py-flufl.lock To: pkgsrc-changes@NetBSD.org Reply-To: markd@netbsd.org X-Mailer: log_accum Message-Id: <20230508205331.15DEAFA87@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1683579211175150 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: markd Date: Mon May 8 20:53:31 UTC 2023 Modified Files: pkgsrc/devel/py-flufl.lock: Makefile PLIST distinfo Added Files: pkgsrc/devel/py-flufl.lock/patches: patch-pyproject.toml Log Message: py-flufl.lock: update to version 7.1.1 7.1.1 (2022-09-03) Improvements to the GitLab CI integration. 7.1 (2022-08-27) Add support for Python 3.11. Update to pdm 1.3. Update all dependencies eagerly. 7.0 (2022-01-11) Fix spurious log messages when not breaking the lock. Use modern package management by adopting pdm and pyproject.toml, and dropping setup.py and setup.cfg. Build the docs with Python 3.8. Update to version 3.0 of Sybil. Adopt the Furo documentation theme. Add a favicon and logos to the published documentation. Use importlib.metadata.version() as a better way to get the package version number for the documentation. Drop Python 3.6 support. Update Windows GitLab runner to include Python 3.10. Update copyright years. 6.0 (2021-08-18) Added a default_timeout argument to the Lock constructor, which can be used in the context manager syntax as well. When a Lock uses a lock file that already exists and does not appear to be a lock file (i.e. because its contents are ill-formatted), do a better job of not clobbering that file. Improve some QA by re-adding diff-cover, Gitlab SAST during CI, and testing on Python 3.10 beta (except for Windows) The master branch is renamed to main. 5.1 (2021-05-28) Added a py.typed file to satisfy type checkers. 5.0.5 (2021-02-12) I blue it! 5.0.4 (2021-01-01) Update copyright years. Include test/__init__.py and docs/__init__.py. 5.0.3 (2020-10-22) Rename top-level tests/ directory to test/ 5.0.2 (2020-10-21) Minor housekeeping and cleanups. Add some missing licensing text. Don’t install the tests and docs directories at the top of site-packages Fix the Windows CI tests. Add an index to the documentation. 5.0.1 (2020-08-21) Reorganized docs and tests out of the code directory. Fix Read The Docs presentation. 5.0 (2020-08-20) Breaking change - The following methods have been removed: Lock.transfer_to(), Lock.take_possession(), Lock.disown(). These were crufty, undocumented APIs used in older versions of Mailman and were not sustainable. Added official support for Python 3.9. Improvements to the documentation, including a better API reference and a “theory of operation” page that gives more implementation technical details. Boosted test coverage to 100%. 4.0 (2020-06-30) API: Breaking change - In Lock.refresh() and Lock.unlock() the unconditionally flag is now a keyword-only argument. Breaking change - Removed Lock.__del__() and Lock.finalize(). It’s impossible to make __del__() work properly, and this is obsoleted by context manager protocol support anyway. Since finalize() only existed to help with __del__() and its functionality is identical to .unlock(unconditionally=True), this method is also removed. Added a Lock.expiration property. Added a Lock.lockfile property. Added a Lock.state property and the LockState enum. In all APIs, the lifetime parameter can now also be an integer number of seconds, in addition to the previously allowed datetime.timedelta. The lifetime property always gives you a datetime.timedelta. The API is now properly type annotated. Some library-defined exceptions support exception chaining. Behavior: Getting the repr() of a lock no longer refreshes it Other: Add support for Python 3.7 and 3.8; drop support for Python 3.4 and 3.5. We now run the test suite on both Linux and Windows. The LICENSE file is now included in the sdist tarball. API documentation is now built automatically. Numerous quality improvements and modernizations. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-flufl.lock/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-flufl.lock/PLIST cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-flufl.lock/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/devel/py-flufl.lock/patches/patch-pyproject.toml Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1683579211175150 Content-Disposition: inline Content-Length: 5055 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-flufl.lock/Makefile diff -u pkgsrc/devel/py-flufl.lock/Makefile:1.6 pkgsrc/devel/py-flufl.lock/Makefile:1.7 --- pkgsrc/devel/py-flufl.lock/Makefile:1.6 Tue Jan 4 20:53:06 2022 +++ pkgsrc/devel/py-flufl.lock/Makefile Mon May 8 20:53:30 2023 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2022/01/04 20:53:06 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2023/05/08 20:53:30 markd Exp $ -DISTNAME= flufl.lock-3.2 +DISTNAME= flufl.lock-7.1.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_PYPI:=f/flufl.lock/} @@ -11,7 +10,9 @@ HOMEPAGE= https://launchpad.net/flufl.lo COMMENT= NFS-safe file locking with timeouts for POSIX systems LICENSE= apache-2.0 +TOOL_DEPENDS+= ${PYPKGPREFIX}-pdm_backend-[0-9]*:../../devel/py-pdm_backend + PYTHON_VERSIONS_INCOMPATIBLE= 27 -.include "../../lang/python/egg.mk" +.include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-flufl.lock/PLIST diff -u pkgsrc/devel/py-flufl.lock/PLIST:1.2 pkgsrc/devel/py-flufl.lock/PLIST:1.3 --- pkgsrc/devel/py-flufl.lock/PLIST:1.2 Fri May 18 13:12:20 2018 +++ pkgsrc/devel/py-flufl.lock/PLIST Mon May 8 20:53:30 2023 @@ -1,35 +1,13 @@ -@comment $NetBSD: PLIST,v 1.2 2018/05/18 13:12:20 fhajny Exp $ -${PYSITELIB}/${EGG_NAME}-nspkg.pth -${PYSITELIB}/${EGG_INFODIR}/PKG-INFO -${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt -${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt -${PYSITELIB}/${EGG_INFODIR}/requires.txt -${PYSITELIB}/${EGG_INFODIR}/top_level.txt -${PYSITELIB}/flufl/lock/NEWS.rst -${PYSITELIB}/flufl/lock/README.rst +@comment $NetBSD: PLIST,v 1.3 2023/05/08 20:53:30 markd Exp $ ${PYSITELIB}/flufl/lock/__init__.py -${PYSITELIB}/flufl/lock/__init__.pyo ${PYSITELIB}/flufl/lock/__init__.pyc -${PYSITELIB}/flufl/lock/_lockfile.pyo -${PYSITELIB}/flufl/lock/_lockfile.pyc -${PYSITELIB}/flufl/lock/conf.pyo -${PYSITELIB}/flufl/lock/conf.pyc ${PYSITELIB}/flufl/lock/_lockfile.py -${PYSITELIB}/flufl/lock/conf.py -${PYSITELIB}/flufl/lock/docs/__init__.py -${PYSITELIB}/flufl/lock/docs/__init__.pyo -${PYSITELIB}/flufl/lock/docs/__init__.pyc -${PYSITELIB}/flufl/lock/docs/using.rst -${PYSITELIB}/flufl/lock/testing/__init__.py -${PYSITELIB}/flufl/lock/testing/__init__.pyo -${PYSITELIB}/flufl/lock/testing/__init__.pyc -${PYSITELIB}/flufl/lock/testing/helpers.pyo -${PYSITELIB}/flufl/lock/testing/helpers.pyc -${PYSITELIB}/flufl/lock/testing/helpers.py -${PYSITELIB}/flufl/lock/tests/__init__.py -${PYSITELIB}/flufl/lock/tests/__init__.pyo -${PYSITELIB}/flufl/lock/tests/__init__.pyc -${PYSITELIB}/flufl/lock/tests/test_lockfile.pyo -${PYSITELIB}/flufl/lock/tests/test_lockfile.pyc -${PYSITELIB}/flufl/lock/tests/test_lockfile.py +${PYSITELIB}/flufl/lock/_lockfile.pyc +${PYSITELIB}/flufl/lock/py.typed +${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/INSTALLER +${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/METADATA +${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/RECORD +${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/REQUESTED +${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/WHEEL +${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/direct_url.json +${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/licenses/LICENSE Index: pkgsrc/devel/py-flufl.lock/distinfo diff -u pkgsrc/devel/py-flufl.lock/distinfo:1.4 pkgsrc/devel/py-flufl.lock/distinfo:1.5 --- pkgsrc/devel/py-flufl.lock/distinfo:1.4 Tue Oct 26 10:18:28 2021 +++ pkgsrc/devel/py-flufl.lock/distinfo Mon May 8 20:53:30 2023 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2021/10/26 10:18:28 nia Exp $ +$NetBSD: distinfo,v 1.5 2023/05/08 20:53:30 markd Exp $ -BLAKE2s (flufl.lock-3.2.tar.gz) = 417e8169c79e90150d311557228667fa1ea2460855c9acd9c72b02a3f42d7e76 -SHA512 (flufl.lock-3.2.tar.gz) = 496195e1c52f628bc6c0e8fc3dcd5373ed01cfee35b6165cae37ab4b90d70265c6a0aea565f1e0663277c2b9e9bafde8af1420133a15e6254275fad2f28a56d0 -Size (flufl.lock-3.2.tar.gz) = 19250 bytes +BLAKE2s (flufl.lock-7.1.1.tar.gz) = 78869e065ff09454c4a7c14044bcbf20ecd90894c740f4c172a264cbb35f1f48 +SHA512 (flufl.lock-7.1.1.tar.gz) = eb9d8a80013ca07cc3eaab30ced596c0362cfc59d5a1f7cf17aacbf4068d9989b443df7e2d5f5e09d6f60e0ebc784ab1897ca7379fde7eeb57246cb6b5dfef3f +Size (flufl.lock-7.1.1.tar.gz) = 33017 bytes +SHA1 (patch-pyproject.toml) = bc36001e88a6cc2c97bf690add244acf8b61fe09 Added files: Index: pkgsrc/devel/py-flufl.lock/patches/patch-pyproject.toml diff -u /dev/null pkgsrc/devel/py-flufl.lock/patches/patch-pyproject.toml:1.1 --- /dev/null Mon May 8 20:53:31 2023 +++ pkgsrc/devel/py-flufl.lock/patches/patch-pyproject.toml Mon May 8 20:53:30 2023 @@ -0,0 +1,15 @@ +$NetBSD: patch-pyproject.toml,v 1.1 2023/05/08 20:53:30 markd Exp $ + +Convert to pdm-pep517 replacement, pdm-backend. + +--- pyproject.toml.orig 2022-09-05 00:25:49.267757700 +0000 ++++ pyproject.toml +@@ -146,6 +146,6 @@ ignore_missing_imports = true + + [build-system] + requires = [ +- "pdm-pep517", ++ "pdm-backend", + ] +-build-backend = "pdm.pep517.api" ++build-backend = "pdm.backend" --_----------=_1683579211175150--