From 87d099f8094d5fb2c78729adfc6df9c68f68b450 Mon Sep 17 00:00:00 2001 From: opacam Date: Thu, 15 Aug 2019 11:19:04 +0200 Subject: [PATCH 1/2] [recipes] Fix compilation for regex recipe The error was: build/other_builds/hostpython3/desktop/hostpython3/Include/Python.h:39:19: fatal error: crypt.h: No such file or directory --- pythonforandroid/recipes/regex/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pythonforandroid/recipes/regex/__init__.py b/pythonforandroid/recipes/regex/__init__.py index 9533905303..7acc481ef6 100644 --- a/pythonforandroid/recipes/regex/__init__.py +++ b/pythonforandroid/recipes/regex/__init__.py @@ -7,6 +7,7 @@ class RegexRecipe(CompiledComponentsPythonRecipe): url = 'https://pypi.python.org/packages/d1/23/5fa829706ee1d4452552eb32e0bfc1039553e01f50a8754c6f7152e85c1b/regex-{version}.tar.gz' depends = ['setuptools'] + call_hostpython_via_targetpython = False recipe = RegexRecipe() From 200550890953f5b59c7c759beadf2b9f4fa885ce Mon Sep 17 00:00:00 2001 From: opacam Date: Thu, 15 Aug 2019 11:20:24 +0200 Subject: [PATCH 2/2] [recipes] Update regex's recipe --- pythonforandroid/recipes/regex/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pythonforandroid/recipes/regex/__init__.py b/pythonforandroid/recipes/regex/__init__.py index 7acc481ef6..6ac914845f 100644 --- a/pythonforandroid/recipes/regex/__init__.py +++ b/pythonforandroid/recipes/regex/__init__.py @@ -3,8 +3,8 @@ class RegexRecipe(CompiledComponentsPythonRecipe): name = 'regex' - version = '2017.07.28' - url = 'https://pypi.python.org/packages/d1/23/5fa829706ee1d4452552eb32e0bfc1039553e01f50a8754c6f7152e85c1b/regex-{version}.tar.gz' + version = '2019.06.08' + url = 'https://pypi.python.org/packages/source/r/regex/regex-{version}.tar.gz' # noqa depends = ['setuptools'] call_hostpython_via_targetpython = False