python-cryptography: update to 1.3.2

This commit is contained in:
Alessio Sergi 2016-05-05 10:05:05 +02:00
parent ce54a58903
commit 1782e566ef
2 changed files with 3 additions and 29 deletions

View File

@ -1,26 +0,0 @@
$OpenBSD: patch-src__cffi_src_build_openssl_py,v 1.1 2016/03/27 11:11:24 sthen Exp $
--- src/_cffi_src/build_openssl.py.orig Mon Mar 21 15:15:57 2016
+++ src/_cffi_src/build_openssl.py Sat Mar 26 14:24:56 2016
@@ -37,14 +37,6 @@ def _osx_libraries(build_static):
return ["ssl", "crypto"]
-_PRE_INCLUDE = """
-#include <openssl/e_os2.h>
-#if defined(OPENSSL_SYS_WINDOWS)
-#include <windows.h>
-#endif
-"""
-
-
ffi = build_ffi_for_binding(
module_name="_openssl",
module_prefix="_cffi_src.openssl.",
@@ -81,7 +73,6 @@ ffi = build_ffi_for_binding(
"pkcs7",
"callbacks",
],
- pre_include=_PRE_INCLUDE,
libraries=_get_openssl_libraries(sys.platform),
extra_link_args=extra_link_args(compiler_type()),
)

View File

@ -1,7 +1,7 @@
# Template file for 'python-cryptography'
pkgname=python-cryptography
version=1.3.1
revision=3
version=1.3.2
revision=1
wrksrc="cryptography-${version}"
build_style=python-module
python_versions="2.7 3.4"
@ -17,7 +17,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/pyca/cryptography"
license="3-clause-BSD, Apache-2.0"
distfiles="${PYPI_SITE}/c/cryptography/cryptography-${version}.tar.gz"
checksum=b4b36175e0f95ddc88435c26dbe3397edce48e2ff5fe41d504cdb3beddcd53e2
checksum=fbaafa8827966dc588ccb00be813d3149fa8de04aec96e418ea0fdd5f0312088
post_install() {
vlicense LICENSE