pkgsrc-WIP-changes archive

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

re-add py-hkdf to wip for further refinements



Module Name:	pkgsrc-wip
Committed By:	Matthias Ferdinand <mf+ml.pkgsrc-users%netzwerkagentursaarland.de@localhost>
Pushed By:	o4v-mf-pkgsrc
Date:		Sat Jun 26 21:41:34 2021 +0200
Changeset:	8cd74d8384b0790dbcc286077defe15157b354db

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

Log Message:
re-add py-hkdf to wip for further refinements

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

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

diffstat:
 py-hkdf/DESCR    |  7 +++++++
 py-hkdf/Makefile | 23 +++++++++++++++++++++++
 py-hkdf/PLIST    |  8 ++++++++
 py-hkdf/distinfo |  6 ++++++
 4 files changed, 44 insertions(+)

diffs:
diff --git a/py-hkdf/DESCR b/py-hkdf/DESCR
new file mode 100644
index 0000000000..ed0ec8abbf
--- /dev/null
+++ b/py-hkdf/DESCR
@@ -0,0 +1,7 @@
+This module implements the HMAC Key Derivation function, defined at
+
+    http://tools.ietf.org/html/draft-krawczyk-hkdf-01
+
+There are two interfaces: a functional interface, with separate extract
+and expand functions as defined in the draft RFC, and a wrapper class
+for these functions.
diff --git a/py-hkdf/Makefile b/py-hkdf/Makefile
new file mode 100644
index 0000000000..2624aaf628
--- /dev/null
+++ b/py-hkdf/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	hkdf-0.0.3
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	security python
+MASTER_SITES=	${MASTER_SITE_PYPI:=h/hkdf/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/casebeer/python-hkdf
+COMMENT=	HMAC-based Extract-and-Expand Key Derivation Function (HKDF; RFC 5869)
+LICENSE=	2-clause-bsd
+
+# if devel/py-nose  is not installed, it fails with
+#    don't know how to make generate-wrappers
+TEST_DEPENDS+=    ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+
+# DEPENDS correctly auto-installs, but it gives an unnecessary dependency 
+# while not testing
+#DEPENDS+=    ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-hkdf/PLIST b/py-hkdf/PLIST
new file mode 100644
index 0000000000..ce2169340e
--- /dev/null
+++ b/py-hkdf/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/hkdf.py
+${PYSITELIB}/hkdf.pyc
+${PYSITELIB}/hkdf.pyo
diff --git a/py-hkdf/distinfo b/py-hkdf/distinfo
new file mode 100644
index 0000000000..c65956de0d
--- /dev/null
+++ b/py-hkdf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (hkdf-0.0.3.tar.gz) = 8a9ae11de8270cd679839945b80f2fd1d0d11c77
+RMD160 (hkdf-0.0.3.tar.gz) = 655173ded611e8c58a3d05225bc18aa2c6896bd7
+SHA512 (hkdf-0.0.3.tar.gz) = c58f9310c151f8d710998d019221713ec71ac8083c42300f5e77326c7b35be341263c40fb485402937c381a6435cbd9899c8d32846a50d1d1e6a4d3e61f58c7d
+Size (hkdf-0.0.3.tar.gz) = 3959 bytes


Home | Main Index | Thread Index | Old Index