Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2017 14:22:59 +0000 (UTC)
From:      Ben Woods <woodsb02@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442838 - in head/security: . py-cryptography py3-cryptography
Message-ID:  <201706071422.v57EMx7G026993@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: woodsb02
Date: Wed Jun  7 14:22:58 2017
New Revision: 442838
URL: https://svnweb.freebsd.org/changeset/ports/442838

Log:
  [NEW] security/py3-cryptography: Create Python 3.x version of port
  
  The latest www/py-requests update [1] unbundled its dependencies, now
  requiring chardet, idna, urllib3 and certifi from ports.
  
  www/py3-requests port was not tested during QA, which would have highlighted
  the need for many new py3-* ports (and their dependencies).
  
  This change creates one of those ports.
  
  [1] https://svnweb.freebsd.org/changeset/ports/442565
  
  PR:		219833

Added:
  head/security/py3-cryptography/
  head/security/py3-cryptography/Makefile   (contents, props changed)
Modified:
  head/security/Makefile
  head/security/py-cryptography/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Wed Jun  7 13:55:24 2017	(r442837)
+++ head/security/Makefile	Wed Jun  7 14:22:58 2017	(r442838)
@@ -964,6 +964,7 @@
     SUBDIR += py-zope.session
     SUBDIR += py-zxcvbn-python
     SUBDIR += py3-certifi
+    SUBDIR += py3-cryptography
     SUBDIR += py3-libnacl
     SUBDIR += py3-pycrypto
     SUBDIR += qtkeychain-qt4

Modified: head/security/py-cryptography/Makefile
==============================================================================
--- head/security/py-cryptography/Makefile	Wed Jun  7 13:55:24 2017	(r442837)
+++ head/security/py-cryptography/Makefile	Wed Jun  7 14:22:58 2017	(r442838)
@@ -13,15 +13,15 @@ COMMENT=	Cryptographic recipes and primitives for Pyth
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.4.1:devel/py-cffi
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six \
+BUILD_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}cffi>=1.4.1:devel/py-cffi
+RUN_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six \
 		${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.8:devel/py-pyasn1 \
 		${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi \
 		${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
 		${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601
 
-USES=		python ssl
+USES?=		python ssl
 USE_PYTHON=	autoplist distutils
 
 CFLAGS+=	-I${OPENSSLINC}

Added: head/security/py3-cryptography/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py3-cryptography/Makefile	Wed Jun  7 14:22:58 2017	(r442838)
@@ -0,0 +1,14 @@
+# Created by: Philip Paeps <philip@FreeBSD.org>
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-cryptography
+
+BUILD_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}cffi>=1.4.1:devel/py3-cffi
+RUN_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py3-six \
+		${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.8:devel/py3-pyasn1 \
+		${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py3-cffi \
+		${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py3-idna
+
+USES=		python:3.3+ ssl
+
+.include "${MASTERDIR}/Makefile"



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