Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- ansible/host_vars/libvirt-centos-6/main.yml | 1 + ansible/host_vars/libvirt-centos-7/main.yml | 1 + ansible/host_vars/libvirt-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/main.yml | 1 + ansible/host_vars/libvirt-fedora-25/main.yml | 1 + ansible/host_vars/libvirt-fedora-26/main.yml | 1 + ansible/host_vars/libvirt-fedora-rawhide/main.yml | 1 + ansible/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 16 ++++++++++++++++ ansible/vars/libvirt-python/CentOS-6.yml | 8 ++++++++ ansible/vars/libvirt-python/CentOS-7.yml | 8 ++++++++ ansible/vars/libvirt-python/Debian-8.yml | 8 ++++++++ ansible/vars/libvirt-python/Debian-9.yml | 8 ++++++++ ansible/vars/libvirt-python/Fedora-25.yml | 11 +++++++++++ ansible/vars/libvirt-python/Fedora-26.yml | 11 +++++++++++ ansible/vars/libvirt-python/Fedora-Rawhide.yml | 11 +++++++++++ ansible/vars/libvirt-python/FreeBSD-11.yml | 7 +++++++ ansible/vars/libvirt-python/Ubuntu-14.yml | 8 ++++++++ ansible/vars/libvirt-python/Ubuntu-16.yml | 8 ++++++++ 21 files changed, 114 insertions(+) create mode 100644 ansible/vars/libvirt-python/CentOS-6.yml create mode 100644 ansible/vars/libvirt-python/CentOS-7.yml create mode 100644 ansible/vars/libvirt-python/Debian-8.yml create mode 100644 ansible/vars/libvirt-python/Debian-9.yml create mode 100644 ansible/vars/libvirt-python/Fedora-25.yml create mode 100644 ansible/vars/libvirt-python/Fedora-26.yml create mode 100644 ansible/vars/libvirt-python/Fedora-Rawhide.yml create mode 100644 ansible/vars/libvirt-python/FreeBSD-11.yml create mode 100644 ansible/vars/libvirt-python/Ubuntu-14.yml create mode 100644 ansible/vars/libvirt-python/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-6/main.yml b/ansible/host_vars/libvirt-centos-6/main.yml index 61c8376..e959ecc 100644 --- a/ansible/host_vars/libvirt-centos-6/main.yml +++ b/ansible/host_vars/libvirt-centos-6/main.yml @@ -4,3 +4,4 @@ projects: - libvirt - libvirt-cim - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_vars/libvirt-centos-7/main.yml index 80b95f5..e4489ac 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_vars/libvirt-debian-8/main.yml index 1c2ecb5..2525b10 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_vars/libvirt-debian-9/main.yml index 1c2ecb5..2525b10 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_vars/libvirt-fedora-25/main.yml index 80b95f5..e4489ac 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_vars/libvirt-fedora-26/main.yml index 80b95f5..e4489ac 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/host_vars/libvirt-fedora-rawhide/main.yml index 80b95f5..e4489ac 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_vars/libvirt-freebsd-11/main.yml index 68dbbb2..cd3a373 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -14,3 +14,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_vars/libvirt-ubuntu-14/main.yml index 49ee186..ab712b2 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -4,3 +4,4 @@ projects: - libosinfo - libvirt - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_vars/libvirt-ubuntu-16/main.yml index 1c2ecb5..2525b10 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index 36fc1cc..351b60b 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -140,3 +140,19 @@ when: - project == 'libvirt-perl' - false + +# Python build + +- name: '{{ project }}: Build project' + command: python2 setup.py build + args: + chdir: '{{ project }}' + when: + - project == 'libvirt-python' + +- name: '{{ project }}: Run test suite' + command: python2 setup.py test + args: + chdir: '{{ project }}' + when: + - project == 'libvirt-python' diff --git a/ansible/vars/libvirt-python/CentOS-6.yml b/ansible/vars/libvirt-python/CentOS-6.yml new file mode 100644 index 0000000..7b618c8 --- /dev/null +++ b/ansible/vars/libvirt-python/CentOS-6.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-devel + - python-lxml + - python-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/CentOS-7.yml b/ansible/vars/libvirt-python/CentOS-7.yml new file mode 100644 index 0000000..7b618c8 --- /dev/null +++ b/ansible/vars/libvirt-python/CentOS-7.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-devel + - python-lxml + - python-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/Debian-8.yml b/ansible/vars/libvirt-python/Debian-8.yml new file mode 100644 index 0000000..1dce727 --- /dev/null +++ b/ansible/vars/libvirt-python/Debian-8.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-dev + - python-lxml + - python-nose + +extra_packages: + - libvirt-dev diff --git a/ansible/vars/libvirt-python/Debian-9.yml b/ansible/vars/libvirt-python/Debian-9.yml new file mode 100644 index 0000000..1dce727 --- /dev/null +++ b/ansible/vars/libvirt-python/Debian-9.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-dev + - python-lxml + - python-nose + +extra_packages: + - libvirt-dev diff --git a/ansible/vars/libvirt-python/Fedora-25.yml b/ansible/vars/libvirt-python/Fedora-25.yml new file mode 100644 index 0000000..3d350ac --- /dev/null +++ b/ansible/vars/libvirt-python/Fedora-25.yml @@ -0,0 +1,11 @@ +--- +packages: + - python2-devel + - python2-lxml + - python2-nose + - python3-devel + - python3-lxml + - python3-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/Fedora-26.yml b/ansible/vars/libvirt-python/Fedora-26.yml new file mode 100644 index 0000000..3d350ac --- /dev/null +++ b/ansible/vars/libvirt-python/Fedora-26.yml @@ -0,0 +1,11 @@ +--- +packages: + - python2-devel + - python2-lxml + - python2-nose + - python3-devel + - python3-lxml + - python3-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/Fedora-Rawhide.yml b/ansible/vars/libvirt-python/Fedora-Rawhide.yml new file mode 100644 index 0000000..3d350ac --- /dev/null +++ b/ansible/vars/libvirt-python/Fedora-Rawhide.yml @@ -0,0 +1,11 @@ +--- +packages: + - python2-devel + - python2-lxml + - python2-nose + - python3-devel + - python3-lxml + - python3-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/FreeBSD-11.yml b/ansible/vars/libvirt-python/FreeBSD-11.yml new file mode 100644 index 0000000..4d63637 --- /dev/null +++ b/ansible/vars/libvirt-python/FreeBSD-11.yml @@ -0,0 +1,7 @@ +--- +packages: + - py27-lxml + - py27-nose + +extra_packages: + - libvirt diff --git a/ansible/vars/libvirt-python/Ubuntu-14.yml b/ansible/vars/libvirt-python/Ubuntu-14.yml new file mode 100644 index 0000000..1dce727 --- /dev/null +++ b/ansible/vars/libvirt-python/Ubuntu-14.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-dev + - python-lxml + - python-nose + +extra_packages: + - libvirt-dev diff --git a/ansible/vars/libvirt-python/Ubuntu-16.yml b/ansible/vars/libvirt-python/Ubuntu-16.yml new file mode 100644 index 0000000..1dce727 --- /dev/null +++ b/ansible/vars/libvirt-python/Ubuntu-16.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-dev + - python-lxml + - python-nose + +extra_packages: + - libvirt-dev -- 2.13.6 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list