mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Add zim-testing-suite dependency.
This commit is contained in:
@ -25,6 +25,7 @@ from . import (
|
||||
uuid,
|
||||
xapian,
|
||||
zim_tools,
|
||||
zim_testing_suite,
|
||||
zlib,
|
||||
zstd
|
||||
)
|
||||
|
@ -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'):
|
||||
|
@ -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
|
||||
|
19
kiwixbuild/dependencies/zim_testing_suite.py
Normal file
19
kiwixbuild/dependencies/zim_testing_suite.py
Normal 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
|
@ -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',
|
||||
}
|
||||
|
Reference in New Issue
Block a user