comms/py-pyserial: add patch for FreeBSD implementation of list_ports tool This changes include a patch of the tool list_ports for the posix implementation on FreeBSD by using devinfo(8) and bump the revision. Upstream did not yet released a new version in several years. Reported by: phkd1a2a3d66e
Port details
comms/py-pyserial 3.5_4
Serial port encapsulation library for Python
Port info
- Maintainer
- sbz@FreeBSD.org
- Packages
- latest: 3.5_4
- Upstream
- up to date
- Last update
- to 3.5_4 · d1a2a3d66e
- Quarterly
- 2026Q4: 3.5_4
- Formerly
- comms/py-serial until 2020-06-27
- WWW
- https://github.com/pyserial/pyserial
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install py312-pyserialinstalls 3.5_4 fromlatest; fromquarterly(2026Q4) 3.5_4- Port
# cd /usr/ports/comms/py-pyserial && make install clean# make -C /usr/ports/comms/py-pyserial config # change options first
- Size
- 184 KiB download · 1.1 MiB installed
- Depends on
- lang/python312 3.12.15
- License
- BSD3CLAUSE
- Options
- 1 of 1 on in the package: EXAMPLES
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 3.5_4 | 3.5_4 | – |
| FreeBSD 15 | 3.5_4 | 3.5_4 | – |
| FreeBSD 14 | 3.5_4 | 3.5_4 | 3.5_4 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 3.5_4 | 3.5_4 | – |
| FreeBSD 14 | 3.5_4 | 3.5_4 | 3.5_4 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 3.5_4.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (57)
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.06a08e69f3
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9c*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
comms: remove 'Created by' lines A big Thank You to the original contributors of these ports: * 'Big Bad Bob' Frazier <bobf@mrp3.com> * <mr@freebsd.org> * Alex Samorukov <samm@freebsd.org> * Alexander Logvinov <ports@logvinov.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Anders Nordby <anders@FreeBSD.org> * Andreas Klemm <andreas@klemm.gtn.com> * Andrew Dolgov <fox@furry.spb.ru> * Andrey Lykhin <lan31@inbox.ru> * Anton Voronin <anton@urc.ac.ru> * Brandon S. Allbery KF8NH <allbery@ece.cmu.edu> * Brian Dean <bsd@FreeBSD.org> * Bruce Cran <bruce@cran.org.uk> * Carl Makin <carl@stagecraft.cx> * Darren <igla@batterybackups.net> * David * David O'Brien <obrien@cs.ucdavis.edu> * David Thiel <lx@redundancy.redundancy.org> * Denis Shaposhnikov <dsh@vlink.ru> * Devon H. O'Dell <devon.odell@coyotepoint.com> * Diane Bruce <db@db.net> * Douglas K. Rand <rand@meridian-enviro.com> * Edward Tomasz Napierala <trasz@FreeBSD.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Felix Palmen <felix@palmen-it.de> * Frank Steinborn <steinex@nognu.de> * Ganael Laplanche <ganael.laplanche@martymac.org> * George Reid <greid@ukug.uk.freebsd.org> * Hye-Shik Chang <perky@fallin.lv> * Janos.Mohacsi@bsd.hu * Jean-Baptiste Quenot <jb.quenot@caraldi.com> * Jeffrey Baitis <jeff@baitis.net> * Johan Strom <johan@stromnet.se> * Johan Strom <johna@stromnet.se> * Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw> * Julian Stacey <jhs@FreeBSD.org> * Kirill Bezzubets <kirill@solaris.ru> * MITA Yoshio <mita@FreeBSD.org> * Markus Brueffer <markus@FreeBSD.org> * Martin Matuska <mm@FreeBSD.org> * Martin Wilke <miwi@FreeBSD.org> * Masafumi NAKANE <max@FreeBSD.org> * Matt Dawson <matt@mattsnetwork.co.uk> * Maxim Sobolev <sobomax@FreeBSD.org> * Michael Reifenberger (mike@Reifenberger.com) * Mike Heffner <mikeh@FreeBSD.org> * Nick Sayer <nsayer@FreeBSD.org> * Nicole Reid <root@cooltrainer.org> * Olivier Cochard-Labbe <olivier@FreeBSD.org> * Patrick Gardella <patrick@FreeBSD.org> * Paul Traina <pst@FreeBSD.org> * Pav Lucistnik <pav@FreeBSD.org> * Rick Elrod <codeblock@eighthbit.net> * Rodrigo Osorio <rodrigo@FreeBSD.org> * Sebastian Yepes <esn@x123.info> * Staffan Ulfberg <staffanu@multivac.fatburen.org> * Stephen Hurd <shurd@FreeBSD.org> * Steve Woodford <scw@netbsd.hut.fi> * Steven Kreuzer <skreuzer@FreeBSD.org> * Sunry Chen <sunrychen@gmail.com> * Søren Straarup <xride@x12.dk> * Tony Shadwick <tshadwick@oss-solutions.com> * Tsung-Han Yeh <snowfly@yuntech.edu.tw> * Vladimir Grebenschikov * Vladimir Kondratyev <wulf@FreeBSD.org> * db * dirkx@webweaving.org * dom@happygiraffe.net * elbarto@ArcadeBSD.org * hm * jmz * joes@seaport.net * lambert@lambertfam.org * nox@FreeBSD.org * obrien@cs.ucdavis.edu * rkw * shurd * shurd@FreeBSD.org * wlloyd@slap.net * //www.tomek.cedro.info) With hat: portmgr258a98847e
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)e237c91212
comms/py-pyserial: Add USE_PYTHON=concurrent
- Allow concurrent installation for bin/pyserial-{miniterm,ports}
Reviewed by: koobs, sbz
Approved by: koobs (ports, mentor), sbz (maintainer)
Differential Revision: https://reviews.freebsd.org/D30920
MFH: 2021Q2 (ports compliance)6edd405189Remove # $FreeBSD$ from Makefiles.305f148f48
- Update to 3.558eb7b74b1
Drop python 2.7 support from a few ports With hat: portmgraa7a6c429e
Move comms/py-serial to comms/py-pyserial - While I'm here, add NO_ARCH - Bump PORTREVISION of dependent ports for dependency change (devel/py-pyvisa-py and finance/odoo will be bumped in next commit, py-pyusb renaming) PR: 246546 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 40 days)fa56610258
Bump a few PORTREVISIONs after r498529 With hat: portmgr63f5eeef8a
- Update to 3.4878b75eadc
- Update to 3.2.1 PR: 213401 Reported by: Kyle Evans <kevans91 at ksu.edu>dc51f33a4c
comms/py-serial: - Use options helpers - Fix packaging with python3 - Add patch to make tools.list_ports usable on FreeBSD (committed upstream) PR: 202887 Approved by: sbz (maintainer timeout 5 weeks)312b3b9c38
Cleanup plist2c8db67726
- Convert ports from cad/, chinese/, comms/ and converters/ to new USES=python Approved by: portmgr (implicit)dae43d7a6d
- Update to 2.7 PR: ports/190000 Submitted by: Bartek Rutkowski <ports at robakdesign.com>6f9a430d77
Support stage PR: ports/188593 Submitted by: Bartek Rutkowski <ports@robakdesign.com>cd6927ad9c
Remove trailing whitespaces from category comms003d63081a
According to the Porter's Handbook (5.12.2.3.) default options must be added to OPTIONS_DEFINE. This policy has been implemented only recently that's why we have many ports violating this policy. This patch adds the default options specified in the Porter's Handbook to OPTIONS_DEFINE where they are being used. Ports maintained by gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded. Approved by: portmgr (bapt)5005b67362
Fix properties on pkg-plist56fcf8379f
Convert comms to MDOCS and MEXAMPLES. Hold-out shame list: perlfbd9122a40
Add NO_STAGE all over the place in preparation for the staging support (cat: comms)2b300eeb3f
- Update to 2.6 - Make happy portlint Approved by: miwi@ (mentor) Feature safe: yesd4535ce2b6
- Get Rid MD5 supportbb86cbe5d2
Update my MAINTAINER address to sbz at FreeBSD.org. Approved by: jadawin@ (mentor)d7c5457ddf
- Canonicalize Makefile header - Utilize PORTNAME where appropriate - Mute MKDIR's - Install documentation files via INSTALL_DATA instead of INSTALL_MAN Approved by: maintainerc875e0de23
Improve port description. Approved by: maintainerbb2494a0af
- Update to 2.5 - Respect NOPORTEXAMPLES - Submitter is now maintainer PR: ports/150784 Submitted by: Sofian Brabez <sbrabez _AT_ gmail.com>a13584ff65
Reset maintainer per his request to ports@. Feature safe: yes4504c11b80
- Pass maintainership to gcooper@ Submitted by: gcooper@ via private email2117366baa
Reset perky@FreeBSD.org due to maintainer-timeouts and no response to email. Hat: portmgrcb4c252136
- Switch SourceForge ports to the new File Release System: categories starting with B,Cc926af277e
Update to 2.4a071eecf60
Update to 2.3 PR: 124743 Submitted by: Wen heping <wenheping@gmail.com>7d0ca7ba10
[patch] comms/py-serial: install docs and examples PR: ports/111909 Submitted by: Boris Samorodov <bsam@FreeBSD.org> Approved by: maintainer timeout40f749985a
- Make Python 2.5.1 the default Python version - Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav4942ce5a7d
SHA256ify Approved by: krion@acd87b4ad8
Update to 2.2 PR: 86614 Submitted by: Soeren Straarup <xride@x12.dk>cbe41c56cb
Update to 2.110885b9a72
Add SIZE data. Submitted by: trevor4fada1630a
Update to 2.05eae49fbd0
Update to 0.207b9fef0c37
Update to 1.1944ee247da3
De-pkg-comment for my ports.fbc660cb2c
Update to 1.180e7d3087b9
Update to 1.17ea260715cf