From 167aa0c7939818b8f27c44eddf745ccd40b2fcfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 4 May 2020 10:13:24 +0200 Subject: [PATCH] dev-python/pycurl: Rebuild test libs for current platform MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/720906 Signed-off-by: Michał Górny --- dev-python/pycurl/pycurl-7.43.0.5.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.26.2