notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-pexpect Python module for controlling interactive programs in pseudo-terminal
4.7.0 misc on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port
4.6.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2003-01-11 16:08:10
Last Update: 2019-04-07 21:06:24
SVN Revision: 498318
Also Listed In: python
License: ISCL
Pexpect is a pure Python module for spawning child applications; controlling
them; and responding to expected patterns in their output. Pexpect works like
Don Libes' Expect. Pexpect allows your script to spawn a child application and
control it as if a human were typing commands.

Pexpect can be used for automating interactive applications such as ssh, ftp,
passwd, telnet, etc. It can be used to a automate setup scripts for duplicating
software package installations on different servers. It can be used for
automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
Pexpect is pure Python.

The main features of Pexpect require the pty module in the Python standard
library, which is only available on Unix-like systems. Some features -- waiting
for patterns from file descriptors or subprocesses -- waiting for patterns from
file descriptors or subprocesses.

WWW: https://pexpect.readthedocs.io/
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • py27-pexpect>0:misc/py-pexpect

To install the port: cd /usr/ports/misc/py-pexpect/ && make install clean
To add the package: pkg install py27-pexpect

PKGNAME: py27-pexpect

Package flavors (<flavor>: <package>)
  • py27: py27-pexpect
  • py36: py36-pexpect

distinfo:

TIMESTAMP = 1554646960
SHA256 (pexpect-4.7.0.tar.gz) = 9e2c1fd0e6ee3a49b28f95d4b33bc389c89b20af6a1255906e90ff1262ce62eb
SIZE (pexpect-4.7.0.tar.gz) = 153747


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py27-setuptools>0 : devel/py-setuptools@py27
  2. python2.7 : lang/python27
Runtime dependencies:
  1. py27-ptyprocess>=0.5 : sysutils/py-ptyprocess@py27
  2. py27-setuptools>0 : devel/py-setuptools@py27
  3. python2.7 : lang/python27

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure

USES:
python

Master Sites:
  1. https://files.pythonhosted.org/packages/source/p/pexpect/
  2. https://pypi.org/packages/source/p/pexpect/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 34

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Apr 2019 20:06:24
Original commit files touched by this commit  4.7.0
Revision:498318
sunpoet search for other commits by this committer
Update to 4.7.0

- Update COMMENT
- Add LICENSE_FILE
- Update pkg-descr
- Take maintainership

Changes:	https://github.com/pexpect/pexpect/blob/master/doc/history.rst
		https://pexpect.readthedocs.io/en/stable/history.html#releases
06 Apr 2019 14:45:28
Original commit files touched by this commit  4.6.0
Revision:498132
sunpoet search for other commits by this committer
Add NO_ARCH
30 Jul 2018 12:16:55
Original commit files touched by this commit  4.6.0
Revision:475883
rm search for other commits by this committer
misc/py-pexpect: update to 4.6.0

async is the registered keyword since python 3.7, so current version of pexpect
fails to work with py37:

  File "/usr/local/lib/python3.7/site-packages/pexpect/spawnbase.py", line 224
    def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
                                                                   ^
SyntaxError: invalid syntax
*** Error code 1

Update to latest version solves the issue.

Also pass maintainership to python@ at maintainer's request

PR:		230188
Approved by:	wg (maintainer)
20 Jun 2018 17:05:44
Original commit files touched by this commit  4.2.1
Revision:472884
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
30 Nov 2017 15:50:34
Original commit files touched by this commit  4.2.1
Revision:455210  Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
07 Jun 2017 15:43:29
Original commit files touched by this commit  4.2.1
Revision:442849
woodsb02 search for other commits by this committer
[NEW] misc/py3-pexpect: Create Python 3.x version of port

The latest www/py-requests update [1] unbundled its dependencies, now
requiring chardet, idna, urllib3 and certifi from ports.

www/py3-requests port was not tested during QA, which would have highlighted
the need for many new py3-* ports (and their dependencies).

This change creates one of those ports.

[1] https://svnweb.freebsd.org/changeset/ports/442565

PR:		219833
14 Feb 2017 16:27:39
Original commit files touched by this commit  4.2.1
Revision:434125
lwhsu search for other commits by this committer
- Update to 4.2.1
- Update WWW

PR:		217089
Submitted by:	lwhsu
Approved by:	wg (maintainer)
20 Oct 2014 17:59:38
Original commit files touched by this commit  3.3
Revision:371289
mva search for other commits by this committer
- Convert ports of misc/ to new USES=python

Approved by:	portmgr (implicit)
27 Jun 2014 15:47:26
Original commit files touched by this commit  3.3
Revision:359555
wg search for other commits by this committer
misc/py-pexpect: update to 3.3
24 May 2014 12:47:05
Original commit files touched by this commit  3.2
Revision:355016
wg search for other commits by this committer
misc/py-pexpect: update to 3.2

PR:		ports/189708
Submitted by:	Bartek Rutkowski <ports at robakdesign com>
01 Apr 2014 11:31:54
Original commit files touched by this commit  3.1
Revision:349838
demon search for other commits by this committer
Fix for python3: all integers are "long".
With python2, if a number does not fit into "short int", it is
automatically promoted to "long".

No objection from:	wg (maintainer)
23 Jan 2014 15:44:14
Original commit files touched by this commit  3.1
Revision:340833
wg search for other commits by this committer
misc/py-pexpect: update to 3.1
26 Dec 2013 10:39:19
Original commit files touched by this commit  3.0
Revision:337480
wg search for other commits by this committer
misc/py-pexpect: update to 3.0 and add license
12 Nov 2013 10:32:58
Original commit files touched by this commit  2.4_1
Revision:333559
wg search for other commits by this committer
misc/py-pexpect: allow staging

- Allow staging
- Use auto python plist
- Take maintainership
20 Sep 2013 20:50:59
Refresh Original commit files touched by this commit
Revision:327745  Sanity Test Failure
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
misc)
25 Mar 2013 18:44:20
Original commit files touched by this commit  2.4_1
Revision:315240
eadler search for other commits by this committer
Cleanup unmaintained ports in the misc category:
	- Single space for WWW in pkg-descr
	- Ordering if of items in Makefile
	- Trim headers
	- Comment should not begin with leading article
	- Pet portlint
18 Nov 2011 23:30:13
Original commit files touched by this commit  2.4_1

ehaupt search for other commits by this committer
Remove trailing whitespaces.

Feature safe:   yes
17 Jun 2011 06:50:08
Original commit files touched by this commit  2.4_1

bapt search for other commits by this committer
remove broken master_site from the list
19 Mar 2011 12:38:54
Original commit files touched by this commit  2.4_1

miwi search for other commits by this committer
- Get Rid MD5 support
19 Jul 2010 22:05:23
Original commit files touched by this commit  2.4_1

jkim search for other commits by this committer
Remove a horrid hack to convert termios.TIOCSWINSZ to a signed integer.
All Python interpreters in the ports do not need this hack any more.
22 Aug 2009 00:28:34
Original commit files touched by this commit  2.4
  Sanity Test Failure
amdmi3 search for other commits by this committer
- Switch SourceForge ports to the new File Release System: categories starting
with M
18 Dec 2008 02:24:04
Original commit files touched by this commit  2.4

linimon search for other commits by this committer
Reassign ports maintained by dryice@ for now due to other commitments.

Hat:    portmgr
17 Dec 2008 15:14:42
Original commit files touched by this commit  2.4

pav search for other commits by this committer
- Update to 2.4

PR:             ports/126641
Submitted by:   Wen heping <wenheping@gmail.com>
Approved by:    maintainer timeout (dryice; 4 months)
18 Jan 2008 02:54:01
Original commit files touched by this commit  2.3

dryice search for other commits by this committer
Fix plist. Thanks pav@ for the notice
14 Jan 2008 02:45:28
Original commit files touched by this commit  2.3

dryice search for other commits by this committer
- update to 2.3
- update my mail address
15 Jun 2006 11:04:06
Original commit files touched by this commit  2.1

miwi search for other commits by this committer
Remove useless patches

Approved by:    krion (mentor), maintainer
14 Jun 2006 15:23:30
Original commit files touched by this commit  2.1

miwi search for other commits by this committer
Update to 2.1
Take maintainership

PR:             ports/98927
Submitted by:   Dryice Liu
Approved by:    krion (mentor)
25 Nov 2005 16:09:33
Original commit files touched by this commit  0.999

pav search for other commits by this committer
- Add SHA256
10 May 2004 19:27:15
Original commit files touched by this commit  0.999

linimon search for other commits by this committer
Update to 0.999 and work around buggy getpid() implementations in compiler.

PR:             ports/65846
Submitted by:   Marco Molteni <mmolteni@cisco.com>
29 Jan 2004 16:13:06
Original commit files touched by this commit  0.99

trevor search for other commits by this committer
SIZEify.
10 Jan 2004 09:32:25
Original commit files touched by this commit  0.99

krion search for other commits by this committer
- Update to 0.99

PR:             61157
Submitted by:   Lars Erik Gullerud <lerik@nolink.net>
21 Aug 2003 05:06:15
Original commit files touched by this commit  0.98

daichi search for other commits by this committer
update misc/py-pexpect: 0.95 -> 0.98

PR:             55799
Submitted by:   Marco Molteni <molter@tin.it>
20 Feb 2003 18:46:39
Original commit files touched by this commit  0.95

knu search for other commits by this committer
De-pkg-comment.
11 Jan 2003 16:07:44
Original commit files touched by this commit  0.95

ijliao search for other commits by this committer
add py-pexpect 0.95
A Pure Python Expect-like module

Number of commits found: 34

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
ImageMagick6*Jun 17
ImageMagick6-nox11*Jun 17
ImageMagick7*Jun 17
ImageMagick7-nox11*Jun 17
GraphicsMagickJun 16
netatalk3Jun 16
chromiumJun 15
neovimJun 13
phpmyadminJun 13
vimJun 13
vim-consoleJun 13
vim-tinyJun 13
mybbJun 12
linux-flashplayerJun 11
drupal7Jun 08

12 vulnerabilities affecting 80 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-06-17 06:25:27


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36694
Broken 81
Deprecated 120
Ignore 303
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 33
Expired 14
Set to expire 91
Interactive 0
new 24 hours 5
new 48 hours12
new 7 days36
new fortnight64
new month200

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.