File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
pythonforandroid/recipes/icu Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ class ICURecipe(Recipe):
11
11
name = 'icu4c'
12
12
version = '57.1'
13
13
major_version = version .split ('.' )[0 ]
14
- url = ('http://download.icu-project.org/files/icu4c/'
15
- '{version}/icu4c-{version_underscore}-src.tgz' )
14
+ url = (
15
+ "https://github.com/unicode-org/icu/releases/download/"
16
+ "release-{version_hyphen}/icu4c-{version_underscore}-src.tgz"
17
+ )
16
18
17
19
depends = ['hostpython3' ] # installs in python
18
20
patches = ['disable-libs-version.patch' ]
@@ -34,7 +36,8 @@ def versioned_url(self):
34
36
return None
35
37
return self .url .format (
36
38
version = self .version ,
37
- version_underscore = self .version .replace ('.' , '_' ))
39
+ version_underscore = self .version .replace ('.' , '_' ),
40
+ version_hyphen = self .version .replace ('.' , '-' ))
38
41
39
42
def get_recipe_dir (self ):
40
43
"""
You can’t perform that action at this time.
0 commit comments