File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55from os .path import join
66
77from pythonforandroid .logger import shprint
8- from pythonforandroid .patching import is_version_lt
98from pythonforandroid .recipe import Recipe
109from pythonforandroid .util import (
1110 BuildInterruptingException ,
@@ -45,9 +44,7 @@ class HostPython3Recipe(Recipe):
4544 '''The default url to download our host python recipe. This url will
4645 change depending on the python version set in attribute :attr:`version`.'''
4746
48- patches = (
49- ('patches/pyconfig_detection.patch' , is_version_lt ("3.8.3" )),
50- )
47+ patches = ['patches/pyconfig_detection.patch' ]
5148
5249 @property
5350 def _exe_name (self ):
Original file line number Diff line number Diff line change 99from shutil import copy2
1010
1111from pythonforandroid .logger import info , warning , shprint
12- from pythonforandroid .patching import version_starts_with , is_version_lt
12+ from pythonforandroid .patching import version_starts_with
1313from pythonforandroid .recipe import Recipe , TargetPythonRecipe
1414from pythonforandroid .util import (
1515 current_directory ,
@@ -61,7 +61,7 @@ class Python3Recipe(TargetPythonRecipe):
6161 name = 'python3'
6262
6363 patches = [
64- ( 'patches/pyconfig_detection.patch' , is_version_lt ( "3.8.3" )) ,
64+ 'patches/pyconfig_detection.patch' ,
6565
6666 # Python 3.7.1
6767 ('patches/py3.7.1_fix-ctypes-util-find-library.patch' , version_starts_with ("3.7" )),
You can’t perform that action at this time.
0 commit comments