File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
pythonforandroid/recipes/aiohttp Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 11"""Build AIOHTTP"""
22from typing import List
3- from pythonforandroid .recipe import CythonRecipe # type: ignore
3+ from pythonforandroid .recipe import CppCompiledComponentsPythonRecipe
44
55
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"
6+ class AIOHTTPRecipe (CppCompiledComponentsPythonRecipe ): # type: ignore # pylint: disable=R0903
7+ version = "3.8.3"
8+ url = "https://pypi.python.org/packages/source/a/aiohttp/aiohttp-{version}.tar.gz"
119 name = "aiohttp"
12-
1310 depends : List [str ] = ["setuptools" ]
11+ call_hostpython_via_targetpython = False
12+ install_in_hostpython = True
13+
14+ def get_recipe_env (self , arch ):
15+ env = super ().get_recipe_env (arch )
16+ env ['LDFLAGS' ] += ' -lc++_shared'
17+ return env
1418
1519
1620recipe = AIOHTTPRecipe ()
You can’t perform that action at this time.
0 commit comments