Files
gentoo/dev-python/libusb1/libusb1-3.3.1.ebuild
Michał Górny 94c378e1ec dev-python/libusb1: Enable py3.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-05-27 16:34:06 +02:00

30 lines
657 B
Bash

# 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
}