dev-python/libusb1: New package at 3.2.0

3.3.0 has recently been released, but I believe it may be broken.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot 2025-03-06 22:02:10 +00:00
parent 51da354c8d
commit e3b868f1bd
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST libusb1-3.2.0.tar.gz 105601 BLAKE2B 11a4f49253e3698448c97b9ede585d67f8c174fb0fdeb4040077f9851e96b4ffb50af4ee02fe9ca2b4c22f47098e5d1d3798aa34a2ed75f43dae23d8d96eec25 SHA512 5979d50e0f3fe6e0054bb67a13e1c7c31f9f468949ea51dccd9a990bf6e2333c35136e0f6fe46c66902f5c135872999a5657abc8b4205d8349704fa8b9f53759

View File

@ -0,0 +1,29 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_13 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"
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
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<upstream>
<remote-id type="github">vpelletier/python-libusb1</remote-id>
<remote-id type="pypi">libusb1</remote-id>
</upstream>
</pkgmetadata>