From 7bb103ce22258d271cfc9b41ee6cfeda78cc5868 Mon Sep 17 00:00:00 2001 From: ziggi Date: Mon, 25 May 2020 06:32:53 +0000 Subject: [PATCH] add py-daemon --- python/py-daemon/Makefile | 22 ++++++++++++++++++++++ python/py-daemon/distinfo | 2 ++ python/py-daemon/pkg-descr | 11 +++++++++++ 3 files changed, 35 insertions(+) create mode 100644 python/py-daemon/Makefile create mode 100644 python/py-daemon/distinfo create mode 100644 python/py-daemon/pkg-descr diff --git a/python/py-daemon/Makefile b/python/py-daemon/Makefile new file mode 100644 index 00000000..e0ee841e --- /dev/null +++ b/python/py-daemon/Makefile @@ -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 diff --git a/python/py-daemon/distinfo b/python/py-daemon/distinfo new file mode 100644 index 00000000..084ea355 --- /dev/null +++ b/python/py-daemon/distinfo @@ -0,0 +1,2 @@ +SHA256 (python-daemon-2.0.6.tar.gz) = 1730b8e80773379857bf4a792ccccea2cda05c151fbee986b909ceddafa27309 +SIZE (python-daemon-2.0.6.tar.gz) = 72668 diff --git a/python/py-daemon/pkg-descr b/python/py-daemon/pkg-descr new file mode 100644 index 00000000..825a6801 --- /dev/null +++ b/python/py-daemon/pkg-descr @@ -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/