From: "Stephan Hartmann" <sultan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hidapi/
Date: Thu, 19 Jan 2023 19:26:10 +0000 (UTC) [thread overview]
Message-ID: <1674156361.79a6a1e3b984e2dab75d1e7fec3ff812edec4b3d.sultan@gentoo> (raw)
commit: 79a6a1e3b984e2dab75d1e7fec3ff812edec4b3d
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 19 18:55:40 2023 +0000
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Thu Jan 19 19:26:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a6a1e3
dev-python/hidapi: add 0.13.1
Closes: https://bugs.gentoo.org/891171
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
dev-python/hidapi/Manifest | 1 +
dev-python/hidapi/hidapi-0.13.1.ebuild | 32 ++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/dev-python/hidapi/Manifest b/dev-python/hidapi/Manifest
index 03f65d02f5e7..6b9ab75aecb9 100644
--- a/dev-python/hidapi/Manifest
+++ b/dev-python/hidapi/Manifest
@@ -1 +1,2 @@
DIST hidapi-0.12.0.post2.tar.gz 125008 BLAKE2B 6792d8a4bbd80da19b3dd1fde47061e3a0f00678059e36598da4a34142cbfe1e732854c2a372a869891be79e1131a7cef138913556159574f10b8b08439bfefe SHA512 dee9f1f07e4f297b935c8e3fbe798471f449f6a101d68131db23d24ccfb5ce445cc3b0e7305606d3630443a817aa75a27093109078735168a59d21614606f0a0
+DIST hidapi-0.13.1.tar.gz 130169 BLAKE2B 127e622e4b85880f1c20ccb819b806c66357d8cfa6c15d370c13a6a0a3838ac6acf0673c7edbf5309a91f55051b6177800328b8f897ff43cd1e0af1b511c52a6 SHA512 8e6a7a6bf47e24f6f637cc036dc306518d893fc9fdf94639f626725e8f8767d7e85496d8db5f9f394d648ef5af4dd5ead0f0a6d452a019b5d9fa0716371febed
diff --git a/dev-python/hidapi/hidapi-0.13.1.ebuild b/dev-python/hidapi/hidapi-0.13.1.ebuild
new file mode 100644
index 000000000000..fe4ec8ca7aa0
--- /dev/null
+++ b/dev-python/hidapi/hidapi-0.13.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+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
+}
next reply other threads:[~2023-01-19 19:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-19 19:26 Stephan Hartmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-15 19:16 [gentoo-commits] repo/gentoo:master commit in: dev-python/hidapi/ Arthur Zamarin
2024-12-23 16:01 Petr Vaněk
2024-11-20 7:56 Michał Górny
2024-11-07 6:45 Michał Górny
2024-07-24 4:24 Michał Górny
2024-06-27 14:40 Petr Vaněk
2023-12-25 7:30 Sam James
2023-09-18 9:50 Sam James
2023-09-09 2:31 Sam James
2023-03-16 3:50 Michał Górny
2022-08-30 18:23 Stephan Hartmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1674156361.79a6a1e3b984e2dab75d1e7fec3ff812edec4b3d.sultan@gentoo \
--to=sultan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox