head 1.7; access; symbols pkgsrc-2023Q4:1.6.0.2 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.5.0.10 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.8 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.6 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.4 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.2 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.4.0.22 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.20 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.18 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.16 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.14 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.12 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.10 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.8 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.6 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.4 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.3.0.20 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.18 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.16 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.14 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.12 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.10 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.8 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.6 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.4 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.2.0.28 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.26 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.24 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.22 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.20 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.18 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.16 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.14 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.12 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.10 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.8 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.6 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.4 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.2 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.1.0.12 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.10 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.8 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.6 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.4 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.2 pkgsrc-2012Q3-base:1.1; locks; strict; comment @# @; 1.7 date 2024.01.12.14.26.59; author adam; state Exp; branches; next 1.6; commitid ZaAENGn20dpitaUE; 1.6 date 2023.10.28.19.56.58; author wiz; state Exp; branches; next 1.5; commitid jP8MYROLWZ3yJqKE; 1.5 date 2022.09.11.16.01.23; author wiz; state Exp; branches; next 1.4; commitid UCARRcIIym4oGsTD; 1.4 date 2019.12.05.14.51.01; author adam; state Exp; branches; next 1.3; commitid 99RnPFK4g1uVMwNB; 1.3 date 2017.07.30.05.53.52; author adam; state Exp; branches; next 1.2; commitid fuoOnB2hvc7Iod1A; 1.2 date 2014.01.19.09.09.13; author wiz; state Exp; branches; next 1.1; commitid SbP3YEIusmVASHlx; 1.1 date 2012.08.14.12.29.50; author imil; state Exp; branches; next ; desc @@ 1.7 log @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. @ text @@@comment $NetBSD: PLIST,v 1.6 2023/10/28 19:56:58 wiz 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 ${PYSITELIB}/daemon/_metadata.py ${PYSITELIB}/daemon/_metadata.pyc ${PYSITELIB}/daemon/_metadata.pyo ${PYSITELIB}/daemon/daemon.py ${PYSITELIB}/daemon/daemon.pyc ${PYSITELIB}/daemon/daemon.pyo ${PYSITELIB}/daemon/pidfile.py ${PYSITELIB}/daemon/pidfile.pyc ${PYSITELIB}/daemon/pidfile.pyo @ 1.6 log @python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs. @ text @d1 7 a7 1 @@comment $NetBSD$ a19 9 ${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 @ 1.5 log @py-daemon: Convert to wheel.mk to fix build. Bump PKGREVISION. @ text @d4 1 d7 1 d10 1 d13 1 d16 1 a16 1 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER a20 1 ${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED a21 1 ${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json @ 1.4 log @py-daemon: updated to 2.2.4 Version 2.2.4 Bugs Fixed: * Run the Setuptools `egg-info` command as part of the `build` command. * Create the socket and catch “non-socket” errors. * Only deal with a range of file descriptors if the range is not empty. * Declare Twine as a build dependency. * Reformat the change log entries with keepachangelog.com sub-sections. Changed: * Upgrade Tox dependency to version “3.7.0”. * Significant speed-up to discovery of file descriptors to close. * Refactor the build system to use Makefile modules for each topic. @ text @d1 1 a1 7 @@comment $NetBSD: PLIST,v 1.3 2017/07/30 05:53:52 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe ${PYSITELIB}/${EGG_INFODIR}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt a3 1 ${PYSITELIB}/daemon/__init__.pyo a5 1 ${PYSITELIB}/daemon/_metadata.pyo a7 1 ${PYSITELIB}/daemon/daemon.pyo a9 1 ${PYSITELIB}/daemon/pidfile.pyo d12 9 a20 1 ${PYSITELIB}/daemon/runner.pyo @ 1.3 log @Version 2.1.2 Additions: * Add a README document for the code base. Changes: * Migrate code project hosting to Pagure. Record the change of homepage URL in PyPI metadata. * Raise a warning that the ‘runner’ module is pending deprecation. This has been an unofficial example module from the beginning, and it will be removed in a future version. Bug Fixes: * Ensure custom types are part of the Python type hierarchy. * Avoid a circular dependency for the version string at install time. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.2 2014/01/19 09:09:13 wiz Exp $ a7 1 ${PYSITELIB}/${EGG_INFODIR}/version_info.json @ 1.2 log @Update to 1.6: Version 1.6 released. * Use absolute imports to disambiguate provenance of names. * setup.py: Require ‘lockfile >=0.9’. * daemon/pidfile.py: Renamed from ‘daemon/pidlockfile.py’. Change references elsewhere to use this new name. * test/test_pidfile.py: Renamed from ‘test/test_pidlockfile.py’. Change references elsewhere to use this new name. * daemon/pidfile.py: Remove functionality now migrated to ‘lockfile’ library. @ text @d1 8 a8 1 @@comment $NetBSD$ d12 3 a23 12 ${PYSITELIB}/daemon/version/__init__.py ${PYSITELIB}/daemon/version/__init__.pyc ${PYSITELIB}/daemon/version/__init__.pyo ${PYSITELIB}/daemon/version/version_info.py ${PYSITELIB}/daemon/version/version_info.pyc ${PYSITELIB}/daemon/version/version_info.pyo ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe ${PYSITELIB}/${EGG_INFODIR}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt @ 1.1 log @Initial import of py-daemon, version 1.5.5, into the NetBSD Packages Collection. A well-behaved Unix daemon process is tricky to get right, but the required steps are much the same for every daemon program. A DaemonContext instance holds the behaviour and configured process environment for the program; use the instance as a context manager to enter a daemon state. @ text @d8 3 a10 3 ${PYSITELIB}/daemon/pidlockfile.py ${PYSITELIB}/daemon/pidlockfile.pyc ${PYSITELIB}/daemon/pidlockfile.pyo @