Add zim-testing-suite dependency.

This commit is contained in:
Matthieu Gautier 2021-04-12 18:15:51 +02:00
parent 11a7ec4020
commit 2d3c5ed4c7
5 changed files with 24 additions and 3 deletions

View File

@ -25,6 +25,7 @@ from . import (
uuid,
xapian,
zim_tools,
zim_testing_suite,
zlib,
zstd
)

View File

@ -12,7 +12,7 @@ class AllBaseDependencies(Dependency):
class Builder(NoopBuilder):
@classmethod
def get_dependencies(cls, platformInfo, allDeps):
base_deps = ['zlib', 'lzma', 'zstd', 'xapian-core', 'pugixml', 'libcurl', 'icu4c', 'mustache', 'libmicrohttpd']
base_deps = ['zlib', 'lzma', 'zstd', 'xapian-core', 'pugixml', 'libcurl', 'icu4c', 'mustache', 'libmicrohttpd', 'zim-testing-suite']
# zimtools
# We do not build zimtools at all on "android" and "iOS"
if platformInfo.build not in ('android', 'iOS'):

View File

@ -14,7 +14,7 @@ class Libzim(Dependency):
class Builder(MesonBuilder):
test_option = "-t 8"
dependencies = ['lzma', 'zstd', 'xapian-core', 'icu4c']
dependencies = ['lzma', 'zstd', 'xapian-core', 'icu4c', 'zim-testing-suite']
strip_option = ''
@property

View File

@ -0,0 +1,19 @@
from .base import (
Dependency,
ReleaseDownload,
NoopBuilder
)
from kiwixbuild.utils import Remotefile
class ZimTestingSuite(Dependency):
name = "zim-testing-suite"
dont_skip = True
class Source(ReleaseDownload):
archive = Remotefile('zim-testing-suite-0.2.tar.gz',
'04a6db258a48a09ebf25fdf5856029f11269190467b46d54e02c26f2236e2b32',
'https://github.com/openzim/zim-testing-suite/releases/download/v0.2/zim-testing-suite-0.2.tar.gz')
Builder = NoopBuilder

View File

@ -39,7 +39,7 @@ release_versions = {
# This is the "version" of the whole base_deps_versions dict.
# Change this when you change base_deps_versions.
base_deps_meta_version = '71'
base_deps_meta_version = '72'
base_deps_versions = {
'zlib' : '1.2.8',
@ -60,4 +60,5 @@ base_deps_versions = {
'qt' : '5.10.1',
'qtwebengine' : '5.10.1',
'org.kde' : '5.12',
'zim-testing-suite': '0.2',
}