Clean up required packages

This patch does two things to clean up gate package requirements,
adding a bindep file and moving packages to the right location.

Bindep controls which system packages are installed. If a project
does not have a bindep.txt file present, the gate jobs will fall
back to a common list of packages. These include things like
mariadb and various clients that are not needed for specs repos.
Added a basic bindep.txt file with just the things we need to
ensure are present for building the docs in specs.

There are also plans to stop looking at requirements.txt for specs
since these repos do not install Python code. The two locations
that are looked at are test-requirements.txt for running included
tests, and doc/requirements.txt for anything needed for doc builds
such as sphinx and plugins.

Change-Id: I3a222d7eec32b0d5ae6ef4ad20b34603931e13d6
This commit is contained in:
Sean McGinnis 2017-11-17 16:44:15 -06:00
parent db66ea6100
commit 121d2b5355
4 changed files with 11 additions and 4 deletions

7
bindep.txt Normal file
View File

@ -0,0 +1,7 @@
# This is a cross-platform list tracking distribution packages needed for
# install and tests;
# see https://docs.openstack.org/infra/bindep/ for additional information.
gettext [!platform:suse]
gettext-runtime [platform:suse]
graphviz [test]

3
doc/requirements.txt Normal file
View File

@ -0,0 +1,3 @@
openstackdocstheme>=1.11.0
sphinx>=1.6.2 # BSD
yasfb>=0.5.1

View File

@ -1,8 +1,5 @@
openstackdocstheme>=1.11.0
pbr>=0.6,<1.0
sphinx>=1.6.2 # BSD
testrepository>=0.0.18
testtools>=0.9.34
flake8
yasfb>=0.5.1
doc8>=0.6.0 # Apache-2.0

View File

@ -8,7 +8,7 @@ usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
deps = -r{toxinidir}/test-requirements.txt
[testenv:docs]
whitelist_externals = rm