pkgsrc-WIP-changes archive

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

re-import py-spake2 to enable proper test runs



Module Name:	pkgsrc-wip
Committed By:	Matthias Ferdinand <mf+ml.pkgsrc-users%netzwerkagentursaarland.de@localhost>
Pushed By:	o4v-mf-pkgsrc
Date:		Sat Jul 3 21:09:04 2021 +0200
Changeset:	8b907435762e1a4d4c3ba5f8ef4e2a986a4eae3e

Added Files:
	py-spake2/DESCR
	py-spake2/Makefile
	py-spake2/PLIST
	py-spake2/distinfo

Log Message:
re-import py-spake2 to enable proper test runs

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

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

diffstat:
 py-spake2/DESCR    |  4 +++
 py-spake2/Makefile | 23 +++++++++++++++++
 py-spake2/PLIST    | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 py-spake2/distinfo |  6 +++++
 4 files changed, 105 insertions(+)

diffs:
diff --git a/py-spake2/DESCR b/py-spake2/DESCR
new file mode 100644
index 0000000000..2576db538b
--- /dev/null
+++ b/py-spake2/DESCR
@@ -0,0 +1,4 @@
+This library implements the SPAKE2 password-authenticated key exchange
+("PAKE") algorithm. This allows two parties, who share a weak password,
+to safely derive a strong shared secret (and therefore build an
+encrypted+authenticated channel).
diff --git a/py-spake2/Makefile b/py-spake2/Makefile
new file mode 100644
index 0000000000..964f16e911
--- /dev/null
+++ b/py-spake2/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2021/06/23 21:07:29 wiz Exp $
+
+DISTNAME=	spake2-0.8
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	security python
+MASTER_SITES=	${MASTER_SITE_PYPI:=s/spake2/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/warner/python-spake2
+COMMENT=	Pure-Python SPAKE2
+LICENSE=	mit
+
+DEPENDS+=	${PYPKGPREFIX}-hkdf-[0-9]*:../../security/py-hkdf
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27 # devel/py-test is incompatible with 2.7 since 5.0.0
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-spake2/PLIST b/py-spake2/PLIST
new file mode 100644
index 0000000000..89cb74762f
--- /dev/null
+++ b/py-spake2/PLIST
@@ -0,0 +1,72 @@
+@comment $NetBSD: PLIST,v 1.1 2021/06/23 21:07:29 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/spake2/__init__.py
+${PYSITELIB}/spake2/__init__.pyc
+${PYSITELIB}/spake2/__init__.pyo
+${PYSITELIB}/spake2/_version.py
+${PYSITELIB}/spake2/_version.pyc
+${PYSITELIB}/spake2/_version.pyo
+${PYSITELIB}/spake2/ed25519_basic.py
+${PYSITELIB}/spake2/ed25519_basic.pyc
+${PYSITELIB}/spake2/ed25519_basic.pyo
+${PYSITELIB}/spake2/ed25519_group.py
+${PYSITELIB}/spake2/ed25519_group.pyc
+${PYSITELIB}/spake2/ed25519_group.pyo
+${PYSITELIB}/spake2/groups.py
+${PYSITELIB}/spake2/groups.pyc
+${PYSITELIB}/spake2/groups.pyo
+${PYSITELIB}/spake2/parameters/__init__.py
+${PYSITELIB}/spake2/parameters/__init__.pyc
+${PYSITELIB}/spake2/parameters/__init__.pyo
+${PYSITELIB}/spake2/parameters/all.py
+${PYSITELIB}/spake2/parameters/all.pyc
+${PYSITELIB}/spake2/parameters/all.pyo
+${PYSITELIB}/spake2/parameters/ed25519.py
+${PYSITELIB}/spake2/parameters/ed25519.pyc
+${PYSITELIB}/spake2/parameters/ed25519.pyo
+${PYSITELIB}/spake2/parameters/i1024.py
+${PYSITELIB}/spake2/parameters/i1024.pyc
+${PYSITELIB}/spake2/parameters/i1024.pyo
+${PYSITELIB}/spake2/parameters/i2048.py
+${PYSITELIB}/spake2/parameters/i2048.pyc
+${PYSITELIB}/spake2/parameters/i2048.pyo
+${PYSITELIB}/spake2/parameters/i3072.py
+${PYSITELIB}/spake2/parameters/i3072.pyc
+${PYSITELIB}/spake2/parameters/i3072.pyo
+${PYSITELIB}/spake2/params.py
+${PYSITELIB}/spake2/params.pyc
+${PYSITELIB}/spake2/params.pyo
+${PYSITELIB}/spake2/six.py
+${PYSITELIB}/spake2/six.pyc
+${PYSITELIB}/spake2/six.pyo
+${PYSITELIB}/spake2/spake2.py
+${PYSITELIB}/spake2/spake2.pyc
+${PYSITELIB}/spake2/spake2.pyo
+${PYSITELIB}/spake2/test/__init__.py
+${PYSITELIB}/spake2/test/__init__.pyc
+${PYSITELIB}/spake2/test/__init__.pyo
+${PYSITELIB}/spake2/test/common.py
+${PYSITELIB}/spake2/test/common.pyc
+${PYSITELIB}/spake2/test/common.pyo
+${PYSITELIB}/spake2/test/myhkdf.py
+${PYSITELIB}/spake2/test/myhkdf.pyc
+${PYSITELIB}/spake2/test/myhkdf.pyo
+${PYSITELIB}/spake2/test/test_compat.py
+${PYSITELIB}/spake2/test/test_compat.pyc
+${PYSITELIB}/spake2/test/test_compat.pyo
+${PYSITELIB}/spake2/test/test_group.py
+${PYSITELIB}/spake2/test/test_group.pyc
+${PYSITELIB}/spake2/test/test_group.pyo
+${PYSITELIB}/spake2/test/test_spake2.py
+${PYSITELIB}/spake2/test/test_spake2.pyc
+${PYSITELIB}/spake2/test/test_spake2.pyo
+${PYSITELIB}/spake2/test/test_utils.py
+${PYSITELIB}/spake2/test/test_utils.pyc
+${PYSITELIB}/spake2/test/test_utils.pyo
+${PYSITELIB}/spake2/util.py
+${PYSITELIB}/spake2/util.pyc
+${PYSITELIB}/spake2/util.pyo
diff --git a/py-spake2/distinfo b/py-spake2/distinfo
new file mode 100644
index 0000000000..676c8ba062
--- /dev/null
+++ b/py-spake2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/06/23 21:07:29 wiz Exp $
+
+SHA1 (spake2-0.8.tar.gz) = 8269dd1fbc97ef1bb3ecceefcf8495abf3c1f972
+RMD160 (spake2-0.8.tar.gz) = 556627a21bcaa79d01698c3d82f22b00d578cc9e
+SHA512 (spake2-0.8.tar.gz) = 406719ebb9731f7900a8a5c913dd63a81dd6d48da8b8d1f8ebc903fcfca01a8638032a1a757fe402a701a65ecca6be91a42b2271db251c06adfa8bf0daa35973
+Size (spake2-0.8.tar.gz) = 58088 bytes


Home | Main Index | Thread Index | Old Index