From f4ce3227761901b0e5b98bdf217ea4832ac0b96f Mon Sep 17 00:00:00 2001 From: Alistair Coles Date: Thu, 5 Nov 2020 12:00:04 +0000 Subject: [PATCH] Add librsvg2-* to bindep.txt Add the librsvg2-* package to bindep.txt. This package has been required to build docs since the Related-Change. The package is added to a new 'doc' profile in bindep.txt; if missing, the package will be reported by: bindep doc The 'doc' profile is added to the tox 'bindep' env command so that, if missing, the package will always be reported by: tox -e bindep Change-Id: I6c60c31ca8002133ab77f05f59359b25315b299c Related-Change: I26cefda80d3234df68d7152b404e0a71da74ab90 Closes-Bug: 1903038 --- bindep.txt | 3 +++ tox.ini | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bindep.txt b/bindep.txt index 4a02b1020c..b135464f9e 100644 --- a/bindep.txt +++ b/bindep.txt @@ -38,3 +38,6 @@ py-cffi [platform:apk] musl-dev [platform:apk] man-db [pep8] man [platform:rpm pep8] +# libsrvg2 is required to build docs +librsvg2-tools [doc platform:rpm] +librsvg2-bin [doc platform:dpkg] diff --git a/tox.ini b/tox.ini index f73886f58a..9127f34418 100644 --- a/tox.ini +++ b/tox.ini @@ -133,7 +133,7 @@ show-source = True # separately, outside of the requirements files. skip_install = True deps = bindep -commands = bindep test +commands = bindep test doc [testenv:releasenotes] basepython = python3