mirror of
https://github.com/systemd/systemd
synced 2024-11-05 18:25:39 +00:00
meson, mkosi: pull in jinja2 as required
In preparation for subsequent changes.
This commit is contained in:
parent
be21b60b89
commit
e0698c66f4
7 changed files with 12 additions and 0 deletions
|
@ -41,6 +41,7 @@ BuildPackages=
|
|||
pkgconfig
|
||||
python
|
||||
python-lxml
|
||||
python-jinja
|
||||
qrencode
|
||||
rsync
|
||||
xz
|
||||
|
|
|
@ -51,6 +51,7 @@ BuildPackages=
|
|||
pkg-config
|
||||
python3
|
||||
python3-lxml
|
||||
python3-jinja2
|
||||
tree
|
||||
uuid-dev
|
||||
xsltproc
|
||||
|
|
|
@ -55,6 +55,7 @@ BuildPackages=
|
|||
pkgconfig
|
||||
python3-devel
|
||||
python3-lxml
|
||||
python3dist(jinja2)
|
||||
qrencode-devel
|
||||
rpm
|
||||
tpm2-tss-devel
|
||||
|
|
|
@ -37,6 +37,7 @@ BuildPackages=
|
|||
pcre-devel
|
||||
python3
|
||||
python3-lxml
|
||||
python3-jinja2
|
||||
qrencode-devel
|
||||
system-user-nobody
|
||||
systemd-sysvinit
|
||||
|
|
|
@ -54,6 +54,7 @@ BuildPackages=
|
|||
pkg-config
|
||||
python3
|
||||
python3-lxml
|
||||
python3-jinja2
|
||||
tree
|
||||
tzdata
|
||||
uuid-dev
|
||||
|
|
1
README
1
README
|
@ -190,6 +190,7 @@ REQUIREMENTS:
|
|||
gperf
|
||||
docbook-xsl (optional, required for documentation)
|
||||
xsltproc (optional, required for documentation)
|
||||
python-jinja2
|
||||
python-lxml (optional, required to build the indices)
|
||||
python >= 3.5
|
||||
meson >= 0.46 (>= 0.49 is required to build position-independent executables)
|
||||
|
|
|
@ -655,6 +655,12 @@ endif
|
|||
|
||||
############################################################
|
||||
|
||||
if run_command('python3', '-c', 'import jinja2').returncode() != 0
|
||||
error('python3 jinja2 missing')
|
||||
endif
|
||||
|
||||
############################################################
|
||||
|
||||
gperf = find_program('gperf')
|
||||
|
||||
gperf_test_format = '''
|
||||
|
|
Loading…
Reference in a new issue