Bug 260328 - comms/py-pyserial: Add an EXAMPLES option
Summary: comms/py-pyserial: Add an EXAMPLES option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Craig Leres
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-10 22:06 UTC by Craig Leres
Modified: 2021-12-28 17:46 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sbz)


Attachments
patch (1.31 KB, patch)
2021-12-10 22:07 UTC, Craig Leres
leres: maintainer-approval? (sbz)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)