add py-daemon

This commit is contained in:
ziggi
2020-05-25 06:32:53 +00:00
parent 30ff26ffd6
commit 7bb103ce22
3 changed files with 35 additions and 0 deletions

22
python/py-daemon/Makefile Normal file
View File

@@ -0,0 +1,22 @@
# Created by: jessekempf@gmail.com
# $FreeBSD: head/devel/py-daemon/Makefile 472884 2018-06-20 17:05:41Z mat $
PORTNAME= daemon
PORTVERSION= 2.0.6
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-daemon-${PORTVERSION}
MAINTAINER= jessekempf@gmail.com
COMMENT= Well-behaved daemon framework for Python
#BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0:python/py-docutils@${PY_FLAVOR} \
# ${PYTHON_PKGNAMEPREFIX}lockfile>=0.10:python/py-lockfile@${PY_FLAVOR}
#RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
USE_PYTHON= autoplist concurrent distutils
USES= python
.include <bsd.port.mk>

View File

@@ -0,0 +1,2 @@
SHA256 (python-daemon-2.0.6.tar.gz) = 1730b8e80773379857bf4a792ccccea2cda05c151fbee986b909ceddafa27309
SIZE (python-daemon-2.0.6.tar.gz) = 72668

View File

@@ -0,0 +1,11 @@
Library to implement a well-behaved Unix daemon process.
This library 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.
WWW: https://pypi.org/project/python-daemon/