Files
guru/dev-python/libusb1/libusb1-3.1.0.ebuild
T
James Le Cuirot 7a78af1bbb dev-python/libusb1: Fix test execution
One test still fails for me, although that might be only for Python 3.13. I've
now added a newer version of this package in Gentoo, but I no longer have the older
Python versions needed here, so let's keep this for now.

Closes: https://bugs.gentoo.org/937360
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2025-03-06 22:16:05 +00:00

30 lines
550 B
Bash

# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Pure-python wrapper for libusb-1.0"
HOMEPAGE="
https://github.com/vpelletier/python-libusb1
https://pypi.org/project/libusb1/
"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="virtual/libusb"
distutils_enable_tests unittest
src_prepare() {
# Don't need this.
rm -r usb1/__pyinstaller || die
default
}