Version 4.5 * :class:~.spawn and :class:~.fdspawn now have a use_poll parameter. If this is True, they will use :func:select.poll instead of :func:select.select. poll() allows file descriptors above 1024, but it must be explicitly enabled due to compatibility concerns * The :meth:.pxssh.login method has several new and changed options: * The option password_regex allows changing the password prompt regex, for servers that include password: in a banner before reaching a prompt * :meth:~.pxssh.login now allows for setting up SSH tunnels to be requested once logged in to the remote server. This option is ssh_tunnels The structure should be like this:: { 'local': ['2424:localhost:22'], # Local SSH tunnels 'remote': ['2525:localhost:22'], # Remote SSH tunnels 'dynamic': [8888], # Dynamic/SOCKS tunnels } * The option spawn_local_ssh=False allows subsequent logins from the remote session and treats the session as if it was local * Setting sync_original_prompt=False will prevent changing the prompt to something unique, in case the remote server is sensitive to new lines at login * If ssh_key=True is passed, the SSH client forces forwarding the authentication agent to the remote server instead of providing a key
18 lines
485 B
Makefile
18 lines
485 B
Makefile
# $NetBSD: Makefile,v 1.23 2018/04/14 05:20:25 adam Exp $
|
|
|
|
DISTNAME= pexpect-4.5.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pexpect/}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://pexpect.sourceforge.net/
|
|
COMMENT= Pure Python Expect-like module
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-ptyprocess>=0.5:../../sysutils/py-ptyprocess
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|