From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 810B1158094 for ; Tue, 30 Aug 2022 18:23:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6EA7DE08F0; Tue, 30 Aug 2022 18:23:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54FC8E08F0 for ; Tue, 30 Aug 2022 18:23:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48ADB340DAF for ; Tue, 30 Aug 2022 18:23:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D14CD57D for ; Tue, 30 Aug 2022 18:23:00 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1661883759.1bd7e7c5b502ea259191c0f613cdbe910387615f.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hidapi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/hidapi/Manifest dev-python/hidapi/hidapi-0.12.0.2.ebuild dev-python/hidapi/metadata.xml X-VCS-Directories: dev-python/hidapi/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: 1bd7e7c5b502ea259191c0f613cdbe910387615f X-VCS-Branch: master Date: Tue, 30 Aug 2022 18:23:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9bd833f8-27c4-4c58-94d0-c7bc308a718e X-Archives-Hash: 7a86fa0c34c566a92890c05c1332a4e2 commit: 1bd7e7c5b502ea259191c0f613cdbe910387615f Author: Stephan Hartmann gentoo org> AuthorDate: Tue Aug 30 18:22:15 2022 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Tue Aug 30 18:22:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bd7e7c5 dev-python/hidapi: new package, add 0.12.0.2, moved from ::guru Signed-off-by: Stephan Hartmann gentoo.org> dev-python/hidapi/Manifest | 1 + dev-python/hidapi/hidapi-0.12.0.2.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-python/hidapi/metadata.xml | 12 ++++++++++++ 3 files changed, 45 insertions(+) diff --git a/dev-python/hidapi/Manifest b/dev-python/hidapi/Manifest new file mode 100644 index 000000000000..03f65d02f5e7 --- /dev/null +++ b/dev-python/hidapi/Manifest @@ -0,0 +1 @@ +DIST hidapi-0.12.0.post2.tar.gz 125008 BLAKE2B 6792d8a4bbd80da19b3dd1fde47061e3a0f00678059e36598da4a34142cbfe1e732854c2a372a869891be79e1131a7cef138913556159574f10b8b08439bfefe SHA512 dee9f1f07e4f297b935c8e3fbe798471f449f6a101d68131db23d24ccfb5ce445cc3b0e7305606d3630443a817aa75a27093109078735168a59d21614606f0a0 diff --git a/dev-python/hidapi/hidapi-0.12.0.2.ebuild b/dev-python/hidapi/hidapi-0.12.0.2.ebuild new file mode 100644 index 000000000000..5aa029943585 --- /dev/null +++ b/dev-python/hidapi/hidapi-0.12.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A Cython interface to HIDAPI library" +HOMEPAGE="https://github.com/trezor/cython-hidapi" +MY_PV=$(ver_rs 3 .post) +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz" + +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}]" + +distutils_enable_tests pytest + +S="${WORKDIR}/${PN}-${MY_PV}" + +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..59255f6b605d --- /dev/null +++ b/dev-python/hidapi/metadata.xml @@ -0,0 +1,12 @@ + + + + + sultan@gentoo.org + Stephan Hartmann + + + trezor/cython-hidapi + hidapi + +