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 D10CF158094 for ; Tue, 5 Jul 2022 07:14:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B802E0CF9; Tue, 5 Jul 2022 07:14:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05D8EE0CF9 for ; Tue, 5 Jul 2022 07:14:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C0C3341FEB for ; Tue, 5 Jul 2022 07:14:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5D1C326 for ; Tue, 5 Jul 2022 07:14:30 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1656935445.b088bc43b76e71596cf5c692146c48a1e3e03255.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/hidapi/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/hidapi/Manifest dev-python/hidapi/hidapi-0.12.0.2.ebuild X-VCS-Directories: dev-python/hidapi/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: b088bc43b76e71596cf5c692146c48a1e3e03255 X-VCS-Branch: master Date: Tue, 5 Jul 2022 07:14:30 +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: 06c7a938-5409-4137-afda-a85b5e444951 X-Archives-Hash: d403633bd68127c5855a52630aeebfe0 commit: b088bc43b76e71596cf5c692146c48a1e3e03255 Author: James Beddek posteo de> AuthorDate: Mon Jul 4 11:50:45 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Mon Jul 4 11:50:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b088bc43 dev-python/hidapi: add 0.12.0.2 Signed-off-by: James Beddek posteo.de> dev-python/hidapi/Manifest | 1 + dev-python/hidapi/hidapi-0.12.0.2.ebuild | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-python/hidapi/Manifest b/dev-python/hidapi/Manifest index b43625462..5ff33b35e 100644 --- a/dev-python/hidapi/Manifest +++ b/dev-python/hidapi/Manifest @@ -1,2 +1,3 @@ DIST hidapi-0.10.1.tar.gz 60712 BLAKE2B 9f66015f801a73ad520b303a011edbfecb6b2e79e4366b8e72cc15a4b509cd5744c4c5f9d710b120a44f10cab0c72edf6f679961979d7ad2581edf3238426609 SHA512 681e3691a4b05b13abc38d305c68e448728612442d0ef12ce54d12eeebee6e18d33566c462a276d18ce5e29fad208e6fcde49bbe4b162eae5cd72ce37dea880b DIST hidapi-0.11.0.post2.tar.gz 136467 BLAKE2B 9469817cf5a87d9367d9b1d57e9b3832fc83756fbe7ba314e266fc17a17a7f82efadbb73e8e4808a0eaef8ad6478675222b99488b1ffac7b9426eb951ee3e77b SHA512 5365299ef8488561a82d2a2c911523c5d34e260f8068b4d4d26e912b6e348b328229498f0ee38d1eb9c81a969e9f91ffc7a0b9a60359f4e9d0511f8937e5ff21 +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 000000000..800ba1896 --- /dev/null +++ b/dev-python/hidapi/hidapi-0.12.0.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +MY_PV=$(ver_rs 3 .post) + +DESCRIPTION="A Cython interface to the hidapi" +HOMEPAGE="https://github.com/trezor/cython-hidapi" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="|| ( BSD GPL-3 )" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +SLOT="0" + +DEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-libs/hidapi +" +RDEPEND="${DEPEND}" + +distutils_enable_tests pytest + +python_configure_all() { + DISTUTILS_ARGS=( --with-system-hidapi ) +} + +python_test() { + epytest tests.py +}