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:
parent
2b0db1bb14
commit
cc39ba75ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405221
@ -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
|
||||
|
28
security/py-pynacl/Makefile
Normal file
28
security/py-pynacl/Makefile
Normal 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>
|
2
security/py-pynacl/distinfo
Normal file
2
security/py-pynacl/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (PyNaCl-0.3.0.tar.gz) = 124997314455605f61afae6cf8b99b32d10f2dba22f114acb4c80d352eed76c2
|
||||
SIZE (PyNaCl-0.3.0.tar.gz) = 2569604
|
14
security/py-pynacl/files/patch-setup.py
Normal file
14
security/py-pynacl/files/patch-setup.py
Normal 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
|
4
security/py-pynacl/pkg-descr
Normal file
4
security/py-pynacl/pkg-descr
Normal 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/
|
Loading…
Reference in New Issue
Block a user