Skip to content

Commit aadcfc4

Browse files
Recipe for argon2-cffi (kivy#2398)
* testing argon2-cffi * Using CompiledComponentsPythonRecipe * argon2-cffi recipe
1 parent 7f4652a commit aadcfc4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from pythonforandroid.recipe import CompiledComponentsPythonRecipe
2+
3+
4+
class Argon2Recipe(CompiledComponentsPythonRecipe):
5+
version = '20.1.0'
6+
url = 'git+https://github.com/hynek/argon2-cffi'
7+
depends = ['setuptools', 'cffi']
8+
call_hostpython_via_targetpython = False
9+
build_cmd = 'build'
10+
11+
def get_recipe_env(self, arch):
12+
env = super().get_recipe_env(arch)
13+
env['ARGON2_CFFI_USE_SSE2'] = '0'
14+
return env
15+
16+
17+
recipe = Argon2Recipe()

0 commit comments

Comments
 (0)