sysutils/py-mitogen: new port for accelerating ansible

Reviewed by:	matthew, bcr
Approved by:	jrm (mentor)
Differential Revision:	https://reviews.freebsd.org/D20434
This commit is contained in:
Dave Cottlehuber 2019-05-28 08:08:11 +00:00
parent 44cf76ea5a
commit b6502b88e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502863
5 changed files with 46 additions and 0 deletions

View file

@ -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

View file

@ -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 <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1558988017
SHA256 (mitogen-0.2.7.tar.gz) = c2dd28d6b964699822455f6c91acedc16324913586837f046a76e2e4ac1d716c
SIZE (mitogen-0.2.7.tar.gz) = 187461

View file

@ -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

View file

@ -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/