1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

PyNaCl is a Python binding to the Networking and Cryptography library, a crypto

library with the stated goal of improving usability, security and speed.

WWW: https://pypi.python.org/pypi/PyNaCl/

PR:		205060
Submitted by:	Yuri Victorovich <yuri@rawbw.com>
This commit is contained in:
Martin Wilke 2016-01-04 07:55:31 +00:00
parent 2b0db1bb14
commit cc39ba75ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405221
5 changed files with 49 additions and 0 deletions

View File

@ -853,6 +853,7 @@
SUBDIR += py-pyelliptic
SUBDIR += py-pylibacl
SUBDIR += py-pyme
SUBDIR += py-pynacl
SUBDIR += py-pyptlib
SUBDIR += py-pyscard
SUBDIR += py-pysha3

View File

@ -0,0 +1,28 @@
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= pynacl
PORTVERSION= 0.3.0
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyNaCl-${PORTVERSION}
MAINTAINER= yuri@rawbw.com
COMMENT= PyNaCl is a Python binding to the Networking and Cryptography library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/lib/libnacl.a:${PORTSDIR}/security/nacl \
${PYTHON_PKGNAMEPREFIX}cffi>0:${PORTSDIR}/devel/py-cffi
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:${PORTSDIR}/devel/py-cffi
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nacl/_lib/_cffi__xfc5fefe5xfb751af7.so
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (PyNaCl-0.3.0.tar.gz) = 124997314455605f61afae6cf8b99b32d10f2dba22f114acb4c80d352eed76c2
SIZE (PyNaCl-0.3.0.tar.gz) = 2569604

View File

@ -0,0 +1,14 @@
--- setup.py.orig 2015-03-04 07:00:53 UTC
+++ setup.py
@@ -167,9 +167,10 @@ class build_clib(_build_clib):
build_temp = os.path.abspath(self.build_temp)
# Ensure our temporary build directory exists
+ print("YURI build_temp="+build_temp)
try:
os.makedirs(build_temp)
- except IOError:
+ except:
pass
# Ensure all of our executanle files have their permission set

View File

@ -0,0 +1,4 @@
PyNaCl is a Python binding to the Networking and Cryptography library, a crypto
library with the stated goal of improving usability, security and speed.
WWW: https://pypi.python.org/pypi/PyNaCl/