dev-python/libusb1 - 3.4.0 (gentoo)

Search

Install

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

Package Information

Description:
Python ctype-based wrapper around libusb1
Homepage:
https://github.com/vpelletier/python-libusb1
License:
LGPL-2.1+

Ebuild Details

Version EAPI Keywords Slot
3.4.0 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# 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
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

test? ( virtual/libusb:1 )

RDEPEND

virtual/libusb:1

Manifest for 3.4.0

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