Add bindep env and fix pdf doc generation
d95a4cd30fd73c47cb5798a5eb474eedac728e00 added the docs build requirement on sphinxcontrib-svg2pdfconverter which needs the native rsvg-convert command. This change adds the native package that provides that command to bindep.txt. Also adds bindep env in tox.ini Change-Id: I294cc2acf827a813f9ccc9794a640e70fe5fc126
This commit is contained in:
parent
d8f73d8fad
commit
00a771be12
3
bindep.txt
Normal file
3
bindep.txt
Normal file
@ -0,0 +1,3 @@
|
||||
# libsrvg2 is needed for sphinxcontrib-svg2pdfconverter in docs builds.
|
||||
librsvg2-tools [doc platform:rpm]
|
||||
librsvg2-bin [doc platform:dpkg]
|
10
tox.ini
10
tox.ini
@ -85,3 +85,13 @@ deps =
|
||||
-c{toxinidir}/lower-constraints.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
|
||||
# This environment can be used to quickly validate that all needed system
|
||||
# packages required to successfully execute test targets are installed
|
||||
[testenv:bindep]
|
||||
# Do not install any requirements. We want this to be fast and work even if
|
||||
# system dependencies are missing, since it's used to tell you what system
|
||||
# dependencies are missing! This also means that bindep must be installed
|
||||
# separately, outside of the requirements files.
|
||||
deps = bindep
|
||||
commands = bindep test
|
||||
|
Loading…
x
Reference in New Issue
Block a user