Resurrect py-libnacl 1.6.1 from the Attic, from maintainer Renaud Allard
This library is used to gain direct access to the functions exposed by Daniel J. Bernstein's nacl library via libsodium or tweetnacl. It has been constructed to maintain extensive documentation on how to use nacl as well as being completely portable. The file in libnacl/__init__.py can be pulled out and placed directly in any project to give a single file binding to all of nacl. dependency for upcoming synapse/matrix server port. readded with REVISION=3 bumped to be above the last version in-tree. ok solene@
This commit is contained in:
parent
7df428962c
commit
f449bc5df2
35
security/py-libnacl/Makefile
Normal file
35
security/py-libnacl/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2020/03/08 16:42:52 landry Exp $
|
||||
|
||||
COMMENT= python bindings for libsodium/tweetnacl based on ctypes
|
||||
|
||||
MODPY_EGG_VERSION= 1.6.1
|
||||
DISTNAME= libnacl-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-${DISTNAME}
|
||||
REVISION= 3
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
HOMEPAGE= https://libnacl.readthedocs.org/en/latest/
|
||||
|
||||
MAINTAINER= Renaud Allard <renaud@allard.it>
|
||||
|
||||
# apache 2.0
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
MODPY_PYTEST = Yes
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
|
||||
RUN_DEPENDS = security/libsodium
|
||||
|
||||
# PyPI tarball has .pyc files it shouldn't
|
||||
# https://github.com/saltstack/libnacl/issues/112
|
||||
pre-test:
|
||||
rm ${WRKSRC}/tests/unit/*.pyc
|
||||
rm -rf ${WRKSRC}/tests/unit/__pycache__/
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/py-libnacl/distinfo
Normal file
2
security/py-libnacl/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (libnacl-1.6.1.tar.gz) = m6w9iGdnjEV9DAGPAoBSmWq1Z6a0lk6CoXBy7SyyZ1s=
|
||||
SIZE (libnacl-1.6.1.tar.gz) = 65443
|
5
security/py-libnacl/pkg/DESCR
Normal file
5
security/py-libnacl/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
This library is used to gain direct access to the functions exposed by Daniel J.
|
||||
Bernstein's nacl library via libsodium or tweetnacl. It has been constructed to
|
||||
maintain extensive documentation on how to use nacl as well as being completely
|
||||
portable. The file in libnacl/__init__.py can be pulled out and placed directly
|
||||
in any project to give a single file binding to all of nacl.
|
32
security/py-libnacl/pkg/PLIST
Normal file
32
security/py-libnacl/pkg/PLIST
Normal file
@ -0,0 +1,32 @@
|
||||
@comment $OpenBSD: PLIST,v 1.7 2020/03/08 16:42:52 landry Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}aead.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}base.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}blake.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}dual.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}encode.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}public.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}sealed.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}secret.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}sign.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/aead.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/base.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/blake.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/dual.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/encode.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/public.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/sealed.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/secret.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/sign.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/libnacl/version.py
|
Loading…
Reference in New Issue
Block a user