Bug 260328

Summary: comms/py-pyserial: Add an EXAMPLES option
Product: Ports & Packages Reporter: Craig Leres <leres>
Component: Individual Port(s)Assignee: Craig Leres <leres>
Status: Closed FIXED    
Severity: Affects Only Me CC: sbz
Priority: --- Flags: bugzilla: maintainer-feedback? (sbz)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch leres: maintainer-approval? (sbz)

Description Craig Leres freebsd_committer freebsd_triage 2021-12-10 22:06:32 UTC
The pyserial distribution includes a handy tcp/serial port bridge script called tcp_serial_redirect.py. The patch adds an EXAMPLES option to install this (along with other pyserial example scripts).

(Another approach would be to add a TCP_SERIAL_REDIRECT option and install just that script in $PREFIX/bin which would be even nicer.)
Comment 1 Craig Leres freebsd_committer freebsd_triage 2021-12-10 22:07:33 UTC
Created attachment 230033 [details]
patch
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-12-28 17:38:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e237c912125cf736a2bb67759d23d3e11cb5acc3

commit e237c912125cf736a2bb67759d23d3e11cb5acc3
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2021-12-28 17:37:39 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2021-12-28 17:37:39 +0000

    comms/py-pyserial: Add an EXAMPLES option

    The pyserial distribution includes a handy tcp/serial port bridge
    script called tcp_serial_redirect.py. Add an EXAMPLES option to
    install this (along with other pyserial example scripts).

    PR:             260328
    Approved by:    sbz (maintainer timeout, 18 days)

 comms/py-pyserial/Makefile | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)