mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/hidapi: Bump to 0.15.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
86dd5c617d
commit
a7cff8d53b
@ -1 +1,2 @@
|
||||
DIST hidapi-0.14.0.post4.tar.gz 174388 BLAKE2B 94032019f19d1d7f67a6fb2bde518694de5b3a3c94fad1e5dd090dbd98d630fba94a55ef55b1f28591f13eada6ce023b3b11648f0d7ec3e79e4e94cac4f05a3d SHA512 16e567a7390c3a7abd4e271ced41a4e01041d03c4e14168db92a62afa39e8992b078577c1b836b6728e683ac5a9621553bedf426fe15aa8ca3ccae06ce55d79d
|
||||
DIST hidapi-0.15.0.tar.gz 184995 BLAKE2B 47c1e117535575650c4a86ea0b82a1e38ce89716215c227104435a9a827fb82a06b9850ac40371396ef7526e17471b8ab05e2814a17100353ef5e705b54dddfc SHA512 8cfbbc744bc5ff5a3185dd983f84faa209e6b86257a9a9121fe120b8a7c3f6b15e0bb142e0f0ab6d235686349d283fee3889b8cec6e509ab9095bc7621f4d0d2
|
||||
|
||||
44
dev-python/hidapi/hidapi-0.15.0.ebuild
Normal file
44
dev-python/hidapi/hidapi-0.15.0.ebuild
Normal file
@ -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_{11..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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user