python-cryptography: update to 1.0

This commit is contained in:
Alessio Sergi 2015-08-15 01:33:33 +02:00
parent 9ccffc897f
commit f28b074bc3
2 changed files with 3 additions and 14 deletions

View file

@ -1,11 +0,0 @@
--- src/cryptography/hazmat/bindings/openssl/ec.py
+++ src/cryptography/hazmat/bindings/openssl/ec.py
@@ -390,7 +390,7 @@ static const long Cryptography_HAS_EC2M = 1;
#endif
#if defined(OPENSSL_NO_EC) || OPENSSL_VERSION_NUMBER < 0x1000200f || \
- defined(LIBRESSL_VERSION_NUMBER)
+ !defined(LIBRESSL_VERSION_NUMBER)
static const long Cryptography_HAS_EC_1_0_2 = 0;
const char *(*EC_curve_nid2nist)(int) = NULL;
#else

View file

@ -1,7 +1,7 @@
# Template file for 'python-cryptography'
pkgname=python-cryptography
version=0.9.3
revision=3
version=1.0
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="BSD, Apache-2.0"
distfiles="${PYPI_SITE}/c/cryptography/cryptography-${version}.tar.gz"
checksum=aed022f738dd9adb840d92960b0464ea1fbb222ba118938858eb93fe25151c2d
checksum=211c02fe77d791d7fc437227ba1c046268d5da665e05d8a53fc19f4f74c21001
python3.4-cryptography_package() {
depends="python3.4-setuptools python3.4-cffi python3.4-pyasn1