Page MenuHomeFreeBSD

misc/py-ptyprocess: add port
AbandonedPublic

Authored by koobs on Mar 22 2015, 4:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 22 2023, 9:12 PM
Unknown Object (File)
Dec 7 2023, 12:36 PM
Unknown Object (File)
Nov 24 2023, 9:04 PM
Unknown Object (File)
Nov 22 2023, 10:10 PM
Unknown Object (File)
Nov 22 2023, 10:04 PM
Unknown Object (File)
Nov 22 2023, 9:59 PM
Unknown Object (File)
Nov 22 2023, 9:42 PM
Unknown Object (File)
Nov 22 2023, 1:00 AM
Subscribers

Details

Reviewers
swills
xmj
Summary

misc/py-ptyprocess: add port

Launch a subprocess in a pseudo terminal (pty), and interact with both the
process and its pty.

Sometimes, piping stdin and stdout is not enough. There might be a password
prompt that doesn't read from stdin, output that changes when it's going to a
pipe rather than a terminal, or curses-style interfaces that rely on a
terminal. If you need to automate these things, running the process in a
pseudo terminal (pty) is the answer.

WWW: http://pypi.python.org/pypi/ptyprocess/

Requested by: emaste
Approved by: swills (mentor)

Test Plan

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

xmj retitled this revision from to misc/py-ptyprocess: add port.
xmj updated this object.
xmj edited the test plan for this revision. (Show Details)
xmj added reviewers: swills, koobs.
xmj added a subscriber: emaste.
koobs requested changes to this revision.Mar 24 2015, 1:24 PM
koobs edited edge metadata.
koobs added inline comments.
misc/py-ptyprocess/Makefile
14

No LICENSE_FILE in WRKSRC?

Edit: I just checked upstream. LICENSE is in repo, Author doesnt have LICENSE in MANIFEST.in. Adding it there will include it in the sdist on PyPi. Can you create a PR or Issue to include it?

17

Sort values (you cant use antoine@'s excuse ;])

misc/py-ptyprocess/pkg-descr
11

Remove trailing slash

This revision now requires changes to proceed.Mar 24 2015, 1:24 PM
xmj edited edge metadata.

CRF: Fix stuff.

koobs requested changes to this revision.Mar 25 2015, 12:09 AM
koobs edited edge metadata.
koobs added inline comments.
misc/py-ptyprocess/Makefile
21

This could be better, but is "OK" for now, since we don't have the framework bits.

Eg:

${PYTHON_CMD} -m py.test

Ideally:

${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

misc/py-ptyprocess/files/patch-ptyprocess_ptyprocess.py
1

Add upstream issue reference as comment (reason: breadcrumbs for future selves/others)

This revision now requires changes to proceed.Mar 25 2015, 12:09 AM
koobs edited reviewers, added: xmj; removed: koobs.
koobs added a subscriber: robak.

Closing, this was committed by @robak in rP390301