mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-12-01 21:57:42 -05:00
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>
30 lines
550 B
Bash
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
|
|
}
|