mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-03 01:17:45 +03:00
meson, mkosi: pull in jinja2 as required
In preparation for subsequent changes.
This commit is contained in:
parent
be21b60b89
commit
e0698c66f4
@ -41,6 +41,7 @@ BuildPackages=
|
|||||||
pkgconfig
|
pkgconfig
|
||||||
python
|
python
|
||||||
python-lxml
|
python-lxml
|
||||||
|
python-jinja
|
||||||
qrencode
|
qrencode
|
||||||
rsync
|
rsync
|
||||||
xz
|
xz
|
||||||
|
@ -51,6 +51,7 @@ BuildPackages=
|
|||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
python3-lxml
|
python3-lxml
|
||||||
|
python3-jinja2
|
||||||
tree
|
tree
|
||||||
uuid-dev
|
uuid-dev
|
||||||
xsltproc
|
xsltproc
|
||||||
|
@ -55,6 +55,7 @@ BuildPackages=
|
|||||||
pkgconfig
|
pkgconfig
|
||||||
python3-devel
|
python3-devel
|
||||||
python3-lxml
|
python3-lxml
|
||||||
|
python3dist(jinja2)
|
||||||
qrencode-devel
|
qrencode-devel
|
||||||
rpm
|
rpm
|
||||||
tpm2-tss-devel
|
tpm2-tss-devel
|
||||||
|
@ -37,6 +37,7 @@ BuildPackages=
|
|||||||
pcre-devel
|
pcre-devel
|
||||||
python3
|
python3
|
||||||
python3-lxml
|
python3-lxml
|
||||||
|
python3-jinja2
|
||||||
qrencode-devel
|
qrencode-devel
|
||||||
system-user-nobody
|
system-user-nobody
|
||||||
systemd-sysvinit
|
systemd-sysvinit
|
||||||
|
@ -54,6 +54,7 @@ BuildPackages=
|
|||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
python3-lxml
|
python3-lxml
|
||||||
|
python3-jinja2
|
||||||
tree
|
tree
|
||||||
tzdata
|
tzdata
|
||||||
uuid-dev
|
uuid-dev
|
||||||
|
1
README
1
README
@ -190,6 +190,7 @@ REQUIREMENTS:
|
|||||||
gperf
|
gperf
|
||||||
docbook-xsl (optional, required for documentation)
|
docbook-xsl (optional, required for documentation)
|
||||||
xsltproc (optional, required for documentation)
|
xsltproc (optional, required for documentation)
|
||||||
|
python-jinja2
|
||||||
python-lxml (optional, required to build the indices)
|
python-lxml (optional, required to build the indices)
|
||||||
python >= 3.5
|
python >= 3.5
|
||||||
meson >= 0.46 (>= 0.49 is required to build position-independent executables)
|
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 = find_program('gperf')
|
||||||
|
|
||||||
gperf_test_format = '''
|
gperf_test_format = '''
|
||||||
|
Loading…
Reference in New Issue
Block a user