summaryrefslogtreecommitdiff
path: root/security/py-nitrokey/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-nitrokey/Makefile')
-rw-r--r--security/py-nitrokey/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/security/py-nitrokey/Makefile b/security/py-nitrokey/Makefile
new file mode 100644
index 000000000000..4fbcdf8adcd3
--- /dev/null
+++ b/security/py-nitrokey/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= nitrokey
+DISTVERSION= 0.3.2
+CATEGORIES= security devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= monwarez@mailoo.org
+COMMENT= Python SDK for Nitrokey devices
+WWW= https://pypi.org/project/nitrokey/
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<3:security/py-fido2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<3:security/py-fido2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR}
+
+USES= python shebangfix
+USE_PYTHON= autoplist concurrent cryptography pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>