From 4caebfb4373815f2ece062eaeeeead8be340e545 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 9 Jan 2025 18:54:20 +0000 Subject: Adding metadata --- dev-python/pyusb/pyusb-1.3.1.ebuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-python/pyusb/pyusb-1.3.1.ebuild (limited to 'dev-python/pyusb/pyusb-1.3.1.ebuild') diff --git a/dev-python/pyusb/pyusb-1.3.1.ebuild b/dev-python/pyusb/pyusb-1.3.1.ebuild new file mode 100644 index 000000000000..182abc3f7978 --- /dev/null +++ b/dev-python/pyusb/pyusb-1.3.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="USB support for Python" +HOMEPAGE=" + https://pyusb.github.io/pyusb/ + https://github.com/pyusb/pyusb/ + https://pypi.org/project/pyusb/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" + +### This version is compatible with both 0.X and 1.X versions of libusb +DEPEND="virtual/libusb:=" +RDEPEND="${DEPEND}" + +DOCS=( README.rst docs/tutorial.rst ) + +python_test() { + cd tests || die + "${EPYTHON}" testall.py || die "Tests failed with ${EPYTHON}" +} -- cgit v1.3.1