notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-usbtmc Pure Python USBTMC driver for controlling instruments over USB
0.8_2 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: joerg@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-03-01 18:12:06
Last Update: 2025-03-08 04:05:21
Commit Hash: 06a08e6
Also Listed In: python
License: GPLv2
WWW:
https://github.com/python-ivi/python-usbtmc
Description:
Python USBTMC provides a pure Python USBTMC driver for controlling instruments over USB.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}usbtmc>0:devel/py-usbtmc@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-usbtmc/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-usbtmc
  • pkg install py311-usbtmc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-usbtmc listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-usbtmc
Package flavors (<flavor>: <package>)
  • py311: py311-usbtmc
distinfo:
TIMESTAMP = 1740852068 SHA256 (python-ivi-python-usbtmc-v0.8_GH0.tar.gz) = dc13aa4ae0c0e4545e2ef83ae181d08528de176ee1522e6d66856449cf91c491 SIZE (python-ivi-python-usbtmc-v0.8_GH0.tar.gz) = 15511

Packages (timestamps in pop-ups are UTC):
py311-usbtmc
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.8_20.8_2-0.8_20.8_2---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.8_2--0.8_2---
FreeBSD:14:quarterly--------
FreeBSD:15:latest0.8_20.8_2n/a0.8_2n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  3. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-pyusb>=0 : devel/py-pyusb@py311
  2. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-usbtmc
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/python-ivi/python-usbtmc/tar.gz/v0.8?dummy=/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.8_2
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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.
0.8_1
01 Mar 2025 21:22:25
commit hash: 0b801beff356edd3296e7963ab496f7eb82b1d89commit hash: 0b801beff356edd3296e7963ab496f7eb82b1d89commit hash: 0b801beff356edd3296e7963ab496f7eb82b1d89commit hash: 0b801beff356edd3296e7963ab496f7eb82b1d89 files touched by this commit
Joerg Wunsch (joerg) search for other commits by this committer
devel/py-usbtmc: Disable kernel driver detaching

The original code uses the "kernel driver detach" functionality
which is required under Linux but not available under FreeBSD.
0.8
01 Mar 2025 18:10:22
commit hash: 474275eccd5e46a02a3ca5ec1f6602335e596568commit hash: 474275eccd5e46a02a3ca5ec1f6602335e596568commit hash: 474275eccd5e46a02a3ca5ec1f6602335e596568commit hash: 474275eccd5e46a02a3ca5ec1f6602335e596568 files touched by this commit
Joerg Wunsch (joerg) search for other commits by this committer
devel/py-usbtmc: New port

Python USBTMC provides a pure Python USBTMC driver for controlling
instruments over USB.

It is an alternative to pyvisa, and it has the pulse command
(control_in) which is not implemented in the pyvisa-py backend.

(quote from https://github.com/xyphro/UsbGpib/blob/master/SW/NiceGUI/readme.md)

Number of commits found: 3