Date: Sat, 17 Aug 2024 20:45:08 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: eac8162a0ae5 - main - comms/py-pynitrokey: a command line interface for Nitrokey Message-ID: <202408172045.47HKj8f0043733@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=eac8162a0ae5e931307896e0557005bd9535bbfe commit eac8162a0ae5e931307896e0557005bd9535bbfe Author: Shapovalov Alexey <aishapoval@mts.ru> AuthorDate: 2024-07-02 18:48:14 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-08-17 20:44:42 +0000 comms/py-pynitrokey: a command line interface for Nitrokey Sponsored by: Serenity Cybersecurity, LLC Co-authored-by: Gleb Popov <arrowd@FreeBSD.org> --- comms/Makefile | 1 + comms/py-pynitrokey/Makefile | 67 +++++++++++++++++++++++++++++++++++++++++++ comms/py-pynitrokey/distinfo | 3 ++ comms/py-pynitrokey/pkg-descr | 2 ++ 4 files changed, 73 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index 4e99ca4066c8..ad3895a04174 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -140,6 +140,7 @@ SUBDIR += py-nkdfu SUBDIR += py-pylink-square SUBDIR += py-pymodbus + SUBDIR += py-pynitrokey SUBDIR += py-pyocd SUBDIR += py-pyocd-pemicro SUBDIR += py-pyserial diff --git a/comms/py-pynitrokey/Makefile b/comms/py-pynitrokey/Makefile new file mode 100644 index 000000000000..5ea3398e0bed --- /dev/null +++ b/comms/py-pynitrokey/Makefile @@ -0,0 +1,67 @@ +PORTNAME= pynitrokey +DISTVERSION= 0.4.50 +CATEGORIES= comms python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= awoonyaa@gmail.com +COMMENT= Command line interface for Nitrokey FIDO2, Nitr. Start, Nitr.3, NetHSM +WWW= https://pypi.org/project/pynitrokey/ + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}spsdk>=0:comms/py-spsdk@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>=14.5.14,:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.0,:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ecdsa>=0:security/py-ecdsa@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<2:security/py-fido2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}intelhex>=0:devel/py-intelhex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nkdfu>=0:comms/py-nkdfu@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click_aliases>=0:devel/py-click-aliases@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nethsm>=1.0.0,<2:security/py-nethsm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-api-python-client>0:www/py-google-api-python-client@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}spsdk>=0:comms/py-spsdk@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>=14.5.14,:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.0,:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ecdsa>=0:security/py-ecdsa@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<2:security/py-fido2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}intelhex>=0:devel/py-intelhex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nkdfu>=0:comms/py-nkdfu@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click_aliases>=0:devel/py-click-aliases@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nethsm>=1.0.0,<2:security/py-nethsm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-api-python-client>0:www/py-google-api-python-client@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} + +PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel +PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:devel/py-flit-core@${PY_FLAVOR} + +USES= python shebangfix +USE_PYTHON= autoplist concurrent pep517 + +SHEBANG_FILES= pynitrokey/start/upgrade_by_passwd.py \ + pynitrokey/start/usb_strings.py + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/comms/py-pynitrokey/distinfo b/comms/py-pynitrokey/distinfo new file mode 100755 index 000000000000..ff5db5e78379 --- /dev/null +++ b/comms/py-pynitrokey/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1723887077 +SHA256 (pynitrokey-0.4.50.tar.gz) = 048070218c6851c2bb13af5111cbbfaa6ae9365c98c2703b226de2452b169670 +SIZE (pynitrokey-0.4.50.tar.gz) = 179654 diff --git a/comms/py-pynitrokey/pkg-descr b/comms/py-pynitrokey/pkg-descr new file mode 100755 index 000000000000..0a011755b693 --- /dev/null +++ b/comms/py-pynitrokey/pkg-descr @@ -0,0 +1,2 @@ +A command line interface for the Nitrokey FIDO2, Nitrokey Start, +Nitrokey 3 and NetHSM
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408172045.47HKj8f0043733>