diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/hidapi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/hidapi/hidapi-0.9.0.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/hidapi/Manifest b/dev-python/hidapi/Manifest index 4d3c5408..1cf401dc 100644 --- a/dev-python/hidapi/Manifest +++ b/dev-python/hidapi/Manifest @@ -1 +1,2 @@ DIST hidapi-0.7.99.post21.tar.gz 51377 BLAKE2B 668fe4c9c22ac92552bb179cbfcc2a70faeebb75d2ea7a390eac67e677b8cd2e096e941c3bba6b9b9e87256a8cd4cdc8e2527cdb8c76a43707197cdaecbe28fe SHA512 40efcbbb1d30c1413a5bc764e9bcef8b798f194456b35c83ea4f46c2eacf3eccfca5bb482602892ba8f24ed8085eb6e21e1fb94f7f12a7abb22bd2c571b21008 +DIST hidapi-0.9.0.tar.gz 53063 BLAKE2B 42cc393fc0345d5e9c0db92718ae775c4fdd6141c83174cd3d25ac50ec53d055f12fceda4627aa2f2fc7e25863e63273bab2906969c209162b24a730b01c9602 SHA512 ad6d8f62ccb0c16ac3a48ccf376f9fa00efdb06357fd6853c7236b64a57c51f72d02aa3f7bae0812c3addf78958894d1303330902cf6b804d42066a89f4ed720 diff --git a/dev-python/hidapi/hidapi-0.9.0.ebuild b/dev-python/hidapi/hidapi-0.9.0.ebuild new file mode 100644 index 00000000..52421d6e --- /dev/null +++ b/dev-python/hidapi/hidapi-0.9.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) +inherit distutils-r1 + +DESCRIPTION="Python wrapper for dev-libs/hidapi" +HOMEPAGE="https://github.com/trezor/cython-hidapi" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/hidapi + virtual/libusb:1" +DEPEND="${RDEPEND} + >=dev-python/cython-0.24.0[${PYTHON_USEDEP}]" + +src_configure() { + mydistutilsargs=( + --with-system-hidapi + ) +} |