summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSachi King <nakato@nakato.io>2016-03-08 14:56:38 +1100
committerSachi King <nakato@nakato.io>2016-03-08 14:56:38 +1100
commit09c65298e5a5a65387f45b23f4f9e5f7c3467b08 (patch)
treefe2421f99a55ae17842fd27178c21f15cb2504c7 /tools
parentd19459daa8616dd18fde016c2970ffc41ff4ccdd (diff)
downloadpbr-09c65298e5a5a65387f45b23f4f9e5f7c3467b08.tar.gz
Use apt-cache generated packages to provide build deps
Apt config does not have sources anymore, so we copy apt-cache and run apt-get install ourselves to provide our dependencies Change-Id: Ie70cb124120d1012d38e5189044c21b83be20819
Diffstat (limited to 'tools')
-rw-r--r--tools/integration.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/integration.sh b/tools/integration.sh
index ad1e432..a7111be 100644
--- a/tools/integration.sh
+++ b/tools/integration.sh
@@ -33,8 +33,14 @@ sudo apt-get update
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 libkrb5-dev liberasurecode-dev libjpeg-dev
# FOR numpy / pyyaml
-sudo apt-get build-dep -y --force-yes python-numpy
-sudo apt-get build-dep -y --force-yes python-yaml
+# The source list has been removed from our apt config so rather than
+# installing deps via apt-get build-dep <PKG> we install the lists provied
+# by apt-cache showsrc <PKG>
+
+# Numpy
+sudo apt-get install -y --force-yes cython debhelper gfortran libblas-dev liblapack-dev python-all-dbg python-all-dev python-nose python-tz python3-all-dbg python3-all-dev python3-nose python3-tz
+#pyyaml
+sudo apt-get install -y --force-yes debhelper python-all-dev python-all-dbg python3-all-dev python3-all-dbg libyaml-dev cython cython-dbg quilt
# And use ccache explitly
export PATH=/usr/lib/ccache:$PATH