notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-hidapi Cython interface to comms/hidapi
0.14.0 comms on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.14.0Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-10-11 22:34:41
Last Update: 2024-03-09 15:21:12
Commit Hash: af810d9
People watching this port, also watch:: libssh, p5-MIME-Tools, noto-tc, linux-c7-atk, lua54-luaexpat
Also Listed In: python
License: BSD3CLAUSE GPLv3 PD
WWW:
https://pypi.org/project/hidapi/
Description:
Cython interface to comms/hidapi.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}hidapi>0:comms/py-hidapi@${PY_FLAVOR}
To install the port:
cd /usr/ports/comms/py-hidapi/ && make install clean
To add the package, run one of these commands:
  • pkg install comms/py-hidapi
  • pkg install py39-hidapi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-hidapi listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-hidapi
Package flavors (<flavor>: <package>)
  • py39: py39-hidapi
distinfo:
TIMESTAMP = 1705544232 SHA256 (trezor-cython-hidapi-0.14.0_GH0.tar.gz) = 211b0cb99b1f9724f3d1b09d198d764b7eca77514ae86584e3f3ce872aefff51 SIZE (trezor-cython-hidapi-0.14.0_GH0.tar.gz) = 22504

Packages (timestamps in pop-ups are UTC):
py37-hidapi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.10.1---0.10.1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-hidapi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.11.0.p2--0.11.0.p20.11.0.p20.11.0.p2
FreeBSD:14:latest--0.11.0.p2--0.11.0.p2-0.11.0.p2
FreeBSD:14:quarterly-----0.11.0.p20.11.0.p20.11.0.p2
FreeBSD:15:latest--n/a-n/a0.14.00.14.00.14.0
 
py311-hidapi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.14.00.14.0-0.14.00.14.0---
FreeBSD:13:quarterly0.14.00.14.0-0.14.00.14.0---
FreeBSD:14:latest0.14.00.14.0-0.14.00.14.0---
FreeBSD:14:quarterly0.14.00.14.0-0.14.00.14.0---
FreeBSD:15:latest0.14.00.14.0n/a0.14.0n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-cython>0 : lang/cython@py39
  2. py39-recommonmark>0 : textproc/py-recommonmark@py39
  3. py39-setuptools>0 : devel/py-setuptools@py39
  4. py39-sphinx>0 : textproc/py-sphinx@py39
  5. py39-sphinx_rtd_theme>0 : textproc/py-sphinx_rtd_theme@py39
  6. py39-wheel>0 : devel/py-wheel@py39
  7. cython-3.9 : lang/cython@py39
  8. python3.9 : lang/python39
  9. py39-build>=0 : devel/py-build@py39
  10. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. py39-tox>0 : devel/py-tox@py39
  2. py39-pytest>=7,1 : devel/py-pytest@py39
  3. python3.9 : lang/python39
Runtime dependencies:
  1. py39-wheel>0 : devel/py-wheel@py39
  2. python3.9 : lang/python39
Library dependencies:
  1. libhidapi.so : comms/hidapi
This port is required by:
for Run
  1. finance/electrum
  2. security/py-bitbox02
  3. security/py-btchip-python
  4. security/py-ckcc-protocol
  5. security/py-keepkey
  6. security/py-onlykey
  7. security/py-trezor
Expand this list (9 items / 2 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. sysutils/py-liquidctl
  3. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. security/py-btchip*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for py39-hidapi-0.14.0: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
comms_py-hidapi
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/trezor/cython-hidapi/tar.gz/0.14.0?dummy=/
Collapse this list.

Number of commits found: 18

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.14.0
09 Mar 2024 15:21:12
commit hash: af810d99930190808f80e7256f0ecb5bdc41e758commit hash: af810d99930190808f80e7256f0ecb5bdc41e758commit hash: af810d99930190808f80e7256f0ecb5bdc41e758commit hash: af810d99930190808f80e7256f0ecb5bdc41e758 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
comms/py-hidapi: Convert to USE_PYTHON=pytest

Approved by:	portmgr (blanket)
With hat:	python
0.14.0
18 Jan 2024 10:07:09
commit hash: 03236bf4cd3013f19e8a02525f24a386c6cfcaa6commit hash: 03236bf4cd3013f19e8a02525f24a386c6cfcaa6commit hash: 03236bf4cd3013f19e8a02525f24a386c6cfcaa6commit hash: 03236bf4cd3013f19e8a02525f24a386c6cfcaa6 files touched by this commit
Ruslan Makhmatkhanov (rm) search for other commits by this committer
comms/py-hidapi: Update to 0.14.0

Update to 0.14.0
- Use Github over PYPI to obtain documentation source
- Use Sphinx to build HTML, and manual page documentation
- Switch to PEP517 build
- Add testing framework
- Update LICENSE block

PR:		276412
Submitted by:	Alastair Hogge <agh@riseup.net>
0.11.0.p2
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.11.0.p2
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
0.11.0.p2
17 Oct 2022 12:02:09
commit hash: 24582f35511473609c12950304f873517128020dcommit hash: 24582f35511473609c12950304f873517128020dcommit hash: 24582f35511473609c12950304f873517128020dcommit hash: 24582f35511473609c12950304f873517128020d files touched by this commit
Emanuel Haupt (ehaupt) search for other commits by this committer
*/*: Drop maintainership
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.11.0.p2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.11.0.p2
20 Jul 2022 14:21:01
commit hash: 258a98847ee4f106a2eed7fade8197d0a987d592commit hash: 258a98847ee4f106a2eed7fade8197d0a987d592commit hash: 258a98847ee4f106a2eed7fade8197d0a987d592commit hash: 258a98847ee4f106a2eed7fade8197d0a987d592 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
comms: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  'Big Bad Bob' Frazier <bobf@mrp3.com>
  *  <mr@freebsd.org>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrew Dolgov <fox@furry.spb.ru>
  *  Andrey Lykhin <lan31@inbox.ru>
  *  Anton Voronin <anton@urc.ac.ru>
  *  Brandon S. Allbery KF8NH <allbery@ece.cmu.edu>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.11.0.p2
22 Oct 2021 18:14:45
commit hash: 01f82dc73f6858ff0dca520410010f58cfe15bd8commit hash: 01f82dc73f6858ff0dca520410010f58cfe15bd8commit hash: 01f82dc73f6858ff0dca520410010f58cfe15bd8commit hash: 01f82dc73f6858ff0dca520410010f58cfe15bd8 files touched by this commit
Emanuel Haupt (ehaupt) search for other commits by this committer
comms/py-hidapi: Update to 0.11.0.p2
0.10.1_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.10.1_1
17 Mar 2021 10:01:26
Revision:568637Original commit files touched by this commit
tijl search for other commits by this committer
The libusb project has adopted hidapi.  Update to their latest release,
0.10.1.  Bump py-hidapi so it gets rebuilt to use new functions.
Hand over to maintainer of py-hidapi so the two can be maintained together.

Reported by:	Corey Stephan (marquette.edu)
Tested by:	ehaupt
0.10.1
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
0.10.1
25 Dec 2020 09:45:28
Revision:559233Original commit files touched by this commit
ehaupt search for other commits by this committer
Update to 0.10.1 and sort USE_PYTHON
0.9.0
24 Dec 2020 13:46:02
Revision:559094Original commit files touched by this commit
kai search for other commits by this committer
Relax hardcoded paths to fix build with Python 3.8.7

Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
0.9.0
11 Feb 2020 17:05:05
Revision:525837Original commit files touched by this commit
ehaupt search for other commits by this committer
Update to 0.9.0
0.7.99
25 Apr 2018 16:42:38
Revision:468282Original commit files touched by this commit
amdmi3 search for other commits by this committer
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
0.7.99
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.99
11 Oct 2017 22:34:31
Revision:451805Original commit files touched by this commit
ehaupt search for other commits by this committer
Add py-hidapi 0.7.99, cython interface to comms/hidapi.

Number of commits found: 18