Port details on branch 2022Q2 |
- py-daemon-runner Simple command line runner on top of python-daemon
- 0.0.15 devel =0 0.0.15Version of this port present on the latest quarterly branch.
- Maintainer: dvl@FreeBSD.org
- Port Added: 2017-11-29 21:00:32
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: not specified in port
- WWW:
- https://pypi.org/project/daemon-runner/
- Description:
- Simple command line runner on top of python-daemon, a library which implements
the well-behaved daemon specification of PEP 3143, ???Standard daemon process
library.
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.
Simple example of usage:
import daemon
from spam import do_main_program
with daemon.DaemonContext():
do_main_program()
Customisation of the steps to become a daemon is available by setting options
on the DaemonContext instance; see the documentation for that class for each
option.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}daemon-runner>0:devel/py-daemon-runner@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-daemon-runner/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-daemon-runner
- pkg install py39-daemon-runner
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-daemon-runner listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-daemon-runner
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1511988782
SHA256 (daemon-runner-0.0.15.tar.gz) = 6b74e6da04598fc8f13c26452f3d5827625c6befe8110e4c07e30307b143857a
SIZE (daemon-runner-0.0.15.tar.gz) = 3044
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-daemon>0 : devel/py-daemon@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-daemon-runner
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|