From 177835dccf3aa1aa88aa4341606b05faac142f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 18 May 2022 12:29:02 +0200 Subject: [PATCH] dev-python/httplib2: Avoid optional cryptography dep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/845336 Signed-off-by: Michał Górny --- dev-python/httplib2/httplib2-0.20.4.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild b/dev-python/httplib2/httplib2-0.20.4.ebuild index bc4dff342200d..afa4a1e948403 100644 --- a/dev-python/httplib2/httplib2-0.20.4.ebuild +++ b/dev-python/httplib2/httplib2-0.20.4.ebuild @@ -40,6 +40,8 @@ PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch ) src_prepare() { sed -i -e '/--cov/d' setup.cfg || die + # cryptography dep is entirely optional, and has a good fallback + sed -i -e 's:from cryptography.*:pass:' tests/__init__.py || die distutils-r1_src_prepare }