From 250540d9ce69b6ef5ef300fe64cdcda75ee0ebc5 Mon Sep 17 00:00:00 2001 From: ojkastl_buildservice <> Date: Feb 26 2025 16:25:15 +0000 Subject: Update python-hidapi to version 0.14.0.post2 / rev 1 via SR 1248469 https://build.opensuse.org/request/show/1248469 by user ojkastl_buildservice + dimstar_suse new package python-hidapi, required by python-pynitrokey >= 0.7.x --- diff --git a/.files b/.files new file mode 100644 index 0000000..6d458dc Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..c60a739 --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ +<package name="python-hidapi" project="openSUSE:Factory"> + <title></title> + <description>Needed by rivalcfg ==> https://build.opensuse.org/package/show/home:sbradnick/python-rivalcfg</description> + <url>https://pypi.org/project/hidapi/</url> +</package> diff --git a/.rev b/.rev new file mode 100644 index 0000000..d7e7f88 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ +<revisionlist> + <revision rev="1" vrev="1"> + <srcmd5>ebb350bd73f02b928337916a9a13cd36</srcmd5> + <version>0.14.0.post2</version> + <time>1740586629</time> + <user>dimstar_suse</user> + <comment>new package python-hidapi, required by python-pynitrokey >= 0.7.x</comment> + <requestid>1248469</requestid> + </revision> +</revisionlist> diff --git a/hidapi-0.14.0.post2.tar.gz b/hidapi-0.14.0.post2.tar.gz new file mode 120000 index 0000000..3842e8c --- /dev/null +++ b/hidapi-0.14.0.post2.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreidmb2l3u2yftiyj2unuswupbvppxtviovvwidmyw33lxh666jcyvq \ No newline at end of file diff --git a/python-hidapi.changes b/python-hidapi.changes new file mode 100644 index 0000000..1fe0045 --- /dev/null +++ b/python-hidapi.changes @@ -0,0 +1,34 @@ +------------------------------------------------------------------- +Tue Sep 17 03:32:59 UTC 2024 - Marcus Rueckert <mrueckert@suse.de> + +- Update to 0.14.0.post2 + +------------------------------------------------------------------- +Fri Jan 19 23:14:08 UTC 2024 - Marcus Rueckert <mrueckert@suse.de> + +- Updating to upstream version 0.14.0 + +------------------------------------------------------------------- +Wed Jan 18 21:32:26 UTC 2023 - Scott Bradnick <scott.bradnick@suse.com> + +- Updating to upstream version 0.13.1 + * expose version of bindings as hid.__version__ + * expose hid_version_str + * Update cibuildwheel action to 2.11.2 + * bump hidapi to 0.13.1 + * bump github actions versions + +------------------------------------------------------------------- +Wed Aug 17 14:04:06 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com> + +- Updating to upstream version 0.12.0.post2 + +------------------------------------------------------------------- +Mon Apr 4 19:15:50 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com> + +- Updating to upstream version 0.11.2 + +------------------------------------------------------------------- +Sat Mar 26 22:20:15 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com> + +- Initial version 0.11.0.post2 from upstream via py2pack diff --git a/python-hidapi.spec b/python-hidapi.spec new file mode 100644 index 0000000..2a8345b --- /dev/null +++ b/python-hidapi.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-hidapi +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + +Name: python-hidapi +Version: 0.14.0.post2 +Release: 0 +Summary: A Cython interface to the hidapi from https://githubcom/libusb/hidapi +License: BSD-3-Clause AND GPL-3.0 +URL: https://github.com/trezor/cython-hidapi +# osc service runall download_files +Source: https://files.pythonhosted.org/packages/source/h/hidapi/hidapi-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module poetry} +BuildRequires: %{python_module Cython0} +# SECTION test requirements +BuildRequires: %{python_module setuptools >= 19.0} +# /SECTION +BuildRequires: fdupes +BuildRequires: libusb-1_0-devel +BuildRequires: libgudev-1_0-devel +BuildRequires: pkgconfig(hidapi-hidraw) +Requires: python-Cython0 + +%python_subpackages + +%description +A Cython interface to the hidapi from https://github.com/libusb/hidapi + +%prep +%setup -q -n hidapi-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.rst +%license LICENSE-bsd.txt LICENSE-gpl3.txt LICENSE-orig.txt LICENSE.txt +%{python_sitearch}/hid.* +%{python_sitearch}/hidapi-%{version}* + +%changelog