Index: head/sysutils/Makefile =================================================================== --- head/sysutils/Makefile +++ head/sysutils/Makefile @@ -1029,6 +1029,7 @@ SUBDIR += py-hpilo SUBDIR += py-iowait SUBDIR += py-leviathan + SUBDIR += py-mitogen SUBDIR += py-mqttwarn SUBDIR += py-nagiosplugin SUBDIR += py-packet-python Index: head/sysutils/py-mitogen/Makefile =================================================================== --- head/sysutils/py-mitogen/Makefile +++ head/sysutils/py-mitogen/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= mitogen +DISTVERSION= 0.2.7 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dch@FreeBSD.org +COMMENT= Ansible accelerator & python library for writing distributed programs + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= distutils autoplist concurrent + +NO_ARCH= yes + +SUB_FILES= pkg-message +SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} + +.include Index: head/sysutils/py-mitogen/distinfo =================================================================== --- head/sysutils/py-mitogen/distinfo +++ head/sysutils/py-mitogen/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1558988017 +SHA256 (mitogen-0.2.7.tar.gz) = c2dd28d6b964699822455f6c91acedc16324913586837f046a76e2e4ac1d716c +SIZE (mitogen-0.2.7.tar.gz) = 187461 Index: head/sysutils/py-mitogen/files/pkg-message.in =================================================================== --- head/sysutils/py-mitogen/files/pkg-message.in +++ head/sysutils/py-mitogen/files/pkg-message.in @@ -0,0 +1,7 @@ +If you are intending to use mitogen together with [sysutils/ansible] +then simply append this into your ansible.cfg file, whether in /etc +or in the root directory of your ansible playbook: + +[defaults] +strategy = mitogen_linear +strategy_plugins = %%PYTHON_SITELIBDIR%%/ansible_mitogen/plugins/strategy Index: head/sysutils/py-mitogen/pkg-descr =================================================================== --- head/sysutils/py-mitogen/pkg-descr +++ head/sysutils/py-mitogen/pkg-descr @@ -0,0 +1,12 @@ +Python library for writing distributed, self-replicating programs. Its +main feature is a pythonic "remote fork", enabling your program to +bootstrap and communicate with remote copies of itself, requiring only +an existing installed python, and a suitable ssh client. + +Mitogen also includes a highly efficient re-implementation of Ansible's +RPC layer, providing a staggering and massive speed-up compared to stock +ansible. Installation is trivial, and the results are impressive. + +https://mitogen.networkgenomics.com/ansible_detailed.html + +WWW: https://mitogen.networkgenomics.com/