File tree 1 file changed +11
-7
lines changed
pythonforandroid/recipes/aiohttp
1 file changed +11
-7
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
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"
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"
11
9
name = "aiohttp"
12
-
13
10
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
14
18
15
19
16
20
recipe = AIOHTTPRecipe ()
You can’t perform that action at this time.
0 commit comments