From da6470d32f2bc11976e43582932ae8bf713aa883 Mon Sep 17 00:00:00 2001
From: Andreas Jaeger <aj@suse.com>
Date: Tue, 21 Nov 2017 21:06:13 +0100
Subject: [PATCH] Update bindep.txt for doc builds

https://governance.openstack.org/tc/reference/project-testing-interface.html#documentation
specifies that doc dependencies need the doc tag in bindep, use it.

Leave test environment in for transition period until we use the new
scripts.

Change-Id: I50e4c66097aefdfea1e7589b2ae67e262ae6a6d3
---
 bindep.txt | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/bindep.txt b/bindep.txt
index 5208c1cf34b..1b7d9901d9c 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -4,9 +4,12 @@
 
 build-essential [platform:dpkg test]
 gcc [platform:rpm test]
-gettext [!platform:suse]
-gettext-runtime [platform:suse]
-graphviz [test]
+# gettext and graphviz are needed by doc builds only. For transition,
+# have them in both doc and test.
+# TODO(jaegerandi): Remove test once infra scripts are updated.
+gettext [!platform:suse doc test]
+gettext-runtime [platform:suse doc test]
+graphviz [doc test]
 libffi-dev [platform:dpkg]
 libffi-devel [platform:redhat]
 libffi48-devel [platform:suse]