lbry-android-sdk/p4a/pythonforandroid/recipes/argon2-cffi/__init__.py

18 lines
470 B
Python
Raw Permalink Normal View History

2022-12-02 21:15:34 +01:00
from pythonforandroid.recipe import CompiledComponentsPythonRecipe
class Argon2Recipe(CompiledComponentsPythonRecipe):
version = '20.1.0'
url = 'git+https://github.com/hynek/argon2-cffi'
depends = ['setuptools', 'cffi']
call_hostpython_via_targetpython = False
build_cmd = 'build'
def get_recipe_env(self, arch):
env = super().get_recipe_env(arch)
env['ARGON2_CFFI_USE_SSE2'] = '0'
return env
recipe = Argon2Recipe()