Browse Source

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
changes/91/700491/1
Madhuri Kumari 2 years ago
parent
commit
51e791e954
  1. 4
      bindep.txt
  2. 10
      tox.ini

4
bindep.txt

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

10
tox.ini

@ -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
[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…
Cancel
Save