dev-python/libusb1 - 3.3.1 (gentoo)

Search

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.3.1 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} 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

Dependencies

DEPEND

test? ( virtual/libusb:1 )

RDEPEND

virtual/libusb:1

Manifest for 3.3.1

Type File Size Source URLs
DIST libusb1-3.3.1.tar.gz 107600 bytes https://github.com/vpelletier/python-libusb1/releases/download/3.3.1/libusb1-3.3.1.tar.gz