devel/py-daemon-runner 0.0.15_1 FreeBSD
Simple command line runner on top of python-daemon
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, python
- Package size
- 9.9 KiB, 30.7 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-daemon-runner | 0.0.15_1 |
| DragonFly | devel/py-daemon-runner | 0.0.15_1 |
Install
Binary package:
pkg install py312-daemon-runner
From the ports tree:
cd /usr/ports/devel/py-daemon-runner/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-daemon-runner>0:devel/py-daemon-runner
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.0.15_1 | 0.0.15_1 | 0.0.15 | 0.0.15_1 | 0.0.15_1 |
| FreeBSD:14:quarterly | 0.0.15_1 | 0.0.15_1 | n/a | 0.0.15_1 | 0.0.15_1 |
| FreeBSD:15:latest | 0.0.15_1 | 0.0.15_1 | n/a | 0.0.15_1 | 0.0.15_1 |
| FreeBSD:15:quarterly | 0.0.15_1 | 0.0.15_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.0.15_1 | 0.0.15_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}daemon>0: devel/py-daemon
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 9
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| daemon-runner-0.0.15.tar.gz | 3044 | 6b74e6da04598fc8f13c26452f3d5827625c6befe8110e4c07e30307b143857a |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.