forked from Lainports/freebsd-ports
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 lines
404 B
Makefile
20 lines
404 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pexpect
|
|
PORTVERSION= 4.6.0
|
|
CATEGORIES= misc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Pure Python Expect-like module
|
|
|
|
LICENSE= ISCL
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ptyprocess>=0:sysutils/py-ptyprocess@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
.include <bsd.port.mk>
|