diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-18 12:29:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-18 12:29:25 +0200 |
commit | 177835dccf3aa1aa88aa4341606b05faac142f0f (patch) | |
tree | f62e7f90de24d011e5953f4113118d26167ad3f6 /dev-python/httplib2 | |
parent | games-emulation/m64py: Add bdep on dev-qt/linguist-tools (diff) | |
download | gentoo-177835dccf3aa1aa88aa4341606b05faac142f0f.tar.gz gentoo-177835dccf3aa1aa88aa4341606b05faac142f0f.tar.bz2 gentoo-177835dccf3aa1aa88aa4341606b05faac142f0f.zip |
dev-python/httplib2: Avoid optional cryptography dep
Closes: https://bugs.gentoo.org/845336
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/httplib2')
-rw-r--r-- | dev-python/httplib2/httplib2-0.20.4.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild b/dev-python/httplib2/httplib2-0.20.4.ebuild index bc4dff342200..afa4a1e94840 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 } |