lbry-android-sdk/p4a/pythonforandroid/recipes/argon2-cffi/__init__.py
2022-12-02 15:15:34 -05:00

17 lines
470 B
Python

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()