Skip to content

Commit

Permalink
recipe: update 'cryptography' and rm unnecessary dependencies
Browse files Browse the repository at this point in the history
- 'idna' no longer needed since version 2.5
- 'asn1crypto' no longer needed since version 2.8
- 'enum34' is just a backport of python 3.4+ functionality
- 'ipaddress' is just a backport of python 3.3+ functionality
  • Loading branch information
SomberNight committed Apr 3, 2020
1 parent b874e98 commit 8eeb596
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pythonforandroid/recipes/cryptography/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@

class CryptographyRecipe(CompiledComponentsPythonRecipe):
name = 'cryptography'
version = '2.6.1'
version = '2.8'
url = 'https://github.com/pyca/cryptography/archive/{version}.tar.gz'
depends = ['openssl', 'idna', 'asn1crypto', 'six', 'setuptools',
'enum34', 'ipaddress', 'cffi']
depends = ['openssl', 'six', 'setuptools', 'cffi']
call_hostpython_via_targetpython = False

def get_recipe_env(self, arch):
Expand Down

0 comments on commit 8eeb596

Please sign in to comment.