Add zim-testing-suite dependency.
This commit is contained in:
parent
11a7ec4020
commit
2d3c5ed4c7
|
@ -25,6 +25,7 @@ from . import (
|
||||||
uuid,
|
uuid,
|
||||||
xapian,
|
xapian,
|
||||||
zim_tools,
|
zim_tools,
|
||||||
|
zim_testing_suite,
|
||||||
zlib,
|
zlib,
|
||||||
zstd
|
zstd
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,7 +12,7 @@ class AllBaseDependencies(Dependency):
|
||||||
class Builder(NoopBuilder):
|
class Builder(NoopBuilder):
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_dependencies(cls, platformInfo, allDeps):
|
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
|
# zimtools
|
||||||
# We do not build zimtools at all on "android" and "iOS"
|
# We do not build zimtools at all on "android" and "iOS"
|
||||||
if platformInfo.build not in ('android', 'iOS'):
|
if platformInfo.build not in ('android', 'iOS'):
|
||||||
|
|
|
@ -14,7 +14,7 @@ class Libzim(Dependency):
|
||||||
|
|
||||||
class Builder(MesonBuilder):
|
class Builder(MesonBuilder):
|
||||||
test_option = "-t 8"
|
test_option = "-t 8"
|
||||||
dependencies = ['lzma', 'zstd', 'xapian-core', 'icu4c']
|
dependencies = ['lzma', 'zstd', 'xapian-core', 'icu4c', 'zim-testing-suite']
|
||||||
strip_option = ''
|
strip_option = ''
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
|
@ -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
|
|
@ -39,7 +39,7 @@ release_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 = '71'
|
base_deps_meta_version = '72'
|
||||||
|
|
||||||
base_deps_versions = {
|
base_deps_versions = {
|
||||||
'zlib' : '1.2.8',
|
'zlib' : '1.2.8',
|
||||||
|
@ -60,4 +60,5 @@ base_deps_versions = {
|
||||||
'qt' : '5.10.1',
|
'qt' : '5.10.1',
|
||||||
'qtwebengine' : '5.10.1',
|
'qtwebengine' : '5.10.1',
|
||||||
'org.kde' : '5.12',
|
'org.kde' : '5.12',
|
||||||
|
'zim-testing-suite': '0.2',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue