Get icu sources from an archive instead of svn.

SVN checkout can be pretty long to do (especially if icu serveur is pretty
slow).

By downloading an archive on our own server, we avoid a spending too many
time downloading.

The archive is a simple targz of the SVN checkout.
This commit is contained in:
Matthieu Gautier 2018-07-11 11:00:55 +02:00
parent edc200095e
commit 0f389f7cc9
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 = {