summaryrefslogtreecommitdiff
path: root/dev-python/pyusb/pyusb-1.3.1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-01-09 18:54:20 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-01-09 18:54:20 +0000
commit4caebfb4373815f2ece062eaeeeead8be340e545 (patch)
treef9448d6d8b20b48601ab8a5b41e097fe2906e50c /dev-python/pyusb/pyusb-1.3.1.ebuild
parent6f4e6285f5373fe15b17b9cef200c1e131138ede (diff)
downloadbaldeagleos-repo-4caebfb4373815f2ece062eaeeeead8be340e545.tar.gz
baldeagleos-repo-4caebfb4373815f2ece062eaeeeead8be340e545.tar.xz
baldeagleos-repo-4caebfb4373815f2ece062eaeeeead8be340e545.zip
Adding metadata
Diffstat (limited to 'dev-python/pyusb/pyusb-1.3.1.ebuild')
-rw-r--r--dev-python/pyusb/pyusb-1.3.1.ebuild31
1 files changed, 31 insertions, 0 deletions
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}"
+}