diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/hidapi | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Diffstat (limited to 'dev-python/hidapi')
| -rw-r--r-- | dev-python/hidapi/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hidapi/hidapi-0.15.0.ebuild | 44 | ||||
| -rw-r--r-- | dev-python/hidapi/metadata.xml | 5 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/hidapi/Manifest b/dev-python/hidapi/Manifest new file mode 100644 index 000000000000..d662235d89dc --- /dev/null +++ b/dev-python/hidapi/Manifest @@ -0,0 +1 @@ +DIST hidapi-0.15.0.tar.gz 184995 BLAKE2B 47c1e117535575650c4a86ea0b82a1e38ce89716215c227104435a9a827fb82a06b9850ac40371396ef7526e17471b8ab05e2814a17100353ef5e705b54dddfc SHA512 8cfbbc744bc5ff5a3185dd983f84faa209e6b86257a9a9121fe120b8a7c3f6b15e0bb142e0f0ab6d235686349d283fee3889b8cec6e509ab9095bc7621f4d0d2 diff --git a/dev-python/hidapi/hidapi-0.15.0.ebuild b/dev-python/hidapi/hidapi-0.15.0.ebuild new file mode 100644 index 000000000000..44ce100bdc2d --- /dev/null +++ b/dev-python/hidapi/hidapi-0.15.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Cython interface to HIDAPI library" +HOMEPAGE=" + https://github.com/trezor/cython-hidapi/ + https://pypi.org/project/hidapi/ +" + +LICENSE="|| ( BSD GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +DEPEND=" + >=dev-libs/hidapi-$(ver_cut 1-3) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + virtual/pkgconfig +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_configure_all() { + DISTUTILS_ARGS=( + --with-system-hidapi + ) +} + +python_test() { + epytest tests.py +} diff --git a/dev-python/hidapi/metadata.xml b/dev-python/hidapi/metadata.xml new file mode 100644 index 000000000000..5f33304011d5 --- /dev/null +++ b/dev-python/hidapi/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
