Install this version:
emerge -a =dev-python/libusb1-3.4.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/libusb1-3.4.0
Or alternatively:
emerge --autounmask-write -a =dev-python/libusb1-3.4.0
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..15} python3_13t )
inherit distutils-r1
DESCRIPTION="Python ctype-based wrapper around libusb1"
HOMEPAGE="https://github.com/vpelletier/python-libusb1"
SRC_URI="https://github.com/vpelletier/python-libusb1/releases/download/${PV}/${P}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
RDEPEND="virtual/libusb:1"
DEPEND="test? ( ${RDEPEND} )"
distutils_enable_tests unittest
src_prepare() {
# Don't need this.
rm -r usb1/__pyinstaller || die
default
}
Manage flags for this package:
euse -i <flag> -p dev-python/libusb1 |
euse -E <flag> -p dev-python/libusb1 |
euse -D <flag> -p dev-python/libusb1
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libusb1-3.4.0.tar.gz | 91206 bytes | https://github.com/vpelletier/python-libusb1/releases/download/3.4.0/libusb1-3.4.0.tar.gz |