py-daemon: updated to 3.0.1 Version 3.0.1 ============= :Released: 2023-03-08 :Maintainer: Ben Finney <ben+python@benfinney.id.au> 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 <ben+python@benfinney.id.au> 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.diff -r1.28 -r1.29 pkgsrc/devel/py-daemon/Makefile
(adam)
@@ -1,27 +1,26 @@ | @@ -1,27 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.28 2023/11/07 22:37:59 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.29 2024/01/12 14:26:59 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= python-daemon-2.3.2 | 3 | DISTNAME= python-daemon-3.0.1 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-daemon/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-daemon/} | |
8 | 7 | |||
9 | MAINTAINER= kamel.derouiche@gmail.com | 8 | MAINTAINER= kamel.derouiche@gmail.com | |
10 | HOMEPAGE= https://pagure.io/python-daemon/ | 9 | HOMEPAGE= https://pagure.io/python-daemon/ | |
11 | COMMENT= Library to implement a well-behaved Unix daemon process | 10 | COMMENT= Library to implement a well-behaved Unix daemon process | |
12 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
13 | 12 | |||
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | |
15 | DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils | 14 | DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils | |
16 | DEPENDS+= ${PYPKGPREFIX}-lockfile>=0.10:../../devel/py-lockfile | 15 | DEPENDS+= ${PYPKGPREFIX}-lockfile>=0.10:../../devel/py-lockfile | |
17 | DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | 16 | DEPENDS+= ${PYPKGPREFIX}-setuptools>=62.4.0:../../devel/py-setuptools | |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage | |
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios>=0.4:../../devel/py-testscenarios | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios>=0.4:../../devel/py-testscenarios | |
20 | TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools | 19 | TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools | |
21 | 20 | |||
22 | USE_LANGUAGES= # none | 21 | USE_LANGUAGES= # none | |
23 | 22 | |||
24 | PYTHON_VERSIONS_INCOMPATIBLE= 27 38 | 23 | PYTHON_VERSIONS_INCOMPATIBLE= 27 38 | |
25 | 24 | |||
26 | .include "../../lang/python/wheel.mk" | 25 | .include "../../lang/python/wheel.mk" | |
27 | .include "../../mk/bsd.pkg.mk" | 26 | .include "../../mk/bsd.pkg.mk" |
@@ -1,22 +1,19 @@ | @@ -1,22 +1,19 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2023/10/28 19:56:58 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2024/01/12 14:26:59 adam Exp $ | |
2 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.ASF-2 | |||
3 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.GPL-3 | |||
4 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |||
5 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |||
6 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |||
7 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt | |||
2 | ${PYSITELIB}/daemon/__init__.py | 8 | ${PYSITELIB}/daemon/__init__.py | |
3 | ${PYSITELIB}/daemon/__init__.pyc | 9 | ${PYSITELIB}/daemon/__init__.pyc | |
4 | ${PYSITELIB}/daemon/__init__.pyo | 10 | ${PYSITELIB}/daemon/__init__.pyo | |
5 | ${PYSITELIB}/daemon/_metadata.py | 11 | ${PYSITELIB}/daemon/_metadata.py | |
6 | ${PYSITELIB}/daemon/_metadata.pyc | 12 | ${PYSITELIB}/daemon/_metadata.pyc | |
7 | ${PYSITELIB}/daemon/_metadata.pyo | 13 | ${PYSITELIB}/daemon/_metadata.pyo | |
8 | ${PYSITELIB}/daemon/daemon.py | 14 | ${PYSITELIB}/daemon/daemon.py | |
9 | ${PYSITELIB}/daemon/daemon.pyc | 15 | ${PYSITELIB}/daemon/daemon.pyc | |
10 | ${PYSITELIB}/daemon/daemon.pyo | 16 | ${PYSITELIB}/daemon/daemon.pyo | |
11 | ${PYSITELIB}/daemon/pidfile.py | 17 | ${PYSITELIB}/daemon/pidfile.py | |
12 | ${PYSITELIB}/daemon/pidfile.pyc | 18 | ${PYSITELIB}/daemon/pidfile.pyc | |
13 | ${PYSITELIB}/daemon/pidfile.pyo | 19 | ${PYSITELIB}/daemon/pidfile.pyo | |
14 | ${PYSITELIB}/daemon/runner.py | |||
15 | ${PYSITELIB}/daemon/runner.pyc | |||
16 | ${PYSITELIB}/daemon/runner.pyo | |||
17 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.ASF-2 | |||
18 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.GPL-3 | |||
19 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |||
20 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |||
21 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |||
22 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.12 2022/10/23 10:44:26 adam Exp $ | 1 | $NetBSD: distinfo,v 1.13 2024/01/12 14:26:59 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (python-daemon-2.3.2.tar.gz) = 78be73ea8e04e7542ff18714ec1573badf63ced542f71720b078448d797c87e3 | 3 | BLAKE2s (python-daemon-3.0.1.tar.gz) = d08e0c78df38e095c3560de18d46aad436df9a647cf8933b09d551e2eb3d5687 | |
4 | SHA512 (python-daemon-2.3.2.tar.gz) = d9f6e6c376a496fae96bd9efed0a56d00a137617a3d1d5ef74802ef176bc813bb1d49bbb9164cdbec03213529f944b32b257bcc64283abfa4a3522ff00826bfd | 4 | SHA512 (python-daemon-3.0.1.tar.gz) = ea35ec3e930e533ef08a492aa36492a958c9258857cdc75ab2ddb6688a7d8990282cfa0f63ee5cb6b7036b9cb71be03631d5d0d58788a08052425a441bce4e9a | |
5 | Size (python-daemon-2.3.2.tar.gz) = 83127 bytes | 5 | Size (python-daemon-3.0.1.tar.gz) = 81337 bytes |