pkgsrc-WIP-changes archive

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

py-pynitrokey: move binary to include pyversuffix



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Thu Apr 27 22:48:40 2023 +0200
Changeset:	6f33de00b041c3c715c8539dec26c510c6939458

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

Log Message:
py-pynitrokey: move binary to include pyversuffix

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

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

diffstat:
 py-pynitrokey/Makefile | 6 +++---
 py-pynitrokey/PLIST    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/py-pynitrokey/Makefile b/py-pynitrokey/Makefile
index fa9e4a05c4..adbbcb7b81 100644
--- a/py-pynitrokey/Makefile
+++ b/py-pynitrokey/Makefile
@@ -37,9 +37,9 @@ PYTHON_VERSIONS_INCOMPATIBLE=	27 38
 
 USE_LANGUAGES=	# none
 
-#post-install:
-#	cd ${DESTDIR}${PREFIX}/bin && \
-#        ${MV} pip-audit pip-audit-${PYVERSSUFFIX} || ${TRUE}
+post-install:
+	cd ${DESTDIR}${PREFIX}/bin && \
+        ${MV} nitropy nitropy-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pynitrokey/PLIST b/py-pynitrokey/PLIST
index 0d156c49b8..68e6659c82 100644
--- a/py-pynitrokey/PLIST
+++ b/py-pynitrokey/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/nitropy
+bin/nitropy-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE-APACHE
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE-MIT


Home | Main Index | Thread Index | Old Index