diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-04 10:13:24 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-04 10:34:36 +0200 |
commit | 167aa0c7939818b8f27c44eddf745ccd40b2fcfd (patch) | |
tree | 334f27e66f385f04f0d51f4814b8c6180942a673 /dev-python/pycurl | |
parent | sys-devel/clang: Checkout more test dependencies (diff) | |
download | gentoo-167aa0c7939818b8f27c44eddf745ccd40b2fcfd.tar.gz gentoo-167aa0c7939818b8f27c44eddf745ccd40b2fcfd.tar.bz2 gentoo-167aa0c7939818b8f27c44eddf745ccd40b2fcfd.zip |
dev-python/pycurl: Rebuild test libs for current platform
Bug: https://bugs.gentoo.org/720906
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pycurl')
-rw-r--r-- | dev-python/pycurl/pycurl-7.43.0.5.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
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 |