Merge pull request #214 from kiwix/icu_tar_gz

Get icu sources from an archive instead of svn.
This commit is contained in:
Matthieu Gautier 2018-07-11 14:04:10 +02:00 committed by GitHub
commit 362b70622f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View File

@ -1,20 +1,18 @@
from .base import ( from .base import (
Dependency, Dependency,
SvnClone, ReleaseDownload,
MakeBuilder MakeBuilder
) )
from kiwixbuild.utils import SkipCommand from kiwixbuild.utils import SkipCommand, Remotefile
from kiwixbuild._global import get_target_step from kiwixbuild._global import get_target_step
class Icu(Dependency): class Icu(Dependency):
name = "icu4c" name = "icu4c"
class Source(SvnClone): class Source(ReleaseDownload):
name = "icu4c" archive = Remotefile('icu4c_svn_58-2.tar.gz',
svn_remote = "http://source.icu-project.org/repos/icu/tags/release-58-2/icu4c" 'fd8fcc1f1b8b2b71b879e88844480ebec107189c21076c81573f71dca5686a0d')
svn_dir = "icu4c"
patches = ["icu4c_fix_static_lib_name_mingw.patch", patches = ["icu4c_fix_static_lib_name_mingw.patch",
"icu4c_android_elf64_st_info.patch", "icu4c_android_elf64_st_info.patch",
"icu4c_custom_data.patch", "icu4c_custom_data.patch",

View File

@ -10,7 +10,7 @@ main_project_versions = {
# This is the "version" of the whole base_deps_versions dict. # This is the "version" of the whole base_deps_versions dict.
# Change this when you change base_deps_versions. # Change this when you change base_deps_versions.
base_deps_meta_version = '9' base_deps_meta_version = '10'
base_deps_versions = { base_deps_versions = {