Skip to content
Snippets Groups Projects
Commit 270bea15 authored by Roberto Oliveira's avatar Roberto Oliveira
Browse files

community/py3-aiohttp: fix build in not x86 architectures

Manually remove _http_parser.cpython-36m-x86_64-linux-gnu.so shared
object that is shipped in source code and make strip fails in not
x86 architectures.

Bug opened upstream: https://github.com/aio-libs/aiohttp/issues/2414
parent ccc967e0
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,13 @@ check() { ...@@ -19,6 +19,13 @@ check() {
python3 setup.py check python3 setup.py check
} }
prepare() {
default_prepare
# Workaround to remove x86_64 .so file that is shipped in source
# and make strip fails in arches != from x86_64
rm "$srcdir"/aiohttp-2.3.1/aiohttp/_http_parser.cpython-36m-x86_64-linux-gnu.so
}
build() { build() {
cd "$builddir" cd "$builddir"
python3 setup.py build python3 setup.py build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment