Add librsvg2* to bindep and bindep env

76cbd2dbbb 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: I72aa8695c058989b4a1aa62cbb5d5fda2ce348ad
This commit is contained in:
Madhuri Kumari 2019-12-24 13:01:43 +05:30
parent aff01c6685
commit 51e791e954
2 changed files with 14 additions and 0 deletions

View File

@ -4,3 +4,7 @@ mysql-server [platform:dpkg]
# needed for psql
postgresql-client [platform:dpkg]
# libsrvg2 is needed for sphinxcontrib-svg2pdfconverter in docs builds.
librsvg2-tools [doc platform:rpm]
librsvg2-bin [doc platform:dpkg]

View File

@ -100,3 +100,13 @@ deps =
deps = -r{toxinidir}/test-requirements.txt
commands = bandit -r ironic_inspector -x test -n 5 -ll -c tools/bandit.yml
# This environment can be used to quickly validate that all needed system
# packages required to successfully execute test targets are installed
# 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