pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-pynitrokey: packaged 2 more dependencies



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Thu May 18 14:42:03 2023 +0200
Changeset:	448c64273c1c979d7c20cf59fd2eb8b1cfd05c90

Modified Files:
	py-pynitrokey/Makefile
	py-pynitrokey/PLIST
Added Files:
	py-pynitrokey/ALTERNATIVES

Log Message:
py-pynitrokey: packaged 2 more dependencies

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=448c64273c1c979d7c20cf59fd2eb8b1cfd05c90

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pynitrokey/ALTERNATIVES |  1 +
 py-pynitrokey/Makefile     | 10 ++++------
 py-pynitrokey/PLIST        |  2 ++
 3 files changed, 7 insertions(+), 6 deletions(-)

diffs:
diff --git a/py-pynitrokey/ALTERNATIVES b/py-pynitrokey/ALTERNATIVES
new file mode 100644
index 0000000000..23a4ecd4aa
--- /dev/null
+++ b/py-pynitrokey/ALTERNATIVES
@@ -0,0 +1 @@
+bin/nitropy @PREFIX@/bin/nitropy-${PYVERSSUFFIX}
diff --git a/py-pynitrokey/Makefile b/py-pynitrokey/Makefile
index 531800f3a2..20fa502d4f 100644
--- a/py-pynitrokey/Makefile
+++ b/py-pynitrokey/Makefile
@@ -4,9 +4,6 @@ DISTNAME=	pynitrokey-0.4.36
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S,py,,}
 CATEGORIES=	security python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pynitrokey/}
-#MASTER_SITES=	${MASTER_SITE_GITHUB:=Nitrokey/}
-#GITHUB_PROJECT=	pynitrokey
-#GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	nikita%NetBSD.org@localhost
 HOMEPAGE=	https://pypi.org/project/pynitrokey/
@@ -22,8 +19,8 @@ DEPENDS+=	${PYPKGPREFIX}-protobuf-[0-9]*:../../devel/py-protobuf
 DEPENDS+=	${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
 DEPENDS+=	${PYPKGPREFIX}-scard-[0-9]*:../../devel/py-scard
 DEPENDS+=	${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
-#DEPENDS+=	${PYPKGPREFIX}-libusb1-[0-9]*:../../devel/py-libusb1  # TODO: package this
-#DEPENDS+=	${PYPKGPREFIX}-nkdfu-[0-9]*:../../devel/py-nkdfu
+DEPENDS+=	${PYPKGPREFIX}-libusb1-[0-9]*:../../devel/py-libusb1
+DEPENDS+=	${PYPKGPREFIX}-nkdfu-[0-9]*:../../sysutils/py-nkdfu
 #DEPENDS+=	${PYPKGPREFIX}-spsdk-[0-9]*:../../devel/py-spsdk
 #DEPENDS+=	${PYPKGPREFIX}-tlv8-[0-9]*:../../devel/py-tlv8
 DEPENDS+=	${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
@@ -33,7 +30,8 @@ DEPENDS+=	libnitrokey-[0-9]*:../../security/libnitrokey
 DEPENDS+=	${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
 DEPENDS+=	${PYPKGPREFIX}-urllib3-[0-9]*:../../www/py-urllib3
 
-PYTHON_VERSIONS_INCOMPATIBLE=	27 38
+# Only supports python 3.9 or higher.
+PYTHON_VERSIONS_INCOMPATIBLE=	27 37 38
 
 USE_LANGUAGES=	# none
 
diff --git a/py-pynitrokey/PLIST b/py-pynitrokey/PLIST
index 68e6659c82..cc4cfd2435 100644
--- a/py-pynitrokey/PLIST
+++ b/py-pynitrokey/PLIST
@@ -423,6 +423,8 @@ ${PYSITELIB}/pynitrokey/nethsm/client/paths/health_state/__init__.pyc
 ${PYSITELIB}/pynitrokey/nethsm/client/paths/health_state/get.py
 ${PYSITELIB}/pynitrokey/nethsm/client/paths/health_state/get.pyc
 ${PYSITELIB}/pynitrokey/nethsm/client/paths/health_state/get.pyi
+${PYSITELIB}/pynitrokey/nethsm/client/paths/info/__init__.pyc
+${PYSITELIB}/pynitrokey/nethsm/client/paths/info/get.pyc
 ${PYSITELIB}/pynitrokey/nethsm/client/paths/info/__init__.py
 ${PYSITELIB}/pynitrokey/nethsm/client/paths/info/__init__.pyc
 ${PYSITELIB}/pynitrokey/nethsm/client/paths/info/get.py


Home | Main Index | Thread Index | Old Index