Add bindep.txt file

This is used by  [0] to assess if needed system packages are
installed.
It should allow easier installation of Python packages on a clean
system from source and help packagers too.
For now it is just a copy/merge of
files with added platform specifiers.

Packages have been tagged with certain bindep profiles:
- test - needed to compile Python dependencies and for other tox targets,
  profile of this name is used by various gate jobs
- imagebuild - only needed to build various types of deploy ramdisk

Note that DevStack install procedure currently does not use 'bindep',
and still relies on files in  folder.

[0] http://docs.openstack.org/infra/bindep/index.html

Change-Id: I49c9e8314db4f7d778e3316d7f3b9de0fcf89cd3
This commit is contained in:
Vasyl Saienko 2017-10-12 12:58:43 +03:00
parent e87d039111
commit 09c9582213
1 changed files with 31 additions and 0 deletions

31
bindep.txt Normal file
View File

@ -0,0 +1,31 @@
# these are needed to compile Python dependencies from sources
python-dev [platform:dpkg test]
python3-all-dev [platform:dpkg !platform:ubuntu-precise test]
python-devel [platform:rpm test]
python3-devel [platform:rpm test]
build-essential [platform:dpkg test]
libssl-dev [platform:dpkg test]
# these are needed by infra for python-* jobs
# this is needed for compiling translations
gettext [test]
# these are needed to build a deploy ramdisk
# NOTE apparmor is an undeclared dependency for docker on ubuntu,
# see https://github.com/docker/docker/issues/9745
apparmor [platform:dpkg imagebuild]
docker.io [platform:dpkg imagebuild]
docker-io [platform:rpm imagebuild]
gnupg [imagebuild]
squashfs-tools [platform:dpkg platform:redhat imagebuild]
squashfs [platform:suse imagebuild]
libguestfs0 [platform:dpkg imagebuild]
libguestfs [platform:rpm imagebuild]
python-libguestfs [platform:dpkg imagebuild]
# for TinyIPA build
wget [imagebuild]
python-pip [imagebuild]
unzip [imagebuild]
sudo [imagebuild]
gawk [imagebuild]