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>
This commit is contained in:
James Le Cuirot
2025-03-06 22:16:05 +00:00
parent 8c1dd77fd2
commit 7a78af1bbb

View File

@@ -1,4 +1,4 @@
# Copyright 2020-2024 Gentoo Authors
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,4 +20,10 @@ KEYWORDS="~amd64 ~x86"
RDEPEND="virtual/libusb"
distutils_enable_tests setup.py
distutils_enable_tests unittest
src_prepare() {
# Don't need this.
rm -r usb1/__pyinstaller || die
default
}