Skip to content

Commit

Permalink
Recipe for argon2-cffi (#2398)
Browse files Browse the repository at this point in the history
* testing argon2-cffi
* Using CompiledComponentsPythonRecipe
* argon2-cffi recipe
  • Loading branch information
Arjun-Somvanshi authored Jan 5, 2021
1 parent 7f4652a commit aadcfc4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pythonforandroid/recipes/argon2-cffi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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()

0 comments on commit aadcfc4

Please sign in to comment.