Move integration test dependencies into bindep

bindep makes this a lot easier to work with as well as making it
possible to support Fedora, Suse etc as needed.

Change-Id: I4d19df8bbcd08e06edcf71ee51c30bb9c3d57fd0
This commit is contained in:
Robert Collins 2015-07-09 11:45:47 +12:00
parent f236298949
commit 4c028dba0a
2 changed files with 26 additions and 9 deletions

23
other-requirements.txt Normal file
View File

@ -0,0 +1,23 @@
# These are needed to build all the things in global-requirements, which we do
# for integration testing (see tools/integration.sh.
python-all-dev
python3-all-dev
libvirt-dev
libxml2-dev
libxslt-dev
libmysqlclient-dev
libpq-dev
libnspr4-dev
pkg-config
libsqlite3-dev
libzmq-dev
libffi-dev
libldap2-dev
libsasl2-dev
ccache
# NOTE(flaper87): Temporarly needed for proton
uuid-dev
swig
# Python things that change rarely and we're willing to risk breakage vs latest
python-numpy [python]
python-yaml [python]

View File

@ -25,15 +25,9 @@ BASE=${BASE:-/opt/stack}
REPODIR=${REPODIR:-$BASE/new}
# TODO: Figure out how to get this on to the box properly
sudo apt-get install -y --force-yes libvirt-dev libxml2-dev libxslt-dev libmysqlclient-dev libpq-dev libnspr4-dev pkg-config libsqlite3-dev libzmq-dev libffi-dev libldap2-dev libsasl2-dev ccache
# NOTE(flaper87): Temporarly needed for proton
sudo apt-get install -y --force-yes uuid-dev swig
# FOR numpy / pyyaml
sudo apt-get build-dep -y --force-yes python-numpy
sudo apt-get build-dep -y --force-yes python-yaml
root=$(dirname $0)/..
sudo -H pip install bindep
sudo apt-get install -y --force-yes $(bindep -b python -f $root/other-requirements.txt)
# And use ccache explitly
export PATH=/usr/lib/ccache:$PATH