MFH: r476488 security/py-cryptography: Update to 2.3

This version update fixes builds with libressl >= 2.7.

Builds with openssl-devel are broken due to an underlying lang/python* port
issue [1].

Changelog:

  https://github.com/pyca/cryptography/blob/2.3/CHANGELOG.rst

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229223

PR:             226906
Submitted by:   Charli Li <ml+freebsd vishwin info>
Reported by:    many
Security:	9e2d0dcf-9926-11e8-a92d-0050562a4d7b

Approved by:	ports-secteam (miwi)
This commit is contained in:
Kubilay Kocak 2018-08-22 02:15:05 +00:00
parent 177783db53
commit 5ad7df4918
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q3/; revision=477764
2 changed files with 12 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= cryptography
PORTVERSION= 2.1.4
PORTVERSION= 2.3
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,13 +16,16 @@ LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE.BSD
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.7:devel/py-cffi@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.1:dns/py-idna@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}asn1crypto>=0.21.0:devel/py-asn1crypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cffi>=1.7:devel/py-cffi@${PY_FLAVOR} \
${PY_ENUM34} ${PY_IPADDRESS} \
${PYTHON_PKGNAMEPREFIX}idna>=2.1:dns/py-idna@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.9.0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601@${PY_FLAVOR}
${PY_ENUM34} ${PY_IPADDRESS}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR}
# Python 2.7, 3.4-3.6
USES= compiler:env python ssl

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1516631948
SHA256 (cryptography-2.1.4.tar.gz) = e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291
SIZE (cryptography-2.1.4.tar.gz) = 441557
TIMESTAMP = 1532336711
SHA256 (cryptography-2.3.tar.gz) = c132bab45d4bd0fff1d3fe294d92b0a6eb8404e93337b3127bdec9f21de117e6
SIZE (cryptography-2.3.tar.gz) = 449464