dev-python/cryptography: Backport openssl 1.0.2g fix to stable ebuild

The replaces the patch by zx2c4 with a more flexible patch
from upstream. This ensures that the package can build against any
version of openssl in the tree.

Package-Manager: portage-2.2.27_p64
This commit is contained in:
Mike Gilbert
2016-03-01 22:18:21 -05:00
parent 349cd66916
commit 223f004279
2 changed files with 27 additions and 6 deletions
@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -43,6 +43,8 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
PATCHES=( "${FILESDIR}/${PN}-1.2.2-openssl-1.0.2g-mem_buf.patch" )
python_test() {
py.test -v -v -x || die "Tests fail with ${EPYTHON}"
}