Received: by mail.netbsd.org (Postfix, from userid 605) id 4237F85197; Fri, 12 Jan 2024 14:27:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6F64B84EE1 for ; Fri, 12 Jan 2024 14:27:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 7_7hMc5cdC0b for ; Fri, 12 Jan 2024 14:26:59 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8C9EA84ED8 for ; Fri, 12 Jan 2024 14:26:59 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7C2F7FA42; Fri, 12 Jan 2024 14:26:59 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_170506961962770" MIME-Version: 1.0 Date: Fri, 12 Jan 2024 14:26:59 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-daemon To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20240112142659.7C2F7FA42@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_170506961962770 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Fri Jan 12 14:26:59 UTC 2024 Modified Files: pkgsrc/devel/py-daemon: Makefile PLIST distinfo Log Message: py-daemon: updated to 3.0.1 Version 3.0.1 ============= :Released: 2023-03-08 :Maintainer: Ben Finney Bugs Fixed: * Declare dependency on Setuptools >= 62.4.0. This is necessary for establishing the version information via Setuptools. We use ‘setuptools.command.build’, `introduced in Setuptools version 62.4.0 Added: * PyPA recommended Project URLs for the distribution. Version 3.0.0 ============= :Released: 2023-03-04 :Maintainer: Ben Finney Bugs Fixed: * Refactor calculation of file descriptor ranges to close. When the range of candidate file descriptors is very large, the code that computes file descriptors to close when the daemon starts attempted to allocate a large amount of memory and took a long time to compute. Thanks to Alex Pyrgiotis for the timing test case. This change avoids that resource-intensive computation, and significantly improves the performance when importing the module and when starting the daemon. Thanks to Igor Kholopov for the implementation. Added: * Document a `ServiceRunner` class as an example of using `DaemonContext`. Changed: * Raise a TypeError if any `exclude` values are not valid file descriptors. Formerly, an invalid value might be silently ignored. Thanks to Igor Kholopov for the suggestion. * Migrate package version handling to use Setuptools API. The Distutils library is deprecated for direct use; see Removed: * Remove redundant ‘wheel’ from the requirements specification. As described by the Python Packaging Authority: This [‘wheel’] dependency is exposed automatically by setuptools and the users do not need to declare it explicitly — it will be installed by PEP 517 front-ends automatically, when building wheels. Thanks to Michał Górny for the implementation. * Remove Setuptools ‘test’ command support. The ‘test’ command is formally deprecated, in favour of dedicated test runners. * Remove Setuptools ‘register’ and ‘upload’ command support. The commands to publish a distribution to PyPI are removed, in favour of the Twine tool. * Remove the obsolete `runner` module. This module was deprecated starting in `python-daemon` version 2.1.2, and is now removed as unmaintained. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-daemon/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-daemon/PLIST cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-daemon/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_170506961962770 Content-Disposition: inline Content-Length: 3450 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-daemon/Makefile diff -u pkgsrc/devel/py-daemon/Makefile:1.28 pkgsrc/devel/py-daemon/Makefile:1.29 --- pkgsrc/devel/py-daemon/Makefile:1.28 Tue Nov 7 22:37:59 2023 +++ pkgsrc/devel/py-daemon/Makefile Fri Jan 12 14:26:59 2024 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.28 2023/11/07 22:37:59 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2024/01/12 14:26:59 adam Exp $ -DISTNAME= python-daemon-2.3.2 +DISTNAME= python-daemon-3.0.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} -PKGREVISION= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-daemon/} @@ -14,7 +13,7 @@ LICENSE= gnu-gpl-v2 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils DEPENDS+= ${PYPKGPREFIX}-lockfile>=0.10:../../devel/py-lockfile -DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools +DEPENDS+= ${PYPKGPREFIX}-setuptools>=62.4.0:../../devel/py-setuptools TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios>=0.4:../../devel/py-testscenarios TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools Index: pkgsrc/devel/py-daemon/PLIST diff -u pkgsrc/devel/py-daemon/PLIST:1.6 pkgsrc/devel/py-daemon/PLIST:1.7 --- pkgsrc/devel/py-daemon/PLIST:1.6 Sat Oct 28 19:56:58 2023 +++ pkgsrc/devel/py-daemon/PLIST Fri Jan 12 14:26:59 2024 @@ -1,4 +1,10 @@ -@comment $NetBSD: PLIST,v 1.6 2023/10/28 19:56:58 wiz Exp $ +@comment $NetBSD: PLIST,v 1.7 2024/01/12 14:26:59 adam Exp $ +${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.ASF-2 +${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.GPL-3 +${PYSITELIB}/${WHEEL_INFODIR}/METADATA +${PYSITELIB}/${WHEEL_INFODIR}/RECORD +${PYSITELIB}/${WHEEL_INFODIR}/WHEEL +${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt ${PYSITELIB}/daemon/__init__.py ${PYSITELIB}/daemon/__init__.pyc ${PYSITELIB}/daemon/__init__.pyo @@ -11,12 +17,3 @@ ${PYSITELIB}/daemon/daemon.pyo ${PYSITELIB}/daemon/pidfile.py ${PYSITELIB}/daemon/pidfile.pyc ${PYSITELIB}/daemon/pidfile.pyo -${PYSITELIB}/daemon/runner.py -${PYSITELIB}/daemon/runner.pyc -${PYSITELIB}/daemon/runner.pyo -${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.ASF-2 -${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.GPL-3 -${PYSITELIB}/${WHEEL_INFODIR}/METADATA -${PYSITELIB}/${WHEEL_INFODIR}/RECORD -${PYSITELIB}/${WHEEL_INFODIR}/WHEEL -${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt Index: pkgsrc/devel/py-daemon/distinfo diff -u pkgsrc/devel/py-daemon/distinfo:1.12 pkgsrc/devel/py-daemon/distinfo:1.13 --- pkgsrc/devel/py-daemon/distinfo:1.12 Sun Oct 23 10:44:26 2022 +++ pkgsrc/devel/py-daemon/distinfo Fri Jan 12 14:26:59 2024 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.12 2022/10/23 10:44:26 adam Exp $ +$NetBSD: distinfo,v 1.13 2024/01/12 14:26:59 adam Exp $ -BLAKE2s (python-daemon-2.3.2.tar.gz) = 78be73ea8e04e7542ff18714ec1573badf63ced542f71720b078448d797c87e3 -SHA512 (python-daemon-2.3.2.tar.gz) = d9f6e6c376a496fae96bd9efed0a56d00a137617a3d1d5ef74802ef176bc813bb1d49bbb9164cdbec03213529f944b32b257bcc64283abfa4a3522ff00826bfd -Size (python-daemon-2.3.2.tar.gz) = 83127 bytes +BLAKE2s (python-daemon-3.0.1.tar.gz) = d08e0c78df38e095c3560de18d46aad436df9a647cf8933b09d551e2eb3d5687 +SHA512 (python-daemon-3.0.1.tar.gz) = ea35ec3e930e533ef08a492aa36492a958c9258857cdc75ab2ddb6688a7d8990282cfa0f63ee5cb6b7036b9cb71be03631d5d0d58788a08052425a441bce4e9a +Size (python-daemon-3.0.1.tar.gz) = 81337 bytes --_----------=_170506961962770--