From: Michał Górny Date: Mon, 4 May 2020 08:13:24 +0000 (+0200) Subject: dev-python/pycurl: Rebuild test libs for current platform X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=167aa0c7939818b8f27c44eddf745ccd40b2fcfd;p=gentoo.git dev-python/pycurl: Rebuild test libs for current platform Bug: https://bugs.gentoo.org/720906 Signed-off-by: Michał Górny --- diff --git a/dev-python/pycurl/pycurl-7.43.0.5.ebuild b/dev-python/pycurl/pycurl-7.43.0.5.ebuild index 83c007551994..4bfe4dc05192 100644 --- a/dev-python/pycurl/pycurl-7.43.0.5.ebuild +++ b/dev-python/pycurl/pycurl-7.43.0.5.ebuild @@ -59,6 +59,14 @@ python_configure_all() { export PYCURL_SSL_LIBRARY=${CURL_SSL/libressl/openssl} } +src_test() { + # upstream bundles precompiled amd64 libs + rm tests/fake-curl/libcurl/*.so || die + emake -C tests/fake-curl/libcurl + + distutils-r1_src_test +} + python_compile() { python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" distutils-r1_python_compile