diff options
Diffstat (limited to 'dev-python/pyusb')
| -rw-r--r-- | dev-python/pyusb/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyusb/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-python/pyusb/pyusb-1.3.1.ebuild | 31 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest new file mode 100644 index 000000000000..af79195ad483 --- /dev/null +++ b/dev-python/pyusb/Manifest @@ -0,0 +1 @@ +DIST pyusb-1.3.1.tar.gz 77281 BLAKE2B e86a24022e2ced4286500ca537d964cf974a47204fc70af6dd8993e039ccf47f710cb7a3564417bbd392cac0b4b06acc1de4ad8c880f782604ecae83ce87aae4 SHA512 91dad112b928133f7439c25ba473bfa8b214fc15daa37c8992304032766498694da5a84c8451d1ae007d0eeb9e840f700d071579324fb96d95302a1e6042e208 diff --git a/dev-python/pyusb/metadata.xml b/dev-python/pyusb/metadata.xml new file mode 100644 index 000000000000..acfe7097587e --- /dev/null +++ b/dev-python/pyusb/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> 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..217148f37259 --- /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_{13..14} ) + +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}" +} |
