BSD Ports

devel/py-pyusb 1.3.1_2 MidnightBSD

Python wrapper around libusb

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
8ffa28a7df
License
bsd3
Categories
devel, python

Description

PyUSB aims to be an easy to use Python module to access USB devices. PyUSB relies on a native system library for USB access.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-pyusb1.3.1_2
FreeBSDdevel/py-pyusb1.3.1
DragonFlydevel/py-pyusb1.2.1_1
HardenedBSDdevel/py-pyusb1.3.1
GhostBSDdevel/py-pyusb1.3.1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pyusb

From mports:

cd /usr/mports/devel/py-pyusb && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyusb>0:devel/py-pyusb

Dependencies

As this port's Makefile names them.

Build 1

Build dependencies 1
Required by 1

Configuration

Options name: devel_pyusb

OptionDefaultDescription
DOCSoff
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pyusb-pyusb-v1.3.1_GH0.tar.gz72697684293a44dd5f484431c86e21653015d92ad4654373c07e5bd801941683bb844

Commit history 1

DateCommitCreditsLog message
8ffa28a7df Lucas Holt devel/py-pyusb: fix the staging path in the option install targets
The option helper targets (post-install-DOCS-on and friends) are entries in _FAKE_SEQ and run in the main make, not in the sub-make that fake-post-install starts with FAKE_SETUP. There PREFIX is not stage-prefixed and STAGEDIR is empty, so ${STAGEDIR}${DOCSDIR} resolved to the live /usr/local: the build wrote outside the stage directory and the file was then reported missing, e.g. install ... README.rst /usr/local/share/doc/py312-webcolors /usr/local/share/doc/py312-webcolors/README.rst not installed. Fake failed. Use ${FAKE_DESTDIR} in these targets, as x11-wm/icewm already does. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>