pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security security/py-solo: Import solo-python 0.0.26



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ace08123042
branches:  trunk
changeset: 443433:0ace08123042
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Sun Dec 13 07:21:29 2020 +0000

description:
security/py-solo: Import solo-python 0.0.26

Tool and Python library for managing SoloKeys

diffstat:

 security/Makefile         |   3 +-
 security/py-solo/DESCR    |   1 +
 security/py-solo/Makefile |  58 +++++++++++++++++++++++++++++++++++++++++++++++
 security/py-solo/PLIST    |  46 +++++++++++++++++++++++++++++++++++++
 security/py-solo/distinfo |   6 ++++
 5 files changed, 113 insertions(+), 1 deletions(-)

diffs (144 lines):

diff -r eae7bfbf4e53 -r 0ace08123042 security/Makefile
--- a/security/Makefile Sun Dec 13 07:20:57 2020 +0000
+++ b/security/Makefile Sun Dec 13 07:21:29 2020 +0000
@@ -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-simplesha3
 SUBDIR+=       py-slowaes
 SUBDIR+=       py-smbpasswd
+SUBDIR+=       py-solo
 SUBDIR+=       py-stix
 SUBDIR+=       py-tlslite
 SUBDIR+=       py-trustme
diff -r eae7bfbf4e53 -r 0ace08123042 security/py-solo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-solo/DESCR    Sun Dec 13 07:21:29 2020 +0000
@@ -0,0 +1,1 @@
+Python tool and library for managing SoloKeys.
diff -r eae7bfbf4e53 -r 0ace08123042 security/py-solo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-solo/Makefile Sun Dec 13 07:21:29 2020 +0000
@@ -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"
diff -r eae7bfbf4e53 -r 0ace08123042 security/py-solo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-solo/PLIST    Sun Dec 13 07:21:29 2020 +0000
@@ -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
diff -r eae7bfbf4e53 -r 0ace08123042 security/py-solo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-solo/distinfo Sun Dec 13 07:21:29 2020 +0000
@@ -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