mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/httplib2: Avoid optional cryptography dep
Closes: https://bugs.gentoo.org/845336 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user