pkgsrc-Changes archive

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

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Sun Dec 13 07:21:29 UTC 2020

Modified Files:
        pkgsrc/security: Makefile
Added Files:
        pkgsrc/security/py-solo: DESCR Makefile PLIST distinfo

Log Message:
security/py-solo: Import solo-python 0.0.26

Tool and Python library for managing SoloKeys


To generate a diff of this commit:
cvs rdiff -u -r1.790 -r1.791 pkgsrc/security/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-solo/DESCR \
    pkgsrc/security/py-solo/Makefile pkgsrc/security/py-solo/PLIST \
    pkgsrc/security/py-solo/distinfo

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

Modified files:

Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.790 pkgsrc/security/Makefile:1.791
--- pkgsrc/security/Makefile:1.790      Fri Nov 27 10:20:00 2020
+++ pkgsrc/security/Makefile    Sun Dec 13 07:21:29 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.790 2020/11/27 10:20:00 schmonz Exp $
+# $NetBSD: Makefile,v 1.791 2020/12/13 07:21:29 riastradh Exp $
 #
 
 COMMENT=       Security tools
@@ -501,6 +501,7 @@ SUBDIR+=    py-signedjson
 SUBDIR+=       py-simplesha3
 SUBDIR+=       py-slowaes
 SUBDIR+=       py-smbpasswd
+SUBDIR+=       py-solo
 SUBDIR+=       py-stix
 SUBDIR+=       py-tlslite
 SUBDIR+=       py-trustme

Added files:

Index: pkgsrc/security/py-solo/DESCR
diff -u /dev/null pkgsrc/security/py-solo/DESCR:1.1
--- /dev/null   Sun Dec 13 07:21:29 2020
+++ pkgsrc/security/py-solo/DESCR       Sun Dec 13 07:21:29 2020
@@ -0,0 +1 @@
+Python tool and library for managing SoloKeys.
Index: pkgsrc/security/py-solo/Makefile
diff -u /dev/null pkgsrc/security/py-solo/Makefile:1.1
--- /dev/null   Sun Dec 13 07:21:29 2020
+++ pkgsrc/security/py-solo/Makefile    Sun Dec 13 07:21:29 2020
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1 2020/12/13 07:21:29 riastradh Exp $
+
+GITHUB_PROJECT=        solo-python
+GITHUB_TAG=    0.0.26
+DISTNAME=      0.0.26
+PKGNAME=       ${PYPKGPREFIX}-${GITHUB_PROJECT}-${DISTNAME:C/-python$//}
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=solokeys/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/solokeys/solo-python/
+COMMENT=       Tool for managing SoloKeys
+LICENSE=       apache-2.0 OR mit
+
+WRKSRC=                ${WRKDIR}/solo-python-0.0.26
+USE_LANGUAGES= # none
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit>=0:../../devel/py-flit
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pip>=0:../../devel/py-pip
+
+DEPENDS+=      ${PYPKGPREFIX}-click>=7.0:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=0:../../security/py-cryptography
+DEPENDS+=      ${PYPKGPREFIX}-fido2>=0.8:../../security/py-fido2
+DEPENDS+=      ${PYPKGPREFIX}-intelhex>=0:../../devel/py-intelhex
+DEPENDS+=      ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-serial>=0:../../comms/py-serial
+DEPENDS+=      ${PYPKGPREFIX}-usb>=0:../../devel/py-usb
+
+MAKE_ENV+=     FLIT_NO_NETWORK=1
+
+MAKE_ENV+=     PIP_DISABLE_PIP_VERSION_CHECK=1
+MAKE_ENV+=     PIP_ISOLATED=1
+MAKE_ENV+=     PIP_NO_CACHE_DIR=1
+MAKE_ENV+=     PIP_NO_DEPS=1
+MAKE_ENV+=     PIP_NO_INDEX=1
+MAKE_ENV+=     PIP_PREFIX=${PREFIX:Q}
+MAKE_ENV+=     PIP_PROXY=0.0.0.0:0
+MAKE_ENV+=     PIP_ROOT=${DESTDIR:Q}
+
+do-build:
+       ${RUN} cd ${WRKSRC} && \
+       ${SETENV} ${MAKE_ENV} ${PYTHONBIN} -m flit build
+
+do-install:
+       ${RUN} cd ${WRKSRC} && \
+       ${SETENV} ${MAKE_ENV} ${PYTHONBIN} -m pip install -I \
+               --no-warn-script-location \
+               dist/solo_python-${PKGVERSION_NOREV}-py3-none-any.whl
+       ${RUN} cd ${DESTDIR:Q}${PREFIX:Q}/bin && \
+       ${MV} -f solo solo${PYVERSSUFFIX}
+
+# No automatic tests here, it seems.
+do-test:;
+
+PY_PATCHPLIST= yes
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-solo/PLIST
diff -u /dev/null pkgsrc/security/py-solo/PLIST:1.1
--- /dev/null   Sun Dec 13 07:21:29 2020
+++ pkgsrc/security/py-solo/PLIST       Sun Dec 13 07:21:29 2020
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/13 07:21:29 riastradh Exp $
+bin/solo${PYVERSSUFFIX}
+${PYSITELIB}/solo/VERSION
+${PYSITELIB}/solo/__init__.py
+${PYSITELIB}/solo/__init__.pyc
+${PYSITELIB}/solo/cli/__init__.py
+${PYSITELIB}/solo/cli/__init__.pyc
+${PYSITELIB}/solo/cli/_checks.py
+${PYSITELIB}/solo/cli/_checks.pyc
+${PYSITELIB}/solo/cli/_patches.py
+${PYSITELIB}/solo/cli/_patches.pyc
+${PYSITELIB}/solo/cli/key.py
+${PYSITELIB}/solo/cli/key.pyc
+${PYSITELIB}/solo/cli/monitor.py
+${PYSITELIB}/solo/cli/monitor.pyc
+${PYSITELIB}/solo/cli/program.py
+${PYSITELIB}/solo/cli/program.pyc
+${PYSITELIB}/solo/cli/update.py
+${PYSITELIB}/solo/cli/update.pyc
+${PYSITELIB}/solo/client.py
+${PYSITELIB}/solo/client.pyc
+${PYSITELIB}/solo/commands.py
+${PYSITELIB}/solo/commands.pyc
+${PYSITELIB}/solo/dfu.py
+${PYSITELIB}/solo/dfu.pyc
+${PYSITELIB}/solo/enums.py
+${PYSITELIB}/solo/enums.pyc
+${PYSITELIB}/solo/exceptions.py
+${PYSITELIB}/solo/exceptions.pyc
+${PYSITELIB}/solo/fido2/__init__.py
+${PYSITELIB}/solo/fido2/__init__.pyc
+${PYSITELIB}/solo/helpers.py
+${PYSITELIB}/solo/helpers.pyc
+${PYSITELIB}/solo/hmac_secret.py
+${PYSITELIB}/solo/hmac_secret.pyc
+${PYSITELIB}/solo/operations.py
+${PYSITELIB}/solo/operations.pyc
+${PYSITELIB}/solo/solotool.py
+${PYSITELIB}/solo/solotool.pyc
+${PYSITELIB}/solo_python-${PKGVERSION}.dist-info/INSTALLER
+${PYSITELIB}/solo_python-${PKGVERSION}.dist-info/METADATA
+${PYSITELIB}/solo_python-${PKGVERSION}.dist-info/RECORD
+${PYSITELIB}/solo_python-${PKGVERSION}.dist-info/REQUESTED
+${PYSITELIB}/solo_python-${PKGVERSION}.dist-info/WHEEL
+${PYSITELIB}/solo_python-${PKGVERSION}.dist-info/direct_url.json
+${PYSITELIB}/solo_python-${PKGVERSION}.dist-info/entry_points.txt
Index: pkgsrc/security/py-solo/distinfo
diff -u /dev/null pkgsrc/security/py-solo/distinfo:1.1
--- /dev/null   Sun Dec 13 07:21:29 2020
+++ pkgsrc/security/py-solo/distinfo    Sun Dec 13 07:21:29 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/13 07:21:29 riastradh Exp $
+
+SHA1 (solo-python/0.0.26.tar.gz) = 6be26f59f9bb41a34bc1e09cadbe5db8ec1b4aea
+RMD160 (solo-python/0.0.26.tar.gz) = 4559e01fbc511c5fdac9417a48c83dcbf7dd829a
+SHA512 (solo-python/0.0.26.tar.gz) = f97da4a4ed3b0e0f4715407b179d8a8c1385076611fe8669cec6b514313d38dd14c6c22434b73e2c72f7456407a6c942b26b72cca7a56969cfbc630ee25aad85
+Size (solo-python/0.0.26.tar.gz) = 35251 bytes



Home | Main Index | Thread Index | Old Index