File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
pythonforandroid/recipes/aiohttp Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
"""Build AIOHTTP"""
2
2
from typing import List
3
- from pythonforandroid .recipe import CythonRecipe # type: ignore
3
+ from pythonforandroid .recipe import CppCompiledComponentsPythonRecipe
4
4
5
-
6
- class AIOHTTPRecipe (CythonRecipe ): # type: ignore # pylint: disable=R0903
7
- """Build AIOHTTP"""
8
-
9
- version = "v3.6.2"
10
- url = "https://github.com/aio-libs/aiohttp/archive/{version}.zip"
5
+ class AIOHTTPRecipe (CppCompiledComponentsPythonRecipe ): # type: ignore # pylint: disable=R0903
6
+ url = "https://files.pythonhosted.org/packages/ff/4f/62d9859b7d4e6dc32feda67815c5f5ab4421e6909e48cbc970b6a40d60b7/aiohttp-3.8.3.tar.gz"
11
7
name = "aiohttp"
12
-
13
8
depends : List [str ] = ["setuptools" ]
9
+ call_hostpython_via_targetpython = False
10
+ install_in_hostpython = True
14
11
12
+ def get_recipe_env (self , arch ):
13
+ env = super ().get_recipe_env (arch )
14
+ env ['LDFLAGS' ] += ' -lc++_shared'
15
+ return env
15
16
16
17
recipe = AIOHTTPRecipe ()
You can’t perform that action at this time.
0 commit comments