Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2016 07:55:31 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405221 - in head/security: . py-pynacl py-pynacl/files
Message-ID:  <201601040755.u047tVm4098339@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Mon Jan  4 07:55:31 2016
New Revision: 405221
URL: https://svnweb.freebsd.org/changeset/ports/405221

Log:
  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>

Added:
  head/security/py-pynacl/
  head/security/py-pynacl/Makefile   (contents, props changed)
  head/security/py-pynacl/distinfo   (contents, props changed)
  head/security/py-pynacl/files/
  head/security/py-pynacl/files/patch-setup.py   (contents, props changed)
  head/security/py-pynacl/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Mon Jan  4 07:22:15 2016	(r405220)
+++ head/security/Makefile	Mon Jan  4 07:55:31 2016	(r405221)
@@ -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

Added: head/security/py-pynacl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pynacl/Makefile	Mon Jan  4 07:55:31 2016	(r405221)
@@ -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>

Added: head/security/py-pynacl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pynacl/distinfo	Mon Jan  4 07:55:31 2016	(r405221)
@@ -0,0 +1,2 @@
+SHA256 (PyNaCl-0.3.0.tar.gz) = 124997314455605f61afae6cf8b99b32d10f2dba22f114acb4c80d352eed76c2
+SIZE (PyNaCl-0.3.0.tar.gz) = 2569604

Added: head/security/py-pynacl/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pynacl/files/patch-setup.py	Mon Jan  4 07:55:31 2016	(r405221)
@@ -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

Added: head/security/py-pynacl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pynacl/pkg-descr	Mon Jan  4 07:55:31 2016	(r405221)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601040755.u047tVm4098339>